diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-20 06:23:27 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-20 06:23:27 +0000 |
commit | 4d36536bcb6052374f286c7423449b2c88deacb4 (patch) | |
tree | 7d505e00be6b727be9029c2f1e03a5bfba8ca0f9 /chrome | |
parent | a47cc547f33b5f09ebc3c92d97736e3881c8c75e (diff) | |
download | chromium_src-4d36536bcb6052374f286c7423449b2c88deacb4.zip chromium_src-4d36536bcb6052374f286c7423449b2c88deacb4.tar.gz chromium_src-4d36536bcb6052374f286c7423449b2c88deacb4.tar.bz2 |
FBTF: Header cleanup in chrome/common part 2. The majority of the changed files
just added notification_observer.h.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3120021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56824 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
78 files changed, 106 insertions, 15 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit.h b/chrome/browser/autocomplete/autocomplete_edit.h index 8c2a75b..783b396 100644 --- a/chrome/browser/autocomplete/autocomplete_edit.h +++ b/chrome/browser/autocomplete/autocomplete_edit.h @@ -7,6 +7,7 @@ #pragma once #include "chrome/browser/autocomplete/autocomplete.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "chrome/common/page_transition_types.h" #include "googleurl/src/gurl.h" diff --git a/chrome/browser/autocomplete/autocomplete_popup_model.h b/chrome/browser/autocomplete/autocomplete_popup_model.h index 488cd9e..5a7fe92 100644 --- a/chrome/browser/autocomplete/autocomplete_popup_model.h +++ b/chrome/browser/autocomplete/autocomplete_popup_model.h @@ -8,6 +8,7 @@ #include "base/scoped_ptr.h" #include "chrome/browser/autocomplete/autocomplete.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class AutocompleteEditModel; diff --git a/chrome/browser/autocomplete/autocomplete_unittest.cc b/chrome/browser/autocomplete/autocomplete_unittest.cc index 617cf87..c1bb758 100644 --- a/chrome/browser/autocomplete/autocomplete_unittest.cc +++ b/chrome/browser/autocomplete/autocomplete_unittest.cc @@ -8,6 +8,7 @@ #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "chrome/browser/autocomplete/autocomplete.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "chrome/common/notification_service.h" #include "testing/gtest/include/gtest/gtest.h" diff --git a/chrome/browser/autocomplete/keyword_provider.h b/chrome/browser/autocomplete/keyword_provider.h index 056d47b..2d398360 100644 --- a/chrome/browser/autocomplete/keyword_provider.h +++ b/chrome/browser/autocomplete/keyword_provider.h @@ -19,6 +19,7 @@ #include <string> #include "chrome/browser/autocomplete/autocomplete.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class Profile; diff --git a/chrome/browser/cert_store.h b/chrome/browser/cert_store.h index 3f01e9f..fc17501 100644 --- a/chrome/browser/cert_store.h +++ b/chrome/browser/cert_store.h @@ -10,6 +10,7 @@ #include "base/lock.h" #include "base/singleton.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "net/base/x509_certificate.h" diff --git a/chrome/browser/chrome_plugin_browsing_context.h b/chrome/browser/chrome_plugin_browsing_context.h index 8a52e5e..ef31262 100644 --- a/chrome/browser/chrome_plugin_browsing_context.h +++ b/chrome/browser/chrome_plugin_browsing_context.h @@ -10,6 +10,7 @@ #include "base/id_map.h" #include "chrome/common/chrome_plugin_api.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class URLRequestContext; diff --git a/chrome/browser/cocoa/theme_install_bubble_view.h b/chrome/browser/cocoa/theme_install_bubble_view.h index ea308ba..f8208df 100644 --- a/chrome/browser/cocoa/theme_install_bubble_view.h +++ b/chrome/browser/cocoa/theme_install_bubble_view.h @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "chrome/common/notification_service.h" diff --git a/chrome/browser/debugger/devtools_window.h b/chrome/browser/debugger/devtools_window.h index dec940c..9c19982 100644 --- a/chrome/browser/debugger/devtools_window.h +++ b/chrome/browser/debugger/devtools_window.h @@ -12,6 +12,7 @@ #include "chrome/browser/debugger/devtools_client_host.h" #include "chrome/browser/debugger/devtools_toggle_action.h" #include "chrome/browser/tab_contents/tab_contents_delegate.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "chrome/common/notification_service.h" diff --git a/chrome/browser/dom_ui/app_launcher_handler.h b/chrome/browser/dom_ui/app_launcher_handler.h index b79ebb8..7e89bb7 100644 --- a/chrome/browser/dom_ui/app_launcher_handler.h +++ b/chrome/browser/dom_ui/app_launcher_handler.h @@ -7,6 +7,7 @@ #pragma once #include "chrome/browser/dom_ui/dom_ui.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class Extension; diff --git a/chrome/browser/dom_ui/new_tab_ui.h b/chrome/browser/dom_ui/new_tab_ui.h index 0f798d0..e091fcf 100644 --- a/chrome/browser/dom_ui/new_tab_ui.h +++ b/chrome/browser/dom_ui/new_tab_ui.h @@ -11,6 +11,7 @@ #include "base/gtest_prod_util.h" #include "chrome/browser/dom_ui/dom_ui.h" #include "chrome/browser/dom_ui/chrome_url_data_manager.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class GURL; diff --git a/chrome/browser/dom_ui/ntp_resource_cache.h b/chrome/browser/dom_ui/ntp_resource_cache.h index 4c7e42f..f669325 100644 --- a/chrome/browser/dom_ui/ntp_resource_cache.h +++ b/chrome/browser/dom_ui/ntp_resource_cache.h @@ -8,6 +8,7 @@ #include "base/basictypes.h" #include "base/ref_counted.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class Profile; diff --git a/chrome/browser/dom_ui/options_ui.h b/chrome/browser/dom_ui/options_ui.h index 27405c7..aad9c76 100644 --- a/chrome/browser/dom_ui/options_ui.h +++ b/chrome/browser/dom_ui/options_ui.h @@ -11,6 +11,7 @@ #include "base/scoped_ptr.h" #include "chrome/browser/dom_ui/chrome_url_data_manager.h" #include "chrome/browser/dom_ui/dom_ui.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "chrome/common/notification_type.h" diff --git a/chrome/browser/extensions/execute_code_in_tab_function.h b/chrome/browser/extensions/execute_code_in_tab_function.h index af8af195..fefeb36 100644 --- a/chrome/browser/extensions/execute_code_in_tab_function.h +++ b/chrome/browser/extensions/execute_code_in_tab_function.h @@ -11,6 +11,7 @@ #include "chrome/browser/extensions/extension_function.h" #include "chrome/common/extensions/extension_resource.h" #include "chrome/common/notification_service.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" // Implement API call tabs.executeScript and tabs.insertCSS. diff --git a/chrome/browser/extensions/extension_accessibility_api.h b/chrome/browser/extensions/extension_accessibility_api.h index b837e06..679760e 100644 --- a/chrome/browser/extensions/extension_accessibility_api.h +++ b/chrome/browser/extensions/extension_accessibility_api.h @@ -15,6 +15,7 @@ #include "chrome/browser/accessibility_events.h" #include "chrome/browser/extensions/extension_function.h" #include "chrome/common/notification_service.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" // Observes the profile and routes accessibility notifications as events diff --git a/chrome/browser/extensions/extension_bookmarks_module.h b/chrome/browser/extensions/extension_bookmarks_module.h index a2590bc..27c2111 100644 --- a/chrome/browser/extensions/extension_bookmarks_module.h +++ b/chrome/browser/extensions/extension_bookmarks_module.h @@ -14,6 +14,7 @@ #include "chrome/browser/bookmarks/bookmark_model_observer.h" #include "chrome/browser/extensions/extension_function.h" #include "chrome/browser/shell_dialogs.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" // Observes BookmarkModel and then routes the notifications as events to diff --git a/chrome/browser/extensions/extension_cookies_api.h b/chrome/browser/extensions/extension_cookies_api.h index 666fe7a..0ecb4e3 100644 --- a/chrome/browser/extensions/extension_cookies_api.h +++ b/chrome/browser/extensions/extension_cookies_api.h @@ -16,6 +16,7 @@ #include "base/time.h" #include "chrome/browser/extensions/extension_function.h" #include "chrome/browser/net/chrome_cookie_notification_details.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "googleurl/src/gurl.h" #include "net/base/cookie_monster.h" diff --git a/chrome/browser/extensions/extension_message_service.h b/chrome/browser/extensions/extension_message_service.h index e1f5611..5460344 100644 --- a/chrome/browser/extensions/extension_message_service.h +++ b/chrome/browser/extensions/extension_message_service.h @@ -11,8 +11,9 @@ #include <string> #include "base/ref_counted.h" -#include "chrome/common/notification_registrar.h" #include "chrome/browser/extensions/extension_devtools_manager.h" +#include "chrome/common/notification_observer.h" +#include "chrome/common/notification_registrar.h" #include "ipc/ipc_message.h" class GURL; diff --git a/chrome/browser/extensions/extension_popup_api.h b/chrome/browser/extensions/extension_popup_api.h index a565caf..0b62fe4 100644 --- a/chrome/browser/extensions/extension_popup_api.h +++ b/chrome/browser/extensions/extension_popup_api.h @@ -7,6 +7,7 @@ #pragma once #include "chrome/browser/extensions/extension_function.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class Profile; diff --git a/chrome/browser/extensions/extension_pref_store.h b/chrome/browser/extensions/extension_pref_store.h index 29db238..0b124856 100644 --- a/chrome/browser/extensions/extension_pref_store.h +++ b/chrome/browser/extensions/extension_pref_store.h @@ -16,6 +16,7 @@ #include "base/scoped_ptr.h" #include "base/stl_util-inl.h" #include "chrome/browser/pref_notifier.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "chrome/common/pref_store.h" diff --git a/chrome/browser/extensions/extension_process_manager.h b/chrome/browser/extensions/extension_process_manager.h index f0c2927..5f71806 100644 --- a/chrome/browser/extensions/extension_process_manager.h +++ b/chrome/browser/extensions/extension_process_manager.h @@ -11,6 +11,7 @@ #include <string> #include "base/ref_counted.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "chrome/common/view_types.h" diff --git a/chrome/browser/extensions/extension_tabs_module.h b/chrome/browser/extensions/extension_tabs_module.h index df71de9..cee8a0d 100644 --- a/chrome/browser/extensions/extension_tabs_module.h +++ b/chrome/browser/extensions/extension_tabs_module.h @@ -10,6 +10,7 @@ #include "chrome/browser/extensions/extension_function.h" #include "chrome/common/notification_service.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class BackingStore; diff --git a/chrome/browser/extensions/user_script_listener.h b/chrome/browser/extensions/user_script_listener.h index f27fcad..c0cd4a7 100644 --- a/chrome/browser/extensions/user_script_listener.h +++ b/chrome/browser/extensions/user_script_listener.h @@ -11,6 +11,7 @@ #include "base/ref_counted.h" #include "chrome/browser/renderer_host/resource_queue.h" #include "chrome/common/extensions/url_pattern.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class Extension; diff --git a/chrome/browser/extensions/user_script_master.h b/chrome/browser/extensions/user_script_master.h index 7fc8a10..82adab0 100644 --- a/chrome/browser/extensions/user_script_master.h +++ b/chrome/browser/extensions/user_script_master.h @@ -12,6 +12,7 @@ #include "base/shared_memory.h" #include "chrome/browser/chrome_thread.h" #include "chrome/common/extensions/user_script.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" namespace base { diff --git a/chrome/browser/find_bar_controller.h b/chrome/browser/find_bar_controller.h index c885a5f..4d949a3 100644 --- a/chrome/browser/find_bar_controller.h +++ b/chrome/browser/find_bar_controller.h @@ -8,6 +8,7 @@ #include "base/basictypes.h" #include "base/scoped_ptr.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" namespace gfx { diff --git a/chrome/browser/google_url_tracker.h b/chrome/browser/google_url_tracker.h index 9d6b218..e852e18 100644 --- a/chrome/browser/google_url_tracker.h +++ b/chrome/browser/google_url_tracker.h @@ -11,6 +11,7 @@ #include "base/gtest_prod_util.h" #include "base/scoped_ptr.h" #include "chrome/common/net/url_fetcher.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "googleurl/src/gurl.h" #include "net/base/network_change_notifier.h" diff --git a/chrome/browser/gtk/collected_cookies_gtk.h b/chrome/browser/gtk/collected_cookies_gtk.h index 3f2bab7..a68d963 100644 --- a/chrome/browser/gtk/collected_cookies_gtk.h +++ b/chrome/browser/gtk/collected_cookies_gtk.h @@ -15,6 +15,7 @@ #include "chrome/browser/gtk/constrained_window_gtk.h" #include "chrome/browser/gtk/gtk_tree.h" #include "chrome/common/content_settings.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class CookiesTreeModel; diff --git a/chrome/browser/gtk/content_setting_bubble_gtk.h b/chrome/browser/gtk/content_setting_bubble_gtk.h index 3afa00e..2fccd66 100644 --- a/chrome/browser/gtk/content_setting_bubble_gtk.h +++ b/chrome/browser/gtk/content_setting_bubble_gtk.h @@ -12,6 +12,7 @@ #include "base/scoped_ptr.h" #include "chrome/browser/gtk/info_bubble_gtk.h" #include "chrome/common/content_settings_types.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class ContentSettingBubbleModel; diff --git a/chrome/browser/gtk/info_bubble_gtk.h b/chrome/browser/gtk/info_bubble_gtk.h index 2da6d2f..39070ee 100644 --- a/chrome/browser/gtk/info_bubble_gtk.h +++ b/chrome/browser/gtk/info_bubble_gtk.h @@ -19,6 +19,7 @@ #include "app/gtk_signal.h" #include "app/gtk_signal_registrar.h" #include "base/basictypes.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "gfx/point.h" #include "gfx/rect.h" diff --git a/chrome/browser/gtk/infobar_container_gtk.h b/chrome/browser/gtk/infobar_container_gtk.h index 76b0251..441072f 100644 --- a/chrome/browser/gtk/infobar_container_gtk.h +++ b/chrome/browser/gtk/infobar_container_gtk.h @@ -8,6 +8,7 @@ #include "base/basictypes.h" #include "chrome/browser/gtk/owned_widget_gtk.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class InfoBarDelegate; diff --git a/chrome/browser/gtk/tab_contents_container_gtk.h b/chrome/browser/gtk/tab_contents_container_gtk.h index 8133620..0b3a959 100644 --- a/chrome/browser/gtk/tab_contents_container_gtk.h +++ b/chrome/browser/gtk/tab_contents_container_gtk.h @@ -11,6 +11,7 @@ #include "base/basictypes.h" #include "chrome/browser/gtk/owned_widget_gtk.h" #include "chrome/browser/gtk/view_id_util.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class RenderViewHost; diff --git a/chrome/browser/gtk/tabs/dragged_tab_controller_gtk.h b/chrome/browser/gtk/tabs/dragged_tab_controller_gtk.h index 66bbbba..a9fba9d 100644 --- a/chrome/browser/gtk/tabs/dragged_tab_controller_gtk.h +++ b/chrome/browser/gtk/tabs/dragged_tab_controller_gtk.h @@ -15,6 +15,7 @@ #include "base/timer.h" #include "chrome/browser/dock_info.h" #include "chrome/browser/tab_contents/tab_contents_delegate.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class DraggedTabGtk; diff --git a/chrome/browser/history/in_memory_history_backend.h b/chrome/browser/history/in_memory_history_backend.h index 72cf351..bfa51d8 100644 --- a/chrome/browser/history/in_memory_history_backend.h +++ b/chrome/browser/history/in_memory_history_backend.h @@ -17,6 +17,7 @@ #include "base/basictypes.h" #include "base/gtest_prod_util.h" #include "base/scoped_ptr.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class FilePath; diff --git a/chrome/browser/idbbindingutilities_browsertest.cc b/chrome/browser/idbbindingutilities_browsertest.cc index 3172012..a408379 100644 --- a/chrome/browser/idbbindingutilities_browsertest.cc +++ b/chrome/browser/idbbindingutilities_browsertest.cc @@ -14,6 +14,7 @@ #include "googleurl/src/gurl.h" #include "testing/gtest/include/gtest/gtest.h" #include "webkit/glue/idb_bindings.h" +#include "third_party/WebKit/WebKit/chromium/public/WebSerializedScriptValue.h" using WebKit::WebSerializedScriptValue; diff --git a/chrome/browser/importer/importer.h b/chrome/browser/importer/importer.h index 8dc42fd..e20f312 100644 --- a/chrome/browser/importer/importer.h +++ b/chrome/browser/importer/importer.h @@ -19,6 +19,7 @@ #include "chrome/browser/importer/importer_list.h" #include "chrome/browser/importer/profile_writer.h" #include "chrome/browser/profile_import_process_host.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "gfx/native_widget_types.h" diff --git a/chrome/browser/intranet_redirect_detector.h b/chrome/browser/intranet_redirect_detector.h index 8ee3191..1861dce 100644 --- a/chrome/browser/intranet_redirect_detector.h +++ b/chrome/browser/intranet_redirect_detector.h @@ -11,6 +11,7 @@ #include <vector> #include "chrome/common/net/url_fetcher.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "googleurl/src/gurl.h" #include "net/base/host_resolver_proc.h" diff --git a/chrome/browser/mach_broker_mac.h b/chrome/browser/mach_broker_mac.h index b9a26c9..58ef3e1 100644 --- a/chrome/browser/mach_broker_mac.h +++ b/chrome/browser/mach_broker_mac.h @@ -14,6 +14,7 @@ #include "base/process.h" #include "base/process_util.h" #include "base/singleton.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" // On OS X, the mach_port_t of a process is required to collect metrics about diff --git a/chrome/browser/metrics/metrics_service.h b/chrome/browser/metrics/metrics_service.h index db402a5..650935a 100644 --- a/chrome/browser/metrics/metrics_service.h +++ b/chrome/browser/metrics/metrics_service.h @@ -18,6 +18,7 @@ #include "base/scoped_ptr.h" #include "chrome/common/metrics_helpers.h" #include "chrome/common/net/url_fetcher.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #if defined(OS_CHROMEOS) diff --git a/chrome/browser/modal_html_dialog_delegate.h b/chrome/browser/modal_html_dialog_delegate.h index e734756..54809ba 100644 --- a/chrome/browser/modal_html_dialog_delegate.h +++ b/chrome/browser/modal_html_dialog_delegate.h @@ -9,6 +9,7 @@ #include <vector> #include "chrome/browser/dom_ui/html_dialog_ui.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" namespace gfx { diff --git a/chrome/browser/pref_notifier.h b/chrome/browser/pref_notifier.h index 5392c45..1a4d7d7 100644 --- a/chrome/browser/pref_notifier.h +++ b/chrome/browser/pref_notifier.h @@ -12,6 +12,7 @@ #include "base/hash_tables.h" #include "base/non_thread_safe.h" #include "base/observer_list.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class NotificationObserver; diff --git a/chrome/browser/pref_set_observer_unittest.cc b/chrome/browser/pref_set_observer_unittest.cc index 4426da2..84fa7e5 100644 --- a/chrome/browser/pref_set_observer_unittest.cc +++ b/chrome/browser/pref_set_observer_unittest.cc @@ -3,7 +3,9 @@ // found in the LICENSE file. #include "chrome/browser/pref_set_observer.h" +#include "chrome/common/notification_details.h" #include "chrome/common/notification_observer_mock.h" +#include "chrome/common/notification_source.h" #include "chrome/common/pref_names.h" #include "chrome/test/testing_pref_service.h" #include "testing/gmock/include/gmock/gmock.h" diff --git a/chrome/browser/printing/print_job.h b/chrome/browser/printing/print_job.h index 35b46b9..b4eeb97 100644 --- a/chrome/browser/printing/print_job.h +++ b/chrome/browser/printing/print_job.h @@ -10,6 +10,7 @@ #include "base/message_loop.h" #include "base/scoped_ptr.h" #include "chrome/browser/printing/print_job_worker_owner.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "gfx/native_widget_types.h" diff --git a/chrome/browser/printing/print_job_manager.h b/chrome/browser/printing/print_job_manager.h index 15aaa9c..59cc1ce 100644 --- a/chrome/browser/printing/print_job_manager.h +++ b/chrome/browser/printing/print_job_manager.h @@ -10,6 +10,7 @@ #include "base/lock.h" #include "base/ref_counted.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" namespace printing { diff --git a/chrome/browser/printing/print_view_manager.h b/chrome/browser/printing/print_view_manager.h index a8607a0..dad9970 100644 --- a/chrome/browser/printing/print_view_manager.h +++ b/chrome/browser/printing/print_view_manager.h @@ -8,6 +8,7 @@ #include "base/ref_counted.h" #include "chrome/browser/renderer_host/render_view_host_delegate.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "printing/printed_pages_source.h" diff --git a/chrome/browser/profile_impl.h b/chrome/browser/profile_impl.h index 910327a..a219f12 100644 --- a/chrome/browser/profile_impl.h +++ b/chrome/browser/profile_impl.h @@ -14,6 +14,7 @@ #include "base/timer.h" #include "chrome/browser/profile.h" #include "chrome/browser/spellcheck_host_observer.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #if defined(OS_CHROMEOS) diff --git a/chrome/browser/renderer_host/render_widget_host_view_win.h b/chrome/browser/renderer_host/render_widget_host_view_win.h index a177f00..9d17aa6 100644 --- a/chrome/browser/renderer_host/render_widget_host_view_win.h +++ b/chrome/browser/renderer_host/render_widget_host_view_win.h @@ -19,6 +19,7 @@ #include "chrome/browser/browser_accessibility_manager_win.h" #include "chrome/browser/ime_input.h" #include "chrome/browser/renderer_host/render_widget_host_view.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "webkit/glue/webcursor.h" diff --git a/chrome/browser/renderer_host/safe_browsing_resource_handler.h b/chrome/browser/renderer_host/safe_browsing_resource_handler.h index cc7f821..14ddd4b 100644 --- a/chrome/browser/renderer_host/safe_browsing_resource_handler.h +++ b/chrome/browser/renderer_host/safe_browsing_resource_handler.h @@ -14,6 +14,7 @@ #include "chrome/browser/renderer_host/resource_dispatcher_host.h" #include "chrome/browser/renderer_host/resource_handler.h" #include "chrome/browser/safe_browsing/safe_browsing_service.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" // SafeBrowsingResourceHandler checks that URLs are "safe" before navigating diff --git a/chrome/browser/repost_form_warning_controller.h b/chrome/browser/repost_form_warning_controller.h index c4c8f04..fb8cf28 100644 --- a/chrome/browser/repost_form_warning_controller.h +++ b/chrome/browser/repost_form_warning_controller.h @@ -7,6 +7,7 @@ #pragma once #include "chrome/browser/tab_contents/constrained_window.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class TabContents; diff --git a/chrome/browser/search_engines/template_url_model.h b/chrome/browser/search_engines/template_url_model.h index 416c90e..add796a 100644 --- a/chrome/browser/search_engines/template_url_model.h +++ b/chrome/browser/search_engines/template_url_model.h @@ -12,6 +12,7 @@ #include "base/observer_list.h" #include "base/scoped_ptr.h" #include "chrome/browser/webdata/web_data_service.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class GURL; diff --git a/chrome/browser/tab_contents/interstitial_page.h b/chrome/browser/tab_contents/interstitial_page.h index aa2507a..ccfeb7b 100644 --- a/chrome/browser/tab_contents/interstitial_page.h +++ b/chrome/browser/tab_contents/interstitial_page.h @@ -11,6 +11,7 @@ #include "base/scoped_ptr.h" #include "chrome/browser/renderer_host/render_view_host_delegate.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "chrome/common/renderer_preferences.h" #include "gfx/size.h" diff --git a/chrome/browser/tabs/tab_strip_model.h b/chrome/browser/tabs/tab_strip_model.h index 1f75067..5143207 100644 --- a/chrome/browser/tabs/tab_strip_model.h +++ b/chrome/browser/tabs/tab_strip_model.h @@ -9,6 +9,7 @@ #include <vector> #include "base/observer_list.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "chrome/common/page_transition_types.h" diff --git a/chrome/browser/views/collected_cookies_win.h b/chrome/browser/views/collected_cookies_win.h index a3675ae..93449bf 100644 --- a/chrome/browser/views/collected_cookies_win.h +++ b/chrome/browser/views/collected_cookies_win.h @@ -10,6 +10,7 @@ #include "chrome/browser/tab_contents/constrained_window.h" #include "chrome/common/content_settings.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "views/controls/tree/tree_view.h" #include "views/window/dialog_delegate.h" diff --git a/chrome/browser/views/content_setting_bubble_contents.h b/chrome/browser/views/content_setting_bubble_contents.h index f0b9119..b469cc2 100644 --- a/chrome/browser/views/content_setting_bubble_contents.h +++ b/chrome/browser/views/content_setting_bubble_contents.h @@ -9,6 +9,7 @@ #include <map> #include "chrome/common/content_settings_types.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "views/controls/button/button.h" #include "views/controls/link.h" diff --git a/chrome/browser/views/infobars/infobar_container.h b/chrome/browser/views/infobars/infobar_container.h index 662b313..601d111 100644 --- a/chrome/browser/views/infobars/infobar_container.h +++ b/chrome/browser/views/infobars/infobar_container.h @@ -6,6 +6,7 @@ #define CHROME_BROWSER_VIEWS_INFOBARS_INFOBAR_CONTAINER_H_ #pragma once +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "views/view.h" diff --git a/chrome/browser/views/tab_contents/tab_contents_container.h b/chrome/browser/views/tab_contents/tab_contents_container.h index c2a59d9..5f273ce 100644 --- a/chrome/browser/views/tab_contents/tab_contents_container.h +++ b/chrome/browser/views/tab_contents/tab_contents_container.h @@ -7,6 +7,7 @@ #pragma once #include "chrome/browser/views/tab_contents/native_tab_contents_container.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "views/view.h" diff --git a/chrome/browser/views/tabs/dragged_tab_controller.h b/chrome/browser/views/tabs/dragged_tab_controller.h index dca71cb..4c2c66d 100644 --- a/chrome/browser/views/tabs/dragged_tab_controller.h +++ b/chrome/browser/views/tabs/dragged_tab_controller.h @@ -11,6 +11,7 @@ #include "base/timer.h" #include "chrome/browser/dock_info.h" #include "chrome/browser/tab_contents/tab_contents_delegate.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "gfx/rect.h" diff --git a/chrome/browser/views/theme_install_bubble_view.h b/chrome/browser/views/theme_install_bubble_view.h index 8639474b2..dfe9dc4 100644 --- a/chrome/browser/views/theme_install_bubble_view.h +++ b/chrome/browser/views/theme_install_bubble_view.h @@ -8,6 +8,7 @@ #include <string> +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "chrome/common/notification_service.h" #include "gfx/canvas.h" diff --git a/chrome/browser/worker_host/message_port_dispatcher.h b/chrome/browser/worker_host/message_port_dispatcher.h index cb1d618..70747bd 100644 --- a/chrome/browser/worker_host/message_port_dispatcher.h +++ b/chrome/browser/worker_host/message_port_dispatcher.h @@ -15,6 +15,7 @@ #include "base/singleton.h" #include "base/string16.h" #include "base/task.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "ipc/ipc_message.h" diff --git a/chrome/browser/zygote_main_linux.cc b/chrome/browser/zygote_main_linux.cc index 506825c..56c2b0b 100644 --- a/chrome/browser/zygote_main_linux.cc +++ b/chrome/browser/zygote_main_linux.cc @@ -27,6 +27,7 @@ #include "base/linux_util.h" #include "base/path_service.h" #include "base/pickle.h" +#include "base/process_util.h" #include "base/rand_util.h" #include "base/scoped_ptr.h" #include "base/sys_info.h" diff --git a/chrome/common/chrome_plugin_util.h b/chrome/common/chrome_plugin_util.h index f9e7673..5e78245 100644 --- a/chrome/common/chrome_plugin_util.h +++ b/chrome/common/chrome_plugin_util.h @@ -12,6 +12,7 @@ #include "base/non_thread_safe.h" #include "base/ref_counted.h" #include "chrome/common/chrome_plugin_api.h" +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" class ChromePluginLib; diff --git a/chrome/common/notification_observer_mock.h b/chrome/common/notification_observer_mock.h index 8bd096e..0385f26 100644 --- a/chrome/common/notification_observer_mock.h +++ b/chrome/common/notification_observer_mock.h @@ -6,12 +6,13 @@ #define CHROME_COMMON_NOTIFICATION_OBSERVER_MOCK_H_ #pragma once -#include "chrome/common/notification_details.h" #include "chrome/common/notification_observer.h" -#include "chrome/common/notification_source.h" #include "chrome/common/notification_type.h" #include "testing/gmock/include/gmock/gmock.h" +class NotificationDetails; +class NotificationSource; + class NotificationObserverMock : public NotificationObserver { public: NotificationObserverMock() {} diff --git a/chrome/common/notification_registrar.h b/chrome/common/notification_registrar.h index eb83712..1207d99 100644 --- a/chrome/common/notification_registrar.h +++ b/chrome/common/notification_registrar.h @@ -9,7 +9,10 @@ #include <vector> #include "base/basictypes.h" -#include "chrome/common/notification_observer.h" +#include "chrome/common/notification_type.h" + +class NotificationObserver; +class NotificationSource; // Aids in registering for notifications and ensures that all registered // notifications are unregistered when the class is destroyed. diff --git a/chrome/common/notification_service.cc b/chrome/common/notification_service.cc index e127ccf..be4b1b7 100644 --- a/chrome/common/notification_service.cc +++ b/chrome/common/notification_service.cc @@ -6,6 +6,7 @@ #include "base/lazy_instance.h" #include "base/thread_local.h" +#include "chrome/common/notification_observer.h" static base::LazyInstance<base::ThreadLocalPointer<NotificationService> > lazy_tls_ptr(base::LINKER_INITIALIZED); diff --git a/chrome/common/notification_service.h b/chrome/common/notification_service.h index 8945c63..c20b98d 100644 --- a/chrome/common/notification_service.h +++ b/chrome/common/notification_service.h @@ -14,7 +14,6 @@ #include "base/observer_list.h" #include "chrome/common/notification_details.h" -#include "chrome/common/notification_observer.h" #include "chrome/common/notification_source.h" #include "chrome/common/notification_type.h" diff --git a/chrome/common/notification_service_unittest.cc b/chrome/common/notification_service_unittest.cc index d65f6e5..8578eb9 100644 --- a/chrome/common/notification_service_unittest.cc +++ b/chrome/common/notification_service_unittest.cc @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "chrome/common/notification_service.h" #include "testing/gtest/include/gtest/gtest.h" diff --git a/chrome/common/page_zoom.h b/chrome/common/page_zoom.h index 0f3ad65..25fd3886 100644 --- a/chrome/common/page_zoom.h +++ b/chrome/common/page_zoom.h @@ -6,6 +6,8 @@ #define CHROME_COMMON_PAGE_ZOOM_H_ #pragma once +#include "base/basictypes.h" + class PageZoom { public: // This enum is the parameter to various text/page zoom commands so we know diff --git a/chrome/common/pepper_plugin_registry.h b/chrome/common/pepper_plugin_registry.h index 562d26c..9b12f7e 100644 --- a/chrome/common/pepper_plugin_registry.h +++ b/chrome/common/pepper_plugin_registry.h @@ -6,8 +6,8 @@ #define CHROME_COMMON_PEPPER_PLUGIN_REGISTRY_H_ #pragma once -#include <string> #include <map> +#include <string> #include <vector> #include "base/file_path.h" diff --git a/chrome/common/plugin_group.cc b/chrome/common/plugin_group.cc index 5673fc5..5d3a933 100644 --- a/chrome/common/plugin_group.cc +++ b/chrome/common/plugin_group.cc @@ -4,11 +4,13 @@ #include "chrome/common/plugin_group.h" +#include "base/linked_ptr.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "base/values.h" #include "base/version.h" #include "webkit/glue/plugins/plugin_list.h" +#include "webkit/glue/plugins/webplugininfo.h" #if defined(OS_MACOSX) // Plugin Groups for Mac. diff --git a/chrome/common/plugin_group.h b/chrome/common/plugin_group.h index 0518c9f..22acb88 100644 --- a/chrome/common/plugin_group.h +++ b/chrome/common/plugin_group.h @@ -10,13 +10,16 @@ #include <vector> #include "base/gtest_prod_util.h" -#include "base/linked_ptr.h" #include "base/scoped_ptr.h" #include "base/string16.h" -#include "webkit/glue/plugins/webplugininfo.h" class DictionaryValue; +class FilePath; class Version; +struct WebPluginInfo; + +template <typename T> +class linked_ptr; // Hard-coded definitions of plugin groups. struct PluginGroupDefinition { diff --git a/chrome/common/process_watcher.h b/chrome/common/process_watcher.h index f28eca6..54550aa 100644 --- a/chrome/common/process_watcher.h +++ b/chrome/common/process_watcher.h @@ -9,7 +9,7 @@ #include "build/build_config.h" #include "base/basictypes.h" -#include "base/process_util.h" +#include "base/process.h" class ProcessWatcher { public: diff --git a/chrome/common/property_bag.cc b/chrome/common/property_bag.cc index dc25961..6974f3c 100644 --- a/chrome/common/property_bag.cc +++ b/chrome/common/property_bag.cc @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "base/linked_ptr.h" #include "chrome/common/property_bag.h" PropertyBag::PropertyBag() { diff --git a/chrome/common/property_bag.h b/chrome/common/property_bag.h index dffcf7c..d0d7c89 100644 --- a/chrome/common/property_bag.h +++ b/chrome/common/property_bag.h @@ -9,8 +9,9 @@ #include <map> #include "base/basictypes.h" -#include "base/linked_ptr.h" +template <typename T> +class linked_ptr; class PropertyAccessorBase; // A property bag holds a generalized list of arbitrary metadata called diff --git a/chrome/common/serialized_script_value.cc b/chrome/common/serialized_script_value.cc index 776cfc7..deff44c 100644 --- a/chrome/common/serialized_script_value.cc +++ b/chrome/common/serialized_script_value.cc @@ -4,6 +4,7 @@ #include "chrome/common/serialized_script_value.h" +#include "third_party/WebKit/WebKit/chromium/public/WebSerializedScriptValue.h" #include "third_party/WebKit/WebKit/chromium/public/WebString.h" using WebKit::WebSerializedScriptValue; diff --git a/chrome/common/serialized_script_value.h b/chrome/common/serialized_script_value.h index 75baef6..9848d13 100644 --- a/chrome/common/serialized_script_value.h +++ b/chrome/common/serialized_script_value.h @@ -7,7 +7,10 @@ #pragma once #include "base/string16.h" -#include "third_party/WebKit/WebKit/chromium/public/WebSerializedScriptValue.h" + +namespace WebKit { +class WebSerializedScriptValue; +} class SerializedScriptValue { public: diff --git a/chrome/common/socket_stream_dispatcher.cc b/chrome/common/socket_stream_dispatcher.cc index 83ef0e1..1ad0be6 100644 --- a/chrome/common/socket_stream_dispatcher.cc +++ b/chrome/common/socket_stream_dispatcher.cc @@ -14,6 +14,7 @@ #include "chrome/common/render_messages.h" #include "chrome/common/net/socket_stream.h" #include "googleurl/src/gurl.h" +#include "ipc/ipc_message.h" #include "webkit/glue/websocketstreamhandle_bridge.h" #include "webkit/glue/websocketstreamhandle_delegate.h" diff --git a/chrome/common/socket_stream_dispatcher.h b/chrome/common/socket_stream_dispatcher.h index 2640ed4..e0bf58f 100644 --- a/chrome/common/socket_stream_dispatcher.h +++ b/chrome/common/socket_stream_dispatcher.h @@ -9,9 +9,19 @@ #include <vector> #include "base/basictypes.h" -#include "ipc/ipc_channel.h" -#include "ipc/ipc_message.h" -#include "webkit/glue/websocketstreamhandle_bridge.h" + +namespace IPC { +class Message; +} + +namespace WebKit { +class WebSocketStreamHandle; +} + +namespace webkit_glue { +class WebSocketStreamHandleBridge; +class WebSocketStreamHandleDelegate; +} // Dispatches socket stream related messages sent to a child process from the // main browser process. There is one instance per child process. Messages diff --git a/chrome/renderer/blocked_plugin.h b/chrome/renderer/blocked_plugin.h index 40a601d..fa3eaee 100644 --- a/chrome/renderer/blocked_plugin.h +++ b/chrome/renderer/blocked_plugin.h @@ -6,6 +6,7 @@ #define CHROME_RENDERER_BLOCKED_PLUGIN_H_ #pragma once +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "third_party/WebKit/WebKit/chromium/public/WebPluginParams.h" #include "webkit/glue/cpp_bound_class.h" diff --git a/chrome/test/test_notification_tracker.h b/chrome/test/test_notification_tracker.h index c63cf7a..fd6f928 100644 --- a/chrome/test/test_notification_tracker.h +++ b/chrome/test/test_notification_tracker.h @@ -8,6 +8,7 @@ #include <vector> +#include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" #include "chrome/common/notification_service.h" diff --git a/chrome/utility/utility_thread.cc b/chrome/utility/utility_thread.cc index fd6abce..11d8b3f 100644 --- a/chrome/utility/utility_thread.cc +++ b/chrome/utility/utility_thread.cc @@ -26,7 +26,7 @@ #include "third_party/skia/include/core/SkBitmap.h" #include "webkit/glue/idb_bindings.h" #include "webkit/glue/image_decoder.h" - +#include "third_party/WebKit/WebKit/chromium/public/WebSerializedScriptValue.h" namespace { |