Skip to content

Commit

Permalink
base: Update the include paths of base/string_piece.h to its new loca…
Browse files Browse the repository at this point in the history
…tion.

string_piece.h was moved into base/strings/ in r191206 -
https://chromiumcodereview.appspot.com/12982018/

TBR=brettw@chromium.org

Review URL: https://codereview.chromium.org/13374002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191508 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
tfarina@chromium.org committed Mar 30, 2013
1 parent e86df8d commit eb62f72
Show file tree
Hide file tree
Showing 42 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion base/android/jni_string.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "base/android/scoped_java_ref.h"
#include "base/base_export.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"

namespace base {
namespace android {
Expand Down
2 changes: 1 addition & 1 deletion base/base64.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <string>

#include "base/base_export.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"

namespace base {

Expand Down
2 changes: 1 addition & 1 deletion base/debug/crash_logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "base/base_export.h"
#include "base/basictypes.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"

// These functions add metadata to the upload payload when sending crash reports
// to the crash server.
Expand Down
2 changes: 1 addition & 1 deletion base/debug/debugger_posix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
#include "base/memory/scoped_ptr.h"
#include "base/posix/eintr_wrapper.h"
#include "base/safe_strerror_posix.h"
#include "base/string_piece.h"
#include "base/stringprintf.h"
#include "base/strings/string_piece.h"

#if defined(USE_SYMBOLIZE)
#include "base/third_party/symbolize/symbolize.h"
Expand Down
2 changes: 1 addition & 1 deletion base/file_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/string_piece.h"
#include "base/string_util.h"
#include "base/stringprintf.h"
#include "base/strings/string_piece.h"
#include "base/utf_string_conversions.h"

using base::FilePath;
Expand Down
2 changes: 1 addition & 1 deletion base/files/file_path.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

// These includes are just for the *Hack functions, and should be removed
// when those functions are removed.
#include "base/string_piece.h"
#include "base/string_util.h"
#include "base/strings/string_piece.h"
#include "base/strings/sys_string_conversions.h"
#include "base/utf_string_conversions.h"

Expand Down
2 changes: 1 addition & 1 deletion base/files/file_path.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
#include "base/compiler_specific.h"
#include "base/hash_tables.h"
#include "base/string16.h"
#include "base/string_piece.h" // For implicit conversions.
#include "base/strings/string_piece.h" // For implicit conversions.
#include "build/build_config.h"

// Windows-style drive letter support and pathname separator characters can be
Expand Down
2 changes: 1 addition & 1 deletion base/i18n/break_iterator_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#include "base/i18n/break_iterator.h"

#include "base/string_piece.h"
#include "base/stringprintf.h"
#include "base/strings/string_piece.h"
#include "base/utf_string_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"

Expand Down
2 changes: 1 addition & 1 deletion base/i18n/case_conversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "base/i18n/base_i18n_export.h"
#include "base/string16.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"

namespace base {
namespace i18n {
Expand Down
2 changes: 1 addition & 1 deletion base/i18n/icu_string_conversions_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "base/i18n/icu_string_conversions.h"
#include "base/logging.h"
#include "base/stringprintf.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"
#include "base/utf_string_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"

Expand Down
2 changes: 1 addition & 1 deletion base/json/json_parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
#include "base/float_util.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/string_piece.h"
#include "base/string_util.h"
#include "base/stringprintf.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_piece.h"
#include "base/strings/utf_string_conversion_utils.h"
#include "base/third_party/icu/icu_utf.h"
#include "base/utf_string_conversions.h"
Expand Down
2 changes: 1 addition & 1 deletion base/json/json_parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/json/json_reader.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"

#if !defined(OS_CHROMEOS)
#include "base/gtest_prod_util.h"
Expand Down
2 changes: 1 addition & 1 deletion base/json/json_reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include "base/base_export.h"
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"

namespace base {
class Value;
Expand Down
2 changes: 1 addition & 1 deletion base/json/json_reader_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/path_service.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"
#include "base/utf_string_conversions.h"
#include "base/values.h"
#include "build/build_config.h"
Expand Down
2 changes: 1 addition & 1 deletion base/json/json_value_converter.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "base/memory/scoped_vector.h"
#include "base/stl_util.h"
#include "base/string16.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"
#include "base/values.h"

// JSONValueConverter converts a JSON value into a C++ struct in a
Expand Down
2 changes: 1 addition & 1 deletion base/json/json_value_converter_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "base/json/json_reader.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"
#include "base/values.h"
#include "testing/gtest/include/gtest/gtest.h"

Expand Down
4 changes: 2 additions & 2 deletions base/logging.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ typedef HANDLE MutexHandle;
#if defined(OS_POSIX)
#include <errno.h>
#include <pthread.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#define MAX_PATH PATH_MAX
Expand All @@ -50,7 +50,7 @@ typedef pthread_mutex_t* MutexHandle;
#include "base/debug/debugger.h"
#include "base/debug/stack_trace.h"
#include "base/posix/eintr_wrapper.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"
#include "base/synchronization/lock_impl.h"
#include "base/threading/platform_thread.h"
#include "base/utf_string_conversions.h"
Expand Down
2 changes: 1 addition & 1 deletion base/mac/mac_util.mm
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#include "base/mac/scoped_cftyperef.h"
#include "base/memory/scoped_generic_obj.h"
#include "base/memory/scoped_nsobject.h"
#include "base/string_piece.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_piece.h"
#include "base/strings/sys_string_conversions.h"

namespace base {
Expand Down
2 changes: 1 addition & 1 deletion base/md5.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define BASE_MD5_H_

#include "base/base_export.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"

namespace base {

Expand Down
2 changes: 1 addition & 1 deletion base/metrics/stats_table.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#include "base/memory/scoped_ptr.h"
#include "base/process_util.h"
#include "base/shared_memory.h"
#include "base/string_piece.h"
#include "base/string_util.h"
#include "base/strings/string_piece.h"
#include "base/threading/platform_thread.h"
#include "base/threading/thread_local_storage.h"
#include "base/utf_string_conversions.h"
Expand Down
2 changes: 1 addition & 1 deletion base/metrics/stats_table_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "base/metrics/stats_table.h"
#include "base/shared_memory.h"
#include "base/stringprintf.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"
#include "base/test/multiprocess_test.h"
#include "base/threading/platform_thread.h"
#include "base/threading/simple_thread.h"
Expand Down
2 changes: 1 addition & 1 deletion base/os_compat_android.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#include <time64.h>

#include "base/rand_util.h"
#include "base/string_piece.h"
#include "base/stringprintf.h"
#include "base/strings/string_piece.h"

// There is no futimes() avaiable in Bionic, so we provide our own
// implementation until it is there.
Expand Down
2 changes: 1 addition & 1 deletion base/string_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/string16.h"
#include "base/string_piece.h" // For implicit conversions.
#include "base/strings/string_piece.h" // For implicit conversions.

// Safe standard library wrappers for all platforms.

Expand Down
2 changes: 1 addition & 1 deletion base/strings/string_number_conversions.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "base/base_export.h"
#include "base/basictypes.h"
#include "base/string16.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"

// ----------------------------------------------------------------------------
// IMPORTANT MESSAGE FROM YOUR SPONSOR
Expand Down
2 changes: 1 addition & 1 deletion base/strings/string_tokenizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <algorithm>
#include <string>

#include "base/string_piece.h"
#include "base/strings/string_piece.h"

namespace base {

Expand Down
2 changes: 1 addition & 1 deletion base/strings/sys_string_conversions.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "base/base_export.h"
#include "base/basictypes.h"
#include "base/string16.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"

#if defined(OS_MACOSX)
#include <CoreFoundation/CoreFoundation.h>
Expand Down
2 changes: 1 addition & 1 deletion base/strings/sys_string_conversions_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "base/mac/foundation_util.h"
#include "base/mac/scoped_cftyperef.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"

namespace base {

Expand Down
2 changes: 1 addition & 1 deletion base/strings/sys_string_conversions_posix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include <wchar.h>

#include "base/string_piece.h"
#include "base/strings/string_piece.h"
#include "base/utf_string_conversions.h"

namespace base {
Expand Down
2 changes: 1 addition & 1 deletion base/strings/sys_string_conversions_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <string>

#include "base/basictypes.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"
#include "base/strings/sys_string_conversions.h"
#include "base/test/scoped_locale.h"
#include "base/utf_string_conversions.h"
Expand Down
2 changes: 1 addition & 1 deletion base/strings/sys_string_conversions_win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include <windows.h>

#include "base/string_piece.h"
#include "base/strings/string_piece.h"

namespace base {

Expand Down
2 changes: 1 addition & 1 deletion base/strings/utf_offset_string_conversions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <algorithm>

#include "base/memory/scoped_ptr.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"
#include "base/strings/utf_string_conversion_utils.h"

namespace base {
Expand Down
2 changes: 1 addition & 1 deletion base/strings/utf_offset_string_conversions.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "base/base_export.h"
#include "base/string16.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"

namespace base {

Expand Down
2 changes: 1 addition & 1 deletion base/strings/utf_offset_string_conversions_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <algorithm>

#include "base/logging.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"
#include "base/strings/utf_offset_string_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"

Expand Down
2 changes: 1 addition & 1 deletion base/sys_info_android.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
#include <sys/system_properties.h>

#include "base/logging.h"
#include "base/string_piece.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_piece.h"

namespace {

Expand Down
2 changes: 1 addition & 1 deletion base/sys_info_chromeos.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/lazy_instance.h"
#include "base/string_piece.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_piece.h"
#include "base/strings/string_tokenizer.h"
#include "base/threading/thread_restrictions.h"

Expand Down
2 changes: 1 addition & 1 deletion base/test/expectations/expectation.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "base/base_export.h"
#include "base/compiler_specific.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"

namespace test_expectations {

Expand Down
2 changes: 1 addition & 1 deletion base/test/expectations/parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <string>

#include "base/basictypes.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"
#include "base/test/expectations/expectation.h"

namespace test_expectations {
Expand Down
2 changes: 1 addition & 1 deletion base/test/values_test_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <string>

#include "base/memory/scoped_ptr.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"

namespace base {
class DictionaryValue;
Expand Down
2 changes: 1 addition & 1 deletion base/utf_string_conversions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#include "base/utf_string_conversions.h"

#include "base/string_piece.h"
#include "base/string_util.h"
#include "base/strings/string_piece.h"
#include "base/strings/utf_string_conversion_utils.h"

using base::PrepareForUTF8Output;
Expand Down
2 changes: 1 addition & 1 deletion base/utf_string_conversions.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include "base/base_export.h"
#include "base/string16.h"
#include "base/string_piece.h"
#include "base/strings/string_piece.h"

// These convert between UTF-8, -16, and -32 strings. They are potentially slow,
// so avoid unnecessary conversions. The low-level versions return a boolean
Expand Down
2 changes: 1 addition & 1 deletion base/utf_string_conversions_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#include "base/basictypes.h"
#include "base/logging.h"
#include "base/string_piece.h"
#include "base/string_util.h"
#include "base/strings/string_piece.h"
#include "base/utf_string_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"

Expand Down
Loading

0 comments on commit eb62f72

Please sign in to comment.