Skip to content

Commit

Permalink
Cleanup: Use base/files/file_util.h instead of base/file_util.h in ap…
Browse files Browse the repository at this point in the history
…ps/ and extensions/

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

Cr-Commit-Position: refs/heads/master@{#294136}
  • Loading branch information
leizleiz authored and Commit bot committed Sep 10, 2014
1 parent 1dcb3ab commit 9471270
Show file tree
Hide file tree
Showing 30 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion apps/app_shim/app_shim_host_manager_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#include "base/base64.h"
#include "base/bind.h"
#include "base/command_line.h"
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/logging.h"
#include "base/path_service.h"
#include "base/sha1.h"
Expand Down
4 changes: 2 additions & 2 deletions apps/app_shim/chrome_main_app_mode_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/file_util.h"
#include "base/files/file_util.h"
#include "base/logging.h"
#include "base/mac/bundle_locations.h"
#include "base/mac/foundation_util.h"
Expand All @@ -37,8 +37,8 @@
#include "ipc/ipc_channel_proxy.h"
#include "ipc/ipc_listener.h"
#include "ipc/ipc_message.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"

namespace {

Expand Down
2 changes: 1 addition & 1 deletion apps/app_shim/unix_domain_socket_acceptor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "apps/app_shim/unix_domain_socket_acceptor.h"

#include "base/file_util.h"
#include "base/files/file_util.h"
#include "base/files/scoped_file.h"
#include "base/logging.h"
#include "ipc/unix_domain_socket_util.h"
Expand Down
2 changes: 1 addition & 1 deletion apps/launcher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#include <utility>

#include "base/command_line.h"
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/strings/string_util.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "extensions/browser/api/storage/leveldb_settings_storage_factory.h"

#include "base/file_util.h"
#include "base/files/file_util.h"
#include "base/logging.h"
#include "extensions/browser/value_store/leveldb_value_store.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// found in the LICENSE file.

#include "base/bind.h"
#include "base/file_util.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
Expand Down
2 changes: 1 addition & 1 deletion extensions/browser/computed_hashes.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#include "extensions/browser/computed_hashes.h"

#include "base/base64.h"
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base/stl_util.h"
Expand Down
2 changes: 1 addition & 1 deletion extensions/browser/content_hash_fetcher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
#include <algorithm>

#include "base/base64.h"
#include "base/file_util.h"
#include "base/files/file_enumerator.h"
#include "base/files/file_util.h"
#include "base/json/json_reader.h"
#include "base/memory/ref_counted.h"
#include "base/metrics/histogram.h"
Expand Down
2 changes: 1 addition & 1 deletion extensions/browser/content_hash_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "extensions/browser/content_hash_reader.h"

#include "base/base64.h"
#include "base/file_util.h"
#include "base/files/file_util.h"
#include "base/json/json_reader.h"
#include "base/metrics/histogram.h"
#include "base/strings/string_util.h"
Expand Down
2 changes: 1 addition & 1 deletion extensions/browser/extension_protocols.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

#include "base/base64.h"
#include "base/compiler_specific.h"
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/format_macros.h"
#include "base/logging.h"
#include "base/memory/weak_ptr.h"
Expand Down
2 changes: 1 addition & 1 deletion extensions/browser/file_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "extensions/browser/file_reader.h"

#include "base/bind.h"
#include "base/file_util.h"
#include "base/files/file_util.h"
#include "base/message_loop/message_loop.h"
#include "content/public/browser/browser_thread.h"

Expand Down
2 changes: 1 addition & 1 deletion extensions/browser/file_reader_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/message_loop/message_loop.h"
#include "base/path_service.h"
#include "components/crx_file/id_util.h"
Expand Down
2 changes: 1 addition & 1 deletion extensions/browser/image_loader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/file_util.h"
#include "base/files/file_util.h"
#include "base/strings/string_number_conversions.h"
#include "base/threading/sequenced_worker_pool.h"
#include "content/public/browser/browser_thread.h"
Expand Down
2 changes: 1 addition & 1 deletion extensions/browser/value_store/leveldb_value_store.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "extensions/browser/value_store/leveldb_value_store.h"

#include "base/file_util.h"
#include "base/files/file_util.h"
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base/logging.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#include "extensions/browser/value_store/value_store_unittest.h"

#include "base/file_util.h"
#include "base/files/file_enumerator.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/memory/ref_counted.h"
#include "base/message_loop/message_loop.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/file_util.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
Expand Down
2 changes: 1 addition & 1 deletion extensions/browser/verified_contents.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "extensions/browser/verified_contents.h"

#include "base/base64.h"
#include "base/file_util.h"
#include "base/files/file_util.h"
#include "base/json/json_reader.h"
#include "base/strings/string_util.h"
#include "base/values.h"
Expand Down
2 changes: 1 addition & 1 deletion extensions/browser/verified_contents_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <vector>

#include "base/base64.h"
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/path_service.h"
#include "base/stl_util.h"
#include "extensions/browser/verified_contents.h"
Expand Down
2 changes: 1 addition & 1 deletion extensions/common/extension_l10n_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include <string>
#include <vector>

#include "base/file_util.h"
#include "base/files/file_enumerator.h"
#include "base/files/file_util.h"
#include "base/json/json_file_value_serializer.h"
#include "base/logging.h"
#include "base/memory/linked_ptr.h"
Expand Down
2 changes: 1 addition & 1 deletion extensions/common/extension_l10n_util_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/memory/linked_ptr.h"
#include "base/memory/scoped_ptr.h"
Expand Down
2 changes: 1 addition & 1 deletion extensions/common/extension_paths.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "extensions/common/extension_paths.h"

#include "base/file_util.h"
#include "base/files/file_util.h"
#include "base/path_service.h"

namespace extensions {
Expand Down
2 changes: 1 addition & 1 deletion extensions/common/extension_resource.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "extensions/common/extension_resource.h"

#include "base/file_util.h"
#include "base/files/file_util.h"
#include "base/logging.h"
#include "base/threading/thread_restrictions.h"

Expand Down
2 changes: 1 addition & 1 deletion extensions/common/extension_resource_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include <algorithm>

#include "base/file_util.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/path_service.h"
#include "components/crx_file/id_util.h"
Expand Down
2 changes: 1 addition & 1 deletion extensions/common/file_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#include <utility>
#include <vector>

#include "base/file_util.h"
#include "base/files/file_enumerator.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/json/json_file_value_serializer.h"
#include "base/logging.h"
Expand Down
2 changes: 1 addition & 1 deletion extensions/common/file_util_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "extensions/common/file_util.h"

#include "base/basictypes.h"
#include "base/file_util.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/json/json_string_value_serializer.h"
#include "base/path_service.h"
Expand Down
2 changes: 1 addition & 1 deletion extensions/common/manifest_handlers/background_info.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "extensions/common/manifest_handlers/background_info.h"

#include "base/command_line.h"
#include "base/file_util.h"
#include "base/files/file_util.h"
#include "base/lazy_instance.h"
#include "base/memory/scoped_ptr.h"
#include "base/strings/string_number_conversions.h"
Expand Down
2 changes: 1 addition & 1 deletion extensions/common/manifest_handlers/icons_handler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "extensions/common/manifest_handlers/icons_handler.h"

#include "base/file_util.h"
#include "base/files/file_util.h"
#include "base/lazy_instance.h"
#include "base/memory/scoped_ptr.h"
#include "base/strings/string_number_conversions.h"
Expand Down
2 changes: 1 addition & 1 deletion extensions/renderer/module_system_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#include <string>

#include "base/callback.h"
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/lazy_instance.h"
#include "base/memory/scoped_ptr.h"
#include "base/path_service.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#include "extensions/shell/browser/default_shell_browser_main_delegate.h"

#include "base/command_line.h"
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "extensions/shell/browser/shell_desktop_controller.h"
#include "extensions/shell/browser/shell_extension_system.h"
#include "extensions/shell/common/switches.h"
Expand Down
2 changes: 1 addition & 1 deletion extensions/shell/browser/shell_extension_system.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

#include <string>

#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_details.h"
Expand Down

0 comments on commit 9471270

Please sign in to comment.