Skip to content

Commit

Permalink
Delete unused unordered_map includes.
Browse files Browse the repository at this point in the history
This CL is mechanically generated as follows:

git ls-files '*.h' | xargs grep -l '^#include <unordered_map>$' | \
    xargs grep -L 'std::unordered_.*map' > to_process.txt

cat to_process.txt | xargs sed -i '/^#include <unordered_map>$/d'
cat to_process.txt | xargs sed -i '/^$/N;/^\n$/D'

Bug: 1200833
Change-Id: I79a62200f069e2de642c5e589d53b1c60294a13c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2859064
Commit-Queue: Lei Zhang <thestig@chromium.org>
Owners-Override: Lei Zhang <thestig@chromium.org>
Reviewed-by: Peter Boström <pbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#878135}
  • Loading branch information
leizleiz authored and Chromium LUCI CQ committed Apr 30, 2021
1 parent 2a85b8e commit 949709f
Show file tree
Hide file tree
Showing 50 changed files with 0 additions and 57 deletions.
2 changes: 0 additions & 2 deletions ash/public/cpp/external_arc/overlay/arc_overlay_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
#ifndef ASH_PUBLIC_CPP_EXTERNAL_ARC_OVERLAY_ARC_OVERLAY_MANAGER_H_
#define ASH_PUBLIC_CPP_EXTERNAL_ARC_OVERLAY_ARC_OVERLAY_MANAGER_H_

#include <unordered_map>

#include "ash/public/cpp/ash_public_export.h"
#include "base/callback_helpers.h"
#include "base/containers/flat_map.h"
Expand Down
1 change: 0 additions & 1 deletion base/task/sequence_manager/sequence_manager_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <random>
#include <set>
#include <string>
#include <unordered_map>
#include <utility>

#include "base/atomic_sequence_num.h"
Expand Down
1 change: 0 additions & 1 deletion base/trace_event/trace_event_memory_overhead.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <stdint.h>

#include <string>
#include <unordered_map>

#include "base/base_export.h"

Expand Down
1 change: 0 additions & 1 deletion cc/layers/layer.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <memory>
#include <set>
#include <string>
#include <unordered_map>
#include <vector>

#include "base/auto_reset.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/accessibility/caption_controller.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#define CHROME_BROWSER_ACCESSIBILITY_CAPTION_CONTROLLER_H_

#include <memory>
#include <unordered_map>

#include "chrome/browser/accessibility/soda_installer.h"
#include "chrome/common/caption.mojom.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/chromeos/file_system_provider/service.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <map>
#include <memory>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include <memory>
#include <string>
#include <unordered_map>

#include "base/macros.h"
#include "chrome/browser/profiles/profile.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 @@ -11,7 +11,6 @@
#include <memory>
#include <set>
#include <string>
#include <unordered_map>
#include <vector>

#include "base/callback.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <memory>
#include <set>
#include <string>
#include <unordered_map>
#include <vector>

#include "base/containers/circular_deque.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/profiles/profile_info_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <memory>
#include <string>
#include <unordered_map>
#include <vector>

#include "base/compiler_specific.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <list>
#include <memory>
#include <string>
#include <unordered_map>
#include <utility>

#include "base/callback.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <memory>
#include <set>
#include <string>
#include <unordered_map>
#include <vector>

#include "base/callback.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <memory>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>

Expand Down
1 change: 0 additions & 1 deletion chrome/browser/ui/autofill/address_editor_controller.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#define CHROME_BROWSER_UI_AUTOFILL_ADDRESS_EDITOR_CONTROLLER_H_

#include <memory>
#include <unordered_map>
#include <vector>

#include "components/autofill/core/browser/data_model/autofill_profile.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include <memory>
#include <string>
#include <unordered_map>

#include "base/memory/weak_ptr.h"
#include "base/optional.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/ui/media_router/media_router_ui.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <memory>
#include <set>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>

Expand Down
1 change: 0 additions & 1 deletion chrome/browser/usb/web_usb_service_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <map>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>

#include "base/macros.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/chrome_cleaner/settings/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <windows.h>

#include <string>
#include <unordered_map>
#include <vector>

#include "base/command_line.h"
Expand Down
1 change: 0 additions & 1 deletion chromeos/components/phonehub/fake_notification_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#ifndef CHROMEOS_COMPONENTS_PHONEHUB_FAKE_NOTIFICATION_MANAGER_H_
#define CHROMEOS_COMPONENTS_PHONEHUB_FAKE_NOTIFICATION_MANAGER_H_

#include <unordered_map>
#include <vector>

#include "base/containers/flat_set.h"
Expand Down
2 changes: 0 additions & 2 deletions chromeos/components/phonehub/notification_manager_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
#ifndef CHROMEOS_COMPONENTS_PHONEHUB_NOTIFICATION_MANAGER_IMPL_H_
#define CHROMEOS_COMPONENTS_PHONEHUB_NOTIFICATION_MANAGER_IMPL_H_

#include <unordered_map>

#include "chromeos/components/phonehub/notification.h"
#include "chromeos/components/phonehub/notification_manager.h"
#include "chromeos/services/multidevice_setup/public/cpp/multidevice_setup_client.h"
Expand Down
1 change: 0 additions & 1 deletion chromeos/components/tether/network_host_scan_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include <memory>
#include <string>
#include <unordered_map>
#include <unordered_set>

#include "base/macros.h"
Expand Down
1 change: 0 additions & 1 deletion chromeos/components/tether/tether_disconnector_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include <memory>
#include <string>
#include <unordered_map>

#include "base/callback_forward.h"
#include "base/macros.h"
Expand Down
1 change: 0 additions & 1 deletion chromeos/services/secure_channel/fake_ble_advertiser.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <list>
#include <memory>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>

Expand Down
2 changes: 0 additions & 2 deletions components/assist_ranker/predictor_config_definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
#ifndef COMPONENTS_ASSIST_RANKER_PREDICTOR_CONFIG_DEFINITIONS_H_
#define COMPONENTS_ASSIST_RANKER_PREDICTOR_CONFIG_DEFINITIONS_H_

#include <unordered_map>

#include "base/feature_list.h"
#include "base/metrics/field_trial_params.h"
#include "build/build_config.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
#ifndef COMPONENTS_CONTEXTUAL_SEARCH_CORE_BROWSER_WEEKLY_ACTIVITY_STORAGE_H_
#define COMPONENTS_CONTEXTUAL_SEARCH_CORE_BROWSER_WEEKLY_ACTIVITY_STORAGE_H_

#include <unordered_map>

#include "base/macros.h"

namespace contextual_search {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

#include <stdint.h>

#include <unordered_map>

#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/optional.h"
Expand Down
1 change: 0 additions & 1 deletion components/payments/core/journey_logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#define COMPONENTS_PAYMENTS_CORE_JOURNEY_LOGGER_H_

#include <string>
#include <unordered_map>

#include "base/macros.h"
#include "base/time/time.h"
Expand Down
1 change: 0 additions & 1 deletion components/performance_manager/graph/graph_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <map>
#include <memory>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <map>
#include <memory>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>

Expand Down
1 change: 0 additions & 1 deletion components/sync/model/model_type_store_backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include <memory>
#include <string>
#include <unordered_map>

#include "base/files/file_path.h"
#include "base/macros.h"
Expand Down
2 changes: 0 additions & 2 deletions components/viz/service/frame_sinks/video_detector.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
#ifndef COMPONENTS_VIZ_SERVICE_FRAME_SINKS_VIDEO_DETECTOR_H_
#define COMPONENTS_VIZ_SERVICE_FRAME_SINKS_VIDEO_DETECTOR_H_

#include <unordered_map>

#include "base/sequenced_task_runner.h"
#include "base/time/default_tick_clock.h"
#include "base/timer/timer.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <memory>
#include <set>
#include <string>
#include <unordered_map>
#include <vector>

#include "base/callback_forward.h"
Expand Down
1 change: 0 additions & 1 deletion content/renderer/accessibility/render_accessibility_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#define CONTENT_RENDERER_ACCESSIBILITY_RENDER_ACCESSIBILITY_IMPL_H_

#include <memory>
#include <unordered_map>
#include <vector>

#include "base/macros.h"
Expand Down
1 change: 0 additions & 1 deletion device/bluetooth/bluez/bluetooth_device_bluez.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <memory>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>

Expand Down
1 change: 0 additions & 1 deletion google_apis/gaia/oauth_multilogin_result.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#define GOOGLE_APIS_GAIA_OAUTH_MULTILOGIN_RESULT_H_

#include <string>
#include <unordered_map>

#include "base/time/time.h"
#include "base/values.h"
Expand Down
2 changes: 0 additions & 2 deletions gpu/command_buffer/client/raster_implementation_gles.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
#ifndef GPU_COMMAND_BUFFER_CLIENT_RASTER_IMPLEMENTATION_GLES_H_
#define GPU_COMMAND_BUFFER_CLIENT_RASTER_IMPLEMENTATION_GLES_H_

#include <unordered_map>

#include "base/containers/flat_map.h"
#include "base/macros.h"
#include "base/optional.h"
Expand Down
1 change: 0 additions & 1 deletion headless/lib/browser/headless_browser_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <memory>
#include <string>
#include <unordered_map>
#include <vector>

#include "base/memory/weak_ptr.h"
Expand Down
1 change: 0 additions & 1 deletion headless/public/headless_browser.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include <memory>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>

Expand Down
1 change: 0 additions & 1 deletion headless/public/headless_browser_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <list>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>

#include "base/callback.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#define IOS_CHROME_BROWSER_METRICS_PAGELOAD_FOREGROUND_DURATION_TAB_HELPER_H_

#include <memory>
#include <unordered_map>

#include "base/scoped_observer.h"
#include "base/time/time.h"
Expand Down
1 change: 0 additions & 1 deletion net/reporting/reporting_cache_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <memory>
#include <set>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
Expand Down
1 change: 0 additions & 1 deletion net/url_request/url_request_context_builder.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <map>
#include <memory>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>

Expand Down
1 change: 0 additions & 1 deletion services/media_session/audio_focus_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include <list>
#include <string>
#include <unordered_map>
#include <vector>

#include "base/memory/weak_ptr.h"
Expand Down
1 change: 0 additions & 1 deletion storage/browser/blob/blob_memory_controller.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <map>
#include <memory>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
Expand Down
1 change: 0 additions & 1 deletion ui/accessibility/ax_tree_serializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#include <ctime>
#include <ostream>
#include <unordered_map>
#include <unordered_set>
#include <vector>

Expand Down
1 change: 0 additions & 1 deletion ui/accessibility/ax_tree_update.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <stdint.h>

#include <string>
#include <unordered_map>
#include <vector>

#include "ui/accessibility/ax_base_export.h"
Expand Down
1 change: 0 additions & 1 deletion ui/base/prediction/prediction_metrics_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include <deque>
#include <string>
#include <unordered_map>

#include "base/component_export.h"
#include "base/optional.h"
Expand Down
1 change: 0 additions & 1 deletion ui/gl/gl_share_group.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#define UI_GL_GL_SHARE_GROUP_H_

#include <set>
#include <unordered_map>

#include "base/macros.h"
#include "base/memory/ref_counted.h"
Expand Down
1 change: 0 additions & 1 deletion ui/ozone/platform/drm/gpu/hardware_display_controller.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <xf86drmMode.h>
#include <map>
#include <memory>
#include <unordered_map>
#include <vector>

#include "base/callback.h"
Expand Down
Loading

0 comments on commit 949709f

Please sign in to comment.