From efbee203138ec32c209706ac5d31faa1c03e6a23 Mon Sep 17 00:00:00 2001 From: "thestig@chromium.org" Date: Wed, 10 Oct 2012 01:25:05 +0000 Subject: [PATCH] Cleanup: IWYU for base/time.h. Also fix misc lint errors. TBR=ben,brettw,oshima,rdsmith Review URL: https://chromiumcodereview.appspot.com/11087021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160999 0039d316-1c4b-4281-b951-d872f2087c98 --- ash/wm/session_state_animator.h | 3 +-- base/message_pump_android.cc | 1 + base/message_pump_android.h | 3 ++- base/process_info.h | 3 ++- base/sys_info.h | 1 - base/threading/worker_pool_posix.h | 1 - base/tracked_objects.h | 1 - chrome/browser/automation/automation_tab_tracker.h | 1 - .../browsing_data/browsing_data_file_system_helper.h | 1 - chrome/browser/browsing_data/browsing_data_quota_helper.h | 1 - .../browsing_data/browsing_data_quota_helper_impl.h | 1 - chrome/browser/chromeos/login/user_manager.h | 1 - chrome/browser/extensions/extension_pref_store.h | 1 - chrome/browser/extensions/extension_service.h | 1 - chrome/browser/net/chrome_net_log.h | 1 - chrome/browser/net/crl_set_fetcher.h | 1 - .../browser/password_manager/password_store_mac_internal.h | 3 +-- .../browser/printing/cloud_print/cloud_print_setup_flow.h | 1 - chrome/browser/sync/glue/typed_url_change_processor.h | 1 - chrome/browser/sync/test/integration/passwords_helper.h | 1 - .../ui/cocoa/panels/panel_window_controller_cocoa.h | 1 - .../suggestions_internals_ui_handler.h | 1 - chrome/renderer/spellchecker/spellcheck.h | 1 - chromeos/disks/mock_disk_mount_manager.h | 1 - content/browser/device_orientation/provider_impl.h | 1 - content/browser/geolocation/win7_location_api_win.h | 1 - content/browser/renderer_host/gesture_event_filter.h | 5 ++--- content/browser/renderer_host/resource_request_info_impl.h | 1 - content/common/file_utilities_messages.h | 1 - content/renderer/render_thread_impl.h | 1 - media/audio/audio_output_controller.h | 1 - media/audio/linux/cras_input.h | 1 - media/audio/mac/audio_low_latency_input_mac.h | 1 - media/webm/webm_tracks_parser.h | 1 - net/base/crl_set.cc | 7 ++++--- net/base/crl_set.h | 1 - remoting/base/running_average.h | 3 +-- remoting/client/chromoting_client.h | 1 - remoting/host/audio_scheduler.h | 1 - ui/base/gestures/gesture_types.h | 1 - webkit/appcache/appcache_service.h | 1 - webkit/appcache/web_application_cache_host_impl.h | 3 +-- webkit/fileapi/syncable/local_file_change_tracker.h | 1 - webkit/plugins/npapi/webplugin_delegate_impl.h | 1 - webkit/quota/quota_client.h | 1 - 45 files changed, 15 insertions(+), 52 deletions(-) diff --git a/ash/wm/session_state_animator.h b/ash/wm/session_state_animator.h index 58bf7edba2dd38..6dd9bf42637cc9 100644 --- a/ash/wm/session_state_animator.h +++ b/ash/wm/session_state_animator.h @@ -8,7 +8,6 @@ #include "ash/ash_export.h" #include "base/basictypes.h" #include "base/memory/scoped_ptr.h" -#include "base/time.h" #include "base/timer.h" #include "ui/aura/root_window_observer.h" #include "ui/aura/window.h" @@ -110,7 +109,7 @@ class ASH_EXPORT SessionStateAnimator : public aura::RootWindowObserver { // Drops back layer after |UNDO_SLOW_CLOSE| animation delay. void ScheduleDropBlackLayer(); - // Apply animation |type| to all containers included in |container_mask|. + // Apply animation |type| to all containers included in |container_mask|. void StartAnimation(int container_mask, AnimationType type); diff --git a/base/message_pump_android.cc b/base/message_pump_android.cc index 29bf9653af8cad..2f8206f7f60ad9 100644 --- a/base/message_pump_android.cc +++ b/base/message_pump_android.cc @@ -11,6 +11,7 @@ #include "base/lazy_instance.h" #include "base/logging.h" #include "base/run_loop.h" +#include "base/time.h" #include "jni/SystemMessageHandler_jni.h" using base::android::ScopedJavaLocalRef; diff --git a/base/message_pump_android.h b/base/message_pump_android.h index 19157ddfb058c0..10a55826d46f3e 100644 --- a/base/message_pump_android.h +++ b/base/message_pump_android.h @@ -9,10 +9,11 @@ #include "base/compiler_specific.h" #include "base/message_pump.h" -#include "base/time.h" namespace base { + class RunLoop; +class TimeTicks; // This class implements a MessagePump needed for TYPE_UI MessageLoops on // OS_ANDROID platform. diff --git a/base/process_info.h b/base/process_info.h index 204a94779fb900..429d4dca29a927 100644 --- a/base/process_info.h +++ b/base/process_info.h @@ -7,10 +7,11 @@ #include "base/base_export.h" #include "base/basictypes.h" -#include "base/time.h" namespace base { +class Time; + // Vends information about the current process. class BASE_EXPORT CurrentProcessInfo { public: diff --git a/base/sys_info.h b/base/sys_info.h index e155285f3e2b0a..475c5a842048fc 100644 --- a/base/sys_info.h +++ b/base/sys_info.h @@ -10,7 +10,6 @@ #include "base/base_export.h" #include "base/basictypes.h" #include "base/file_path.h" -#include "base/time.h" #include "build/build_config.h" namespace base { diff --git a/base/threading/worker_pool_posix.h b/base/threading/worker_pool_posix.h index 36e3f4bf81d445..dd0ffb656fa36a 100644 --- a/base/threading/worker_pool_posix.h +++ b/base/threading/worker_pool_posix.h @@ -30,7 +30,6 @@ #include "base/basictypes.h" #include "base/callback_forward.h" #include "base/location.h" -#include "base/time.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "base/pending_task.h" diff --git a/base/tracked_objects.h b/base/tracked_objects.h index ad9a6d03326d1d..13e1f7519e8e59 100644 --- a/base/tracked_objects.h +++ b/base/tracked_objects.h @@ -18,7 +18,6 @@ #include "base/location.h" #include "base/profiler/alternate_timer.h" #include "base/profiler/tracked_time.h" -#include "base/time.h" #include "base/synchronization/lock.h" #include "base/threading/thread_local_storage.h" #include "base/tracking_info.h" diff --git a/chrome/browser/automation/automation_tab_tracker.h b/chrome/browser/automation/automation_tab_tracker.h index 3ec3f20c4b05de..6afa291d7889c5 100644 --- a/chrome/browser/automation/automation_tab_tracker.h +++ b/chrome/browser/automation/automation_tab_tracker.h @@ -7,7 +7,6 @@ #include -#include "base/time.h" #include "chrome/browser/automation/automation_resource_tracker.h" namespace content { diff --git a/chrome/browser/browsing_data/browsing_data_file_system_helper.h b/chrome/browser/browsing_data/browsing_data_file_system_helper.h index 8029a365df8a54..1178c63f90a67d 100644 --- a/chrome/browser/browsing_data/browsing_data_file_system_helper.h +++ b/chrome/browser/browsing_data/browsing_data_file_system_helper.h @@ -13,7 +13,6 @@ #include "base/file_path.h" #include "base/memory/ref_counted.h" #include "base/synchronization/lock.h" -#include "base/time.h" #include "chrome/common/url_constants.h" #include "googleurl/src/gurl.h" #include "webkit/fileapi/file_system_types.h" diff --git a/chrome/browser/browsing_data/browsing_data_quota_helper.h b/chrome/browser/browsing_data/browsing_data_quota_helper.h index 192379e029b896..4c97513397349d 100644 --- a/chrome/browser/browsing_data/browsing_data_quota_helper.h +++ b/chrome/browser/browsing_data/browsing_data_quota_helper.h @@ -12,7 +12,6 @@ #include "base/memory/ref_counted.h" #include "base/message_loop_proxy.h" #include "base/sequenced_task_runner_helpers.h" -#include "base/time.h" #include "content/public/browser/browser_thread.h" #include "webkit/quota/quota_types.h" diff --git a/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h b/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h index a9c1df61620fba..19404e3931bdfe 100644 --- a/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h +++ b/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h @@ -13,7 +13,6 @@ #include "base/compiler_specific.h" #include "base/memory/ref_counted.h" #include "base/memory/weak_ptr.h" -#include "base/time.h" #include "chrome/browser/browsing_data/browsing_data_quota_helper.h" #include "content/public/browser/browser_thread.h" #include "webkit/quota/quota_types.h" diff --git a/chrome/browser/chromeos/login/user_manager.h b/chrome/browser/chromeos/login/user_manager.h index a0c81065cd7cae..8396b53e9e6218 100644 --- a/chrome/browser/chromeos/login/user_manager.h +++ b/chrome/browser/chromeos/login/user_manager.h @@ -9,7 +9,6 @@ #include "ash/desktop_background/desktop_background_resources.h" #include "base/memory/singleton.h" -#include "base/time.h" #include "chrome/browser/chromeos/login/user.h" #include "chrome/browser/ui/webui/options/chromeos/set_wallpaper_options_handler.h" diff --git a/chrome/browser/extensions/extension_pref_store.h b/chrome/browser/extensions/extension_pref_store.h index f4ad9226cb6003..5c3820edff28a3 100644 --- a/chrome/browser/extensions/extension_pref_store.h +++ b/chrome/browser/extensions/extension_pref_store.h @@ -7,7 +7,6 @@ #include -#include "base/time.h" #include "chrome/browser/extensions/extension_pref_value_map.h" #include "chrome/browser/prefs/value_map_pref_store.h" diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h index c6e40ef45ca1a2..3e42906d86461e 100644 --- a/chrome/browser/extensions/extension_service.h +++ b/chrome/browser/extensions/extension_service.h @@ -18,7 +18,6 @@ #include "base/memory/ref_counted.h" #include "base/memory/weak_ptr.h" #include "base/string16.h" -#include "base/time.h" #include "base/tuple.h" #include "chrome/browser/api/prefs/pref_change_registrar.h" #include "chrome/browser/extensions/app_shortcut_manager.h" diff --git a/chrome/browser/net/chrome_net_log.h b/chrome/browser/net/chrome_net_log.h index 71d89f421bfc01..f0a1f99f5e546c 100644 --- a/chrome/browser/net/chrome_net_log.h +++ b/chrome/browser/net/chrome_net_log.h @@ -9,7 +9,6 @@ #include "base/memory/scoped_ptr.h" #include "base/observer_list.h" #include "base/synchronization/lock.h" -#include "base/time.h" #include "net/base/net_log.h" class LoadTimingObserver; diff --git a/chrome/browser/net/crl_set_fetcher.h b/chrome/browser/net/crl_set_fetcher.h index e46a5499551b50..86dd8ee3b0c775 100644 --- a/chrome/browser/net/crl_set_fetcher.h +++ b/chrome/browser/net/crl_set_fetcher.h @@ -9,7 +9,6 @@ #include "base/compiler_specific.h" #include "base/memory/ref_counted.h" -#include "base/time.h" #include "chrome/browser/component_updater/component_updater_service.h" class FilePath; diff --git a/chrome/browser/password_manager/password_store_mac_internal.h b/chrome/browser/password_manager/password_store_mac_internal.h index 9a01ea4c946d4e..b7a2be49fca5dc 100644 --- a/chrome/browser/password_manager/password_store_mac_internal.h +++ b/chrome/browser/password_manager/password_store_mac_internal.h @@ -10,7 +10,6 @@ #include #include -#include "base/time.h" #include "crypto/apple_keychain.h" using crypto::AppleKeychain; @@ -170,6 +169,6 @@ std::vector GetPasswordsForForms( const AppleKeychain& keychain, std::vector* database_forms); -} // internal_keychain_helpers +} // namespace internal_keychain_helpers #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_INTERNAL_H_ diff --git a/chrome/browser/printing/cloud_print/cloud_print_setup_flow.h b/chrome/browser/printing/cloud_print/cloud_print_setup_flow.h index 203c27152a94c9..abaaf9fab0a0af 100644 --- a/chrome/browser/printing/cloud_print/cloud_print_setup_flow.h +++ b/chrome/browser/printing/cloud_print/cloud_print_setup_flow.h @@ -9,7 +9,6 @@ #include #include "base/memory/weak_ptr.h" -#include "base/time.h" #include "google_apis/gaia/gaia_auth_consumer.h" #include "google_apis/gaia/gaia_auth_fetcher.h" #include "google_apis/gaia/google_service_auth_error.h" diff --git a/chrome/browser/sync/glue/typed_url_change_processor.h b/chrome/browser/sync/glue/typed_url_change_processor.h index 54406d1358f515..e5568f8bdef2c6 100644 --- a/chrome/browser/sync/glue/typed_url_change_processor.h +++ b/chrome/browser/sync/glue/typed_url_change_processor.h @@ -10,7 +10,6 @@ #include "base/basictypes.h" #include "base/compiler_specific.h" #include "base/memory/scoped_ptr.h" -#include "base/time.h" #include "chrome/browser/sync/glue/data_type_error_handler.h" #include "chrome/browser/sync/glue/sync_backend_host.h" #include "chrome/browser/sync/glue/typed_url_model_associator.h" diff --git a/chrome/browser/sync/test/integration/passwords_helper.h b/chrome/browser/sync/test/integration/passwords_helper.h index 23229441bd85c1..da633e746b7613 100644 --- a/chrome/browser/sync/test/integration/passwords_helper.h +++ b/chrome/browser/sync/test/integration/passwords_helper.h @@ -7,7 +7,6 @@ #include -#include "base/time.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/sync/profile_sync_service.h" #include "chrome/browser/sync/test/integration/sync_test.h" diff --git a/chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.h b/chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.h index 910ed92e1c5ff7..4f69a3cf3d47c8 100644 --- a/chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.h +++ b/chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.h @@ -13,7 +13,6 @@ #include "base/memory/scoped_nsobject.h" #include "base/memory/scoped_ptr.h" -#include "base/time.h" #import "chrome/browser/ui/cocoa/chrome_browser_window.h" #import "chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.h" #import "chrome/browser/ui/cocoa/themed_window.h" diff --git a/chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui_handler.h b/chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui_handler.h index fdb783117d081f..f72bbdc576bbe3 100644 --- a/chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui_handler.h +++ b/chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui_handler.h @@ -6,7 +6,6 @@ #define CHROME_BROWSER_UI_WEBUI_SUGGESTIONS_INTERNALS_SUGGESTIONS_INTERNALS_UI_HANDLER_H_ #include "base/memory/scoped_ptr.h" -#include "base/time.h" #include "chrome/browser/ui/webui/ntp/suggestions_combiner.h" #include "content/public/browser/web_ui_message_handler.h" diff --git a/chrome/renderer/spellchecker/spellcheck.h b/chrome/renderer/spellchecker/spellcheck.h index 7ffc1f3d4d0131..673f35e5a4eb57 100644 --- a/chrome/renderer/spellchecker/spellcheck.h +++ b/chrome/renderer/spellchecker/spellcheck.h @@ -15,7 +15,6 @@ #include "base/memory/weak_ptr.h" #include "base/platform_file.h" #include "base/string16.h" -#include "base/time.h" #include "chrome/renderer/spellchecker/spellcheck_worditerator.h" #include "content/public/renderer/render_process_observer.h" #include "ipc/ipc_platform_file.h" diff --git a/chromeos/disks/mock_disk_mount_manager.h b/chromeos/disks/mock_disk_mount_manager.h index abe24594a0787f..d78f6f3cabbacb 100644 --- a/chromeos/disks/mock_disk_mount_manager.h +++ b/chromeos/disks/mock_disk_mount_manager.h @@ -8,7 +8,6 @@ #include #include "base/observer_list.h" -#include "base/time.h" #include "chromeos/disks/disk_mount_manager.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" diff --git a/content/browser/device_orientation/provider_impl.h b/content/browser/device_orientation/provider_impl.h index fc2f4f1d5a5b87..02e2e8808c9a98 100644 --- a/content/browser/device_orientation/provider_impl.h +++ b/content/browser/device_orientation/provider_impl.h @@ -11,7 +11,6 @@ #include "base/memory/scoped_ptr.h" #include "base/memory/weak_ptr.h" -#include "base/time.h" #include "content/browser/device_orientation/data_fetcher.h" #include "content/browser/device_orientation/device_data.h" #include "content/browser/device_orientation/provider.h" diff --git a/content/browser/geolocation/win7_location_api_win.h b/content/browser/geolocation/win7_location_api_win.h index 3f913d35a1e48c..551cc5af98ba34 100644 --- a/content/browser/geolocation/win7_location_api_win.h +++ b/content/browser/geolocation/win7_location_api_win.h @@ -11,7 +11,6 @@ #include #include -#include "base/time.h" #include "base/win/scoped_com_initializer.h" #include "content/common/content_export.h" diff --git a/content/browser/renderer_host/gesture_event_filter.h b/content/browser/renderer_host/gesture_event_filter.h index 064d9ee2556282..3cd95b09375da9 100644 --- a/content/browser/renderer_host/gesture_event_filter.h +++ b/content/browser/renderer_host/gesture_event_filter.h @@ -9,7 +9,6 @@ #include "base/basictypes.h" #include "base/memory/scoped_ptr.h" -#include "base/time.h" #include "base/timer.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" @@ -130,6 +129,6 @@ class GestureEventFilter { DISALLOW_COPY_AND_ASSIGN(GestureEventFilter); }; -} // namespace content +} // namespace content -#endif // CONTENT_BROWSER_RENDERER_HOST_GESTURE_EVENT_FILTER_H_ +#endif // CONTENT_BROWSER_RENDERER_HOST_GESTURE_EVENT_FILTER_H_ diff --git a/content/browser/renderer_host/resource_request_info_impl.h b/content/browser/renderer_host/resource_request_info_impl.h index 20403004056202..ecb0ed893de6e7 100644 --- a/content/browser/renderer_host/resource_request_info_impl.h +++ b/content/browser/renderer_host/resource_request_info_impl.h @@ -11,7 +11,6 @@ #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "base/supports_user_data.h" -#include "base/time.h" #include "content/public/browser/resource_request_info.h" #include "content/public/common/page_transition_types.h" #include "content/public/common/process_type.h" diff --git a/content/common/file_utilities_messages.h b/content/common/file_utilities_messages.h index 30793136825400..a8500f56314529 100644 --- a/content/common/file_utilities_messages.h +++ b/content/common/file_utilities_messages.h @@ -4,7 +4,6 @@ // Multiply-included message file, so no include guard. -#include "base/time.h" #include "content/public/common/common_param_traits.h" #include "ipc/ipc_message_macros.h" #include "ipc/ipc_param_traits.h" diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h index 3dcd4c15f56b07..1e3d98488f73ec 100644 --- a/content/renderer/render_thread_impl.h +++ b/content/renderer/render_thread_impl.h @@ -10,7 +10,6 @@ #include #include "base/observer_list.h" -#include "base/time.h" #include "base/timer.h" #include "build/build_config.h" #include "content/common/child_process.h" diff --git a/media/audio/audio_output_controller.h b/media/audio/audio_output_controller.h index 2459bfea0b594a..d963cd089e33c5 100644 --- a/media/audio/audio_output_controller.h +++ b/media/audio/audio_output_controller.h @@ -9,7 +9,6 @@ #include "base/memory/ref_counted.h" #include "base/memory/weak_ptr.h" #include "base/synchronization/lock.h" -#include "base/time.h" #include "media/audio/audio_buffers_state.h" #include "media/audio/audio_io.h" #include "media/audio/audio_manager.h" diff --git a/media/audio/linux/cras_input.h b/media/audio/linux/cras_input.h index e1dce4c5c71f29..87891dab94b559 100644 --- a/media/audio/linux/cras_input.h +++ b/media/audio/linux/cras_input.h @@ -12,7 +12,6 @@ #include "base/compiler_specific.h" #include "base/memory/scoped_ptr.h" #include "base/memory/weak_ptr.h" -#include "base/time.h" #include "media/audio/audio_input_stream_impl.h" #include "media/audio/audio_io.h" #include "media/audio/audio_parameters.h" diff --git a/media/audio/mac/audio_low_latency_input_mac.h b/media/audio/mac/audio_low_latency_input_mac.h index ef20b7f27bf998..5b1a86db49c2f6 100644 --- a/media/audio/mac/audio_low_latency_input_mac.h +++ b/media/audio/mac/audio_low_latency_input_mac.h @@ -42,7 +42,6 @@ #include "base/atomicops.h" #include "base/memory/scoped_ptr.h" #include "base/synchronization/lock.h" -#include "base/time.h" #include "media/audio/audio_io.h" #include "media/audio/audio_input_stream_impl.h" #include "media/audio/audio_parameters.h" diff --git a/media/webm/webm_tracks_parser.h b/media/webm/webm_tracks_parser.h index b4e0a583d3cefa..24211edb1e8c6b 100644 --- a/media/webm/webm_tracks_parser.h +++ b/media/webm/webm_tracks_parser.h @@ -9,7 +9,6 @@ #include "base/compiler_specific.h" #include "base/memory/scoped_ptr.h" -#include "base/time.h" #include "media/webm/webm_content_encodings_client.h" #include "media/webm/webm_parser.h" diff --git a/net/base/crl_set.cc b/net/base/crl_set.cc index 1a8bdf11e6d957..a6a18300231e44 100644 --- a/net/base/crl_set.cc +++ b/net/base/crl_set.cc @@ -9,6 +9,7 @@ #include "base/stl_util.h" #include "base/string_util.h" #include "base/stringprintf.h" +#include "base/time.h" #include "base/values.h" #include "crypto/sha2.h" #include "net/base/crl_set.h" @@ -71,8 +72,8 @@ CRLSet::~CRLSet() { // header_bytes consists of a JSON dictionary with the following keys: // Version (int): currently 0 // ContentType (string): "CRLSet" or "CRLSetDelta" (magic value) -// DeltaFrom (int32): if this is a delta update (see below), then this contains -// the sequence number of the base CRLSet. +// DeltaFrom (int32): if this is a delta update (see below), then this +// contains the sequence number of the base CRLSet. // Sequence (int32): the monotonic sequence number of this CRL set. // // A delta CRLSet is similar to a CRLSet: @@ -441,7 +442,7 @@ bool CRLSet::ApplyDelta(const base::StringPiece& in_data, // static bool CRLSet::GetIsDeltaUpdate(const base::StringPiece& in_data, - bool *is_delta) { + bool* is_delta) { base::StringPiece data(in_data); scoped_ptr header_dict(ReadHeader(&data)); if (!header_dict.get()) diff --git a/net/base/crl_set.h b/net/base/crl_set.h index 6e22a804d92af8..cb37934dfb4db2 100644 --- a/net/base/crl_set.h +++ b/net/base/crl_set.h @@ -12,7 +12,6 @@ #include "base/memory/ref_counted.h" #include "base/string_piece.h" -#include "base/time.h" #include "net/base/net_export.h" namespace base { diff --git a/remoting/base/running_average.h b/remoting/base/running_average.h index fadea1f7627f3f..bc556b9a0001cc 100644 --- a/remoting/base/running_average.h +++ b/remoting/base/running_average.h @@ -17,7 +17,6 @@ #include "base/basictypes.h" #include "base/synchronization/lock.h" -#include "base/time.h" namespace remoting { @@ -25,7 +24,7 @@ class RunningAverage { public: // Construct a running average counter for a specific window size. The // |windows_size| most recent values are kept and the average is reported. - RunningAverage(int window_size); + explicit RunningAverage(int window_size); virtual ~RunningAverage(); diff --git a/remoting/client/chromoting_client.h b/remoting/client/chromoting_client.h index f82639453dfa46..a03d5bc17f274e 100644 --- a/remoting/client/chromoting_client.h +++ b/remoting/client/chromoting_client.h @@ -12,7 +12,6 @@ #include "base/callback.h" #include "base/memory/scoped_ptr.h" #include "base/memory/weak_ptr.h" -#include "base/time.h" #include "remoting/client/client_config.h" #include "remoting/client/chromoting_stats.h" #include "remoting/protocol/client_stub.h" diff --git a/remoting/host/audio_scheduler.h b/remoting/host/audio_scheduler.h index 89a5805e6e30f6..88265e84fe4c49 100644 --- a/remoting/host/audio_scheduler.h +++ b/remoting/host/audio_scheduler.h @@ -8,7 +8,6 @@ #include "base/callback_forward.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" -#include "base/time.h" namespace base { class SingleThreadTaskRunner; diff --git a/ui/base/gestures/gesture_types.h b/ui/base/gestures/gesture_types.h index d44de87f119b91..da2cf3ff44a395 100644 --- a/ui/base/gestures/gesture_types.h +++ b/ui/base/gestures/gesture_types.h @@ -6,7 +6,6 @@ #define UI_BASE_GESTURES_GESTURE_TYPES_H_ #include "base/logging.h" -#include "base/time.h" #include "ui/base/events/event_constants.h" #include "ui/gfx/rect.h" diff --git a/webkit/appcache/appcache_service.h b/webkit/appcache/appcache_service.h index 3d9f8bbcfe5158..114a2850328f92 100644 --- a/webkit/appcache/appcache_service.h +++ b/webkit/appcache/appcache_service.h @@ -11,7 +11,6 @@ #include "base/gtest_prod_util.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" -#include "base/time.h" #include "net/base/completion_callback.h" #include "net/base/net_errors.h" #include "webkit/appcache/appcache_export.h" diff --git a/webkit/appcache/web_application_cache_host_impl.h b/webkit/appcache/web_application_cache_host_impl.h index 543e6ea1aa8d28..39e3b2a721a7e8 100644 --- a/webkit/appcache/web_application_cache_host_impl.h +++ b/webkit/appcache/web_application_cache_host_impl.h @@ -6,7 +6,7 @@ #define WEBKIT_APPCACHE_WEB_APPLICATION_CACHE_HOST_IMPL_H_ #include -#include "base/time.h" + #include "googleurl/src/gurl.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebApplicationCacheHostClient.h" #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLResponse.h" @@ -84,4 +84,3 @@ class APPCACHE_EXPORT WebApplicationCacheHostImpl } // namespace #endif // WEBKIT_APPCACHE_WEB_APPLICATION_CACHE_HOST_IMPL_H_ - diff --git a/webkit/fileapi/syncable/local_file_change_tracker.h b/webkit/fileapi/syncable/local_file_change_tracker.h index 3c08566f28dc90..993a436d6273a6 100644 --- a/webkit/fileapi/syncable/local_file_change_tracker.h +++ b/webkit/fileapi/syncable/local_file_change_tracker.h @@ -14,7 +14,6 @@ #include "base/file_path.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" -#include "base/time.h" #include "webkit/fileapi/file_observers.h" #include "webkit/fileapi/file_system_url.h" #include "webkit/fileapi/fileapi_export.h" diff --git a/webkit/plugins/npapi/webplugin_delegate_impl.h b/webkit/plugins/npapi/webplugin_delegate_impl.h index e80fd5c1d8aff9..0c26aed1811321 100644 --- a/webkit/plugins/npapi/webplugin_delegate_impl.h +++ b/webkit/plugins/npapi/webplugin_delegate_impl.h @@ -12,7 +12,6 @@ #include "base/memory/scoped_ptr.h" #include "base/memory/weak_ptr.h" #include "base/sequenced_task_runner_helpers.h" -#include "base/time.h" #include "base/timer.h" #include "build/build_config.h" #include "third_party/npapi/bindings/npapi.h" diff --git a/webkit/quota/quota_client.h b/webkit/quota/quota_client.h index a91348dd66c7df..cb756a6414dcf0 100644 --- a/webkit/quota/quota_client.h +++ b/webkit/quota/quota_client.h @@ -10,7 +10,6 @@ #include #include "base/callback.h" -#include "base/time.h" #include "googleurl/src/gurl.h" #include "webkit/quota/quota_types.h"