Skip to content

Commit

Permalink
Remove include of base/containers/hash_tables.h except base/
Browse files Browse the repository at this point in the history
Added some unordered_map/unordered_set include instead to fix build.

Bug: 576864
TBR: thakis@chromium.org
Change-Id: I8a23d908af392ced8fb2df0073e64e8020acc5fd
Reviewed-on: https://chromium-review.googlesource.com/c/1398161
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#620639}
  • Loading branch information
Takuto Ikuta authored and Commit Bot committed Jan 8, 2019
1 parent eb51178 commit fc262dc
Show file tree
Hide file tree
Showing 193 changed files with 13 additions and 194 deletions.
1 change: 0 additions & 1 deletion android_webview/browser/aw_permission_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

#include "android_webview/browser/aw_browser_permission_request_delegate.h"
#include "base/callback.h"
#include "base/containers/hash_tables.h"
#include "base/logging.h"
#include "content/public/browser/permission_controller.h"
#include "content/public/browser/permission_type.h"
Expand Down
1 change: 0 additions & 1 deletion android_webview/browser/icon_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <string>
#include <unordered_set>

#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "content/public/browser/reload_type.h"
#include "content/public/browser/web_contents_observer.h"
Expand Down
3 changes: 2 additions & 1 deletion chrome/browser/browsing_data/canonical_cookie_hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@

#include <stddef.h>

#include "base/containers/hash_tables.h"
#include <unordered_set>

#include "net/cookies/canonical_cookie.h"

namespace canonical_cookie {
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/engagement/important_sites_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <unordered_set>
#include <utility>

#include "base/containers/hash_tables.h"
#include "base/metrics/histogram_macros.h"
#include "base/stl_util.h"
#include "base/time/time.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/extensions/activity_log/counting_policy.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <string>

#include "base/containers/hash_tables.h"
#include "base/gtest_prod_util.h"
#include "chrome/browser/extensions/activity_log/activity_database.h"
#include "chrome/browser/extensions/activity_log/activity_log_policy.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <vector>

#include "base/callback.h"
#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "chrome/browser/extensions/api/declarative_content/content_predicate_evaluator.h"
#include "content/public/browser/notification_observer.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/history/android/android_provider_backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <memory>
#include <set>

#include "base/containers/hash_tables.h"
#include "base/files/file_path.h"
#include "base/gtest_prod_util.h"
#include "base/macros.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/media/router/mojo/media_router_mojo_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <unordered_map>
#include <vector>

#include "base/containers/hash_tables.h"
#include "base/gtest_prod_util.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/profiles/off_the_record_profile_io_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <string>

#include "base/callback.h"
#include "base/containers/hash_tables.h"
#include "base/files/file_path.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/profiles/profile.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <string>

#include "base/containers/hash_tables.h"
#include "base/logging.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/profiles/profile_impl_io_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_

#include "base/callback.h"
#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "chrome/browser/custom_handlers/protocol_handler_registry.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/profiles/profile_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <memory>
#include <vector>

#include "base/containers/hash_tables.h"
#include "base/files/file_path.h"
#include "base/gtest_prod_util.h"
#include "base/macros.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/profiles/storage_partition_descriptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#ifndef CHROME_BROWSER_PROFILES_STORAGE_PARTITION_DESCRIPTOR_H_
#define CHROME_BROWSER_PROFILES_STORAGE_PARTITION_DESCRIPTOR_H_

#include "base/containers/hash_tables.h"
#include "base/files/file_path.h"

// This structure combines a StoragePartition's on-disk path and a boolean for
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/safe_browsing/browser_feature_extractor.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <vector>

#include "base/callback.h"
#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/task/cancelable_task_tracker.h"
#include "base/time/time.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include <memory>

#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/safe_browsing/incident_reporting/incident_receiver.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <string>
#include <vector>

#include "base/containers/hash_tables.h"
#include "base/files/file_path.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/sync_file_system/subtree_set.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <unordered_map>

#include "base/containers/hash_tables.h"
#include "base/files/file_path.h"

namespace base {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <unordered_set>
#include <vector>

#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/strings/string16.h"
#include "ui/base/glib/glib_integers.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/ui/media_router/query_result_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <unordered_set>
#include <utility>

#include "base/containers/hash_tables.h"
#include "base/stl_util.h"
#include "chrome/browser/media/router/media_router.h"
#include "chrome/browser/media/router/media_sinks_observer.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "chrome/browser/ui/media_router/query_result_manager.h"

#include "base/bind.h"
#include "base/containers/hash_tables.h"
#include "base/json/json_writer.h"
#include "base/macros.h"
#include "chrome/browser/media/router/media_sinks_observer.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include "ash/public/interfaces/wallpaper.mojom.h"
#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/containers/hash_tables.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/metrics/histogram_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include <unordered_set>

#include "base/callback.h"
#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

#include "base/bind.h"
#include "base/callback.h"
#include "base/containers/hash_tables.h"
#include "base/location.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/renderer/safe_browsing/scorer.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <string>
#include <unordered_set>

#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/strings/string_piece.h"
#include "chrome/common/safe_browsing/client_model.pb.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/renderer/safe_browsing/scorer_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <memory>
#include <unordered_set>

#include "base/containers/hash_tables.h"
#include "base/files/file_path.h"
#include "base/files/scoped_temp_dir.h"
#include "base/format_macros.h"
Expand Down
1 change: 0 additions & 1 deletion chromeos/cryptohome/async_method_caller.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "chromeos/cryptohome/async_method_caller.h"

#include "base/bind.h"
#include "base/containers/hash_tables.h"
#include "base/location.h"
#include "base/macros.h"
#include "base/optional.h"
Expand Down
1 change: 0 additions & 1 deletion chromeos/cryptohome/cryptohome_parameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <string>
#include <vector>

#include "base/containers/hash_tables.h"
#include "chromeos/chromeos_export.h"
#include "chromeos/dbus/cryptohome/rpc.pb.h"
#include "chromeos/login/auth/challenge_response_key.h"
Expand Down
1 change: 0 additions & 1 deletion components/account_id/account_id.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <ostream>
#include <string>

#include "base/containers/hash_tables.h"

enum class AccountType { UNKNOWN, GOOGLE, ACTIVE_DIRECTORY };

Expand Down
1 change: 0 additions & 1 deletion components/bookmarks/browser/bookmark_model_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "base/base_paths.h"
#include "base/command_line.h"
#include "base/compiler_specific.h"
#include "base/containers/hash_tables.h"
#include "base/files/scoped_temp_dir.h"
#include "base/run_loop.h"
#include "base/stl_util.h"
Expand Down
1 change: 0 additions & 1 deletion components/bookmarks/browser/bookmark_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <utility>

#include "base/bind.h"
#include "base/containers/hash_tables.h"
#include "base/files/file_path.h"
#include "base/i18n/case_conversion.h"
#include "base/i18n/string_search.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <vector>

#include "base/callback.h"
#include "base/containers/hash_tables.h"
#include "base/containers/linked_list.h"
#include "base/macros.h"
#include "base/trace_event/process_memory_dump.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <vector>

#include "base/callback.h"
#include "base/containers/hash_tables.h"
#include "base/format_macros.h"
#include "base/macros.h"
#include "base/memory/discardable_memory_allocator.h"
Expand Down
1 change: 0 additions & 1 deletion components/dom_distiller/core/distilled_content_store.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <unordered_map>

#include "base/bind.h"
#include "base/containers/hash_tables.h"
#include "base/containers/mru_cache.h"
#include "base/macros.h"
#include "components/dom_distiller/core/article_entry.h"
Expand Down
1 change: 0 additions & 1 deletion components/dom_distiller/core/distiller.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <vector>

#include "base/callback.h"
#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
Expand Down
1 change: 0 additions & 1 deletion components/dom_distiller/core/dom_distiller_model.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <unordered_map>
#include <vector>

#include "base/containers/hash_tables.h"
#include "base/containers/id_map.h"
#include "base/macros.h"
#include "components/dom_distiller/core/article_entry.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include "base/bind.h"
#include "base/callback.h"
#include "base/containers/hash_tables.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/test/scoped_task_environment.h"
Expand Down
1 change: 0 additions & 1 deletion components/dom_distiller/core/dom_distiller_store.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <string>
#include <vector>

#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
Expand Down
1 change: 0 additions & 1 deletion components/drive/resource_metadata_storage.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <utility>

#include "base/bind.h"
#include "base/containers/hash_tables.h"
#include "base/files/file_util.h"
#include "base/location.h"
#include "base/logging.h"
Expand Down
1 change: 0 additions & 1 deletion components/favicon/core/favicon_service_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

#include "base/callback.h"
#include "base/containers/flat_set.h"
#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/task/cancelable_task_tracker.h"
Expand Down
1 change: 0 additions & 1 deletion components/history/core/browser/history_database.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <vector>

#include "base/command_line.h"
#include "base/containers/hash_tables.h"
#include "base/files/file_util.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
Expand Down
1 change: 0 additions & 1 deletion components/omnibox/browser/in_memory_url_index_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <vector>

#include "base/containers/flat_set.h"
#include "base/containers/hash_tables.h"
#include "base/strings/string16.h"
#include "components/history/core/browser/history_types.h"
#include "url/gurl.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
#include <string>
#include <vector>

#include "base/containers/hash_tables.h"
#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
Expand Down
1 change: 0 additions & 1 deletion components/policy/core/browser/url_blacklist_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <string>

#include "base/compiler_specific.h"
#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
Expand Down
1 change: 0 additions & 1 deletion components/policy/core/common/policy_namespace.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <string>
#include <vector>

#include "base/containers/hash_tables.h"
#include "components/policy/policy_export.h"

namespace policy {
Expand Down
1 change: 0 additions & 1 deletion components/prefs/pref_notifier_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/observer_list.h"
#include "base/threading/thread_checker.h"
Expand Down
1 change: 0 additions & 1 deletion components/prefs/pref_registry.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <set>
#include <unordered_map>

#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "components/prefs/pref_value_map.h"
Expand Down
1 change: 0 additions & 1 deletion components/prefs/pref_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/observer_list.h"
Expand Down
1 change: 0 additions & 1 deletion components/safe_browsing/browser/threat_details.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <unordered_set>
#include <vector>

#include "base/containers/hash_tables.h"
#include "base/gtest_prod_util.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
Expand Down
Loading

0 comments on commit fc262dc

Please sign in to comment.