diff options
26 files changed, 20 insertions, 74 deletions
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h index 1af2485..583549e 100644 --- a/chrome/browser/automation/automation_provider.h +++ b/chrome/browser/automation/automation_provider.h @@ -38,7 +38,6 @@ #include "views/events/event.h" #endif // defined(OS_WIN) && !defined(USE_AURA) -class PopupMenuWaiter; class TabContents; struct AutomationMsg_Find_Params; struct Reposition_Params; @@ -48,18 +47,14 @@ namespace IPC { class ChannelProxy; } -class AutofillProfile; class AutomationBrowserTracker; class AutomationExtensionTracker; -class AutomationOmniboxTracker; class AutomationResourceMessageFilter; class AutomationTabTracker; class AutomationWindowTracker; class Browser; -class CreditCard; class DownloadItem; class Extension; -class ExtensionPortContainer; class ExtensionTestResultNotificationObserver; class ExternalTabContainer; class FilePath; @@ -71,7 +66,6 @@ class NavigationControllerRestoredObserver; class Profile; class RenderViewHost; class TabContents; -struct AutocompleteMatchData; namespace base { class DictionaryValue; diff --git a/chrome/browser/automation/automation_provider_observers.h b/chrome/browser/automation/automation_provider_observers.h index 48b2cc4..b3ace23 100644 --- a/chrome/browser/automation/automation_provider_observers.h +++ b/chrome/browser/automation/automation_provider_observers.h @@ -53,7 +53,6 @@ #include "content/public/browser/notification_types.h" #include "ui/gfx/size.h" -class AutocompleteEditModel; class AutomationProvider; class BalloonCollection; class Browser; diff --git a/chrome/browser/automation/testing_automation_provider.h b/chrome/browser/automation/testing_automation_provider.h index 3402685..5ca8acf 100644 --- a/chrome/browser/automation/testing_automation_provider.h +++ b/chrome/browser/automation/testing_automation_provider.h @@ -6,7 +6,9 @@ #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ #pragma once +#include <map> #include <string> +#include <vector> #include "base/basictypes.h" #include "base/compiler_specific.h" @@ -27,8 +29,9 @@ #include "chrome/browser/chromeos/dbus/power_manager_client.h" #endif // defined(OS_CHROMEOS) +class AutofillProfile; +class CreditCard; class ImporterList; -class TemplateURLService; namespace base { class DictionaryValue; @@ -44,9 +47,8 @@ class TestingAutomationProvider : public AutomationProvider, public importer::ImporterListObserver, #if defined(OS_CHROMEOS) public chromeos::PowerManagerClient::Observer, -#endif // defined(OS_CHROMEOS) +#endif // defined(OS_CHROMEOS) public content::NotificationObserver { - public: explicit TestingAutomationProvider(Profile* profile); @@ -265,7 +267,7 @@ class TestingAutomationProvider : public AutomationProvider, // Get the bookmarks as a JSON string. void GetBookmarksAsJSON(int handle, std::string* bookmarks_as_json, - bool *success); + bool* success); // Wait for the bookmark model to load. void WaitForBookmarkModelToLoad(int handle, IPC::Message* reply_message); diff --git a/chrome/browser/background/background_application_list_model.h b/chrome/browser/background/background_application_list_model.h index 6adf8e2..333d850 100644 --- a/chrome/browser/background/background_application_list_model.h +++ b/chrome/browser/background/background_application_list_model.h @@ -15,8 +15,6 @@ #include "content/public/browser/notification_observer.h" #include "content/public/browser/notification_registrar.h" -class ExtensionService; -class PrefService; class Profile; // Model for list of Background Applications, that is, Extensions with diff --git a/chrome/browser/background/background_contents_service.h b/chrome/browser/background/background_contents_service.h index bc61dcc..7143418 100644 --- a/chrome/browser/background/background_contents_service.h +++ b/chrome/browser/background/background_contents_service.h @@ -7,6 +7,7 @@ #pragma once #include <map> +#include <string> #include <vector> #include "base/gtest_prod_util.h" @@ -21,7 +22,6 @@ #include "webkit/glue/window_open_disposition.h" class CommandLine; -class NotificationDelegate; class PrefService; class Profile; class TabContents; diff --git a/chrome/browser/bookmarks/bookmark_html_writer.h b/chrome/browser/bookmarks/bookmark_html_writer.h index c84aae2..fc66d3c 100644 --- a/chrome/browser/bookmarks/bookmark_html_writer.h +++ b/chrome/browser/bookmarks/bookmark_html_writer.h @@ -17,7 +17,6 @@ class BookmarkNode; class FilePath; -class GURL; class Profile; // Observer for bookmark html output. Used only in tests. diff --git a/chrome/browser/browser_about_handler.h b/chrome/browser/browser_about_handler.h index 2779cc3..5a56215 100644 --- a/chrome/browser/browser_about_handler.h +++ b/chrome/browser/browser_about_handler.h @@ -18,7 +18,6 @@ template <typename T> struct DefaultSingletonTraits; class GURL; -class Profile; namespace content { class BrowserContext; diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h index 5c0ced3..070d456 100644 --- a/chrome/browser/browser_process_impl.h +++ b/chrome/browser/browser_process_impl.h @@ -30,8 +30,6 @@ class ChromeNetLog; class ChromeResourceDispatcherHostDelegate; class CommandLine; class DevToolsProtocolHandler; -class FilePath; -class PluginDataRemover; class RemoteDebuggingServer; class TabCloseableStateWatcher; diff --git a/chrome/browser/browsing_data_quota_helper.h b/chrome/browser/browsing_data_quota_helper.h index 53cc4a2..55987b1 100644 --- a/chrome/browser/browsing_data_quota_helper.h +++ b/chrome/browser/browsing_data_quota_helper.h @@ -16,13 +16,8 @@ #include "content/public/browser/browser_thread.h" #include "webkit/quota/quota_types.h" -class Profile; - -namespace quota { -class QuotaManager; -} - class BrowsingDataQuotaHelper; +class Profile; struct BrowsingDataQuotaHelperDeleter { static void Destruct(const BrowsingDataQuotaHelper* helper); diff --git a/chrome/browser/browsing_data_remover.h b/chrome/browser/browsing_data_remover.h index f30ab36..f7ff285 100644 --- a/chrome/browser/browsing_data_remover.h +++ b/chrome/browser/browsing_data_remover.h @@ -6,7 +6,7 @@ #define CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ #pragma once -#include <vector> +#include <set> #include "base/memory/ref_counted.h" #include "base/observer_list.h" @@ -32,10 +32,6 @@ namespace net { class URLRequestContextGetter; } -namespace webkit_database { -class DatabaseTracker; -} - namespace quota { class QuotaManager; } diff --git a/chrome/browser/component_updater/flash_component_installer.h b/chrome/browser/component_updater/flash_component_installer.h index e826b5b..95c3764 100644 --- a/chrome/browser/component_updater/flash_component_installer.h +++ b/chrome/browser/component_updater/flash_component_installer.h @@ -7,7 +7,6 @@ #pragma once class ComponentUpdateService; -class FilePath; class Version; namespace base { diff --git a/chrome/browser/debugger/inspectable_tab_proxy.h b/chrome/browser/debugger/inspectable_tab_proxy.h index 0ccaf76..90aef6b 100644 --- a/chrome/browser/debugger/inspectable_tab_proxy.h +++ b/chrome/browser/debugger/inspectable_tab_proxy.h @@ -15,7 +15,6 @@ class DebuggerRemoteService; class DevToolsClientHost; class DevToolsClientHostImpl; -struct DevToolsMessageData; class TabContentsWrapper; // Proxies debugged tabs' TabContentsWrapper using their UIDs. diff --git a/chrome/browser/favicon/favicon_tab_helper.h b/chrome/browser/favicon/favicon_tab_helper.h index 9247415..0bb0c1e 100644 --- a/chrome/browser/favicon/favicon_tab_helper.h +++ b/chrome/browser/favicon/favicon_tab_helper.h @@ -6,6 +6,8 @@ #define CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_H_ #pragma once +#include <vector> + #include "base/basictypes.h" #include "base/callback_old.h" #include "chrome/browser/favicon/favicon_handler_delegate.h" @@ -16,7 +18,6 @@ class FaviconHandler; class NavigationEntry; -class RefCountedMemory; class SkBitmap; class TabContents; diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h index da09839..6e4970e 100644 --- a/chrome/browser/io_thread.h +++ b/chrome/browser/io_thread.h @@ -18,17 +18,12 @@ #include "net/base/network_change_notifier.h" class ChromeNetLog; -class ChromeURLRequestContextGetter; class ExtensionEventRouterForwarder; class MediaInternals; class PrefProxyConfigTrackerImpl; class PrefService; class SystemURLRequestContextGetter; -namespace base { -class ListValue; -} - namespace net { class CertVerifier; class CookieStore; diff --git a/chrome/browser/notifications/balloon_host.h b/chrome/browser/notifications/balloon_host.h index 257fba8..87c9418 100644 --- a/chrome/browser/notifications/balloon_host.h +++ b/chrome/browser/notifications/balloon_host.h @@ -19,7 +19,6 @@ class Balloon; class Browser; -class Profile; class SiteInstance; namespace IPC { diff --git a/chrome/browser/page_info_model.h b/chrome/browser/page_info_model.h index f0cc797..f101595 100644 --- a/chrome/browser/page_info_model.h +++ b/chrome/browser/page_info_model.h @@ -16,7 +16,6 @@ #include "ui/gfx/image/image.h" class PageInfoModelObserver; -class PrefService; class Profile; // The model that provides the information that should be displayed in the page diff --git a/chrome/browser/plugin_data_remover.h b/chrome/browser/plugin_data_remover.h index f36e0ff..9741c82 100644 --- a/chrome/browser/plugin_data_remover.h +++ b/chrome/browser/plugin_data_remover.h @@ -6,16 +6,16 @@ #define CHROME_BROWSER_PLUGIN_DATA_REMOVER_H_ #pragma once +#include <string> + #include "base/memory/ref_counted.h" #include "base/time.h" #include "content/browser/plugin_process_host.h" class PluginPrefs; class Profile; -class Task; namespace base { -class MessageLoopProxy; class WaitableEvent; } diff --git a/chrome/browser/plugin_observer.h b/chrome/browser/plugin_observer.h index 12f768c..a8d40d4 100644 --- a/chrome/browser/plugin_observer.h +++ b/chrome/browser/plugin_observer.h @@ -8,10 +8,8 @@ #include "content/browser/tab_contents/tab_contents_observer.h" -class FilePath; class GURL; class InfoBarDelegate; -class PluginInstallerInfoBarDelegate; class TabContentsWrapper; class PluginObserver : public TabContentsObserver { diff --git a/chrome/browser/plugin_prefs.h b/chrome/browser/plugin_prefs.h index 3792dfd..db17253 100644 --- a/chrome/browser/plugin_prefs.h +++ b/chrome/browser/plugin_prefs.h @@ -19,12 +19,7 @@ class Profile; -namespace content { -class ResourceContext; -} - namespace base { -class DictionaryValue; class ListValue; } diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h index d55f04d..2cf9b6d7 100644 --- a/chrome/browser/profiles/profile.h +++ b/chrome/browser/profiles/profile.h @@ -28,7 +28,6 @@ class ResetDefaultProxyConfigServiceTask; namespace fileapi { class FileSystemContext; -class SandboxedFileSystemContext; } namespace history { @@ -40,10 +39,6 @@ namespace net { class SSLConfigService; } -namespace speech_input { -class SpeechRecognizer; -} - namespace chrome_browser_net { class Predictor; } @@ -57,7 +52,6 @@ class ExtensionDevToolsManager; class ExtensionEventRouter; class ExtensionInfoMap; class ExtensionMessageService; -class ExtensionPrefValueMap; class ExtensionProcessManager; class ExtensionService; class ExtensionSpecialStoragePolicy; @@ -65,17 +59,12 @@ class FaviconService; class FindBarState; class HistoryService; class HostContentSettingsMap; -class NavigationController; class NetworkActionPredictor; class PasswordStore; class PrefService; -class ProfileSyncFactory; class ProfileSyncService; class PromoCounter; -class PromoResourceService; class ProtocolHandlerRegistry; -class SQLitePersistentCookieStore; -class SSLConfigServiceManager; class SpeechInputPreferences; class SpellCheckHost; class TemplateURLFetcher; @@ -83,7 +72,6 @@ class TestingProfile; class TokenService; class UserScriptMaster; class UserStyleSheetWatcher; -class VisitedLinkEventListener; class VisitedLinkMaster; class WebDataService; class WebUI; diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h index 482a7a9..dfe7a8b 100644 --- a/chrome/browser/profiles/profile_impl.h +++ b/chrome/browser/profiles/profile_impl.h @@ -8,6 +8,8 @@ #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ #pragma once +#include <string> + #include "base/file_path.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" @@ -21,11 +23,14 @@ class ExtensionNavigationObserver; class ExtensionPrefs; class ExtensionPrefValueMap; -class ExtensionSettings; class NetPrefObserver; class PrefService; +class ProfileSyncFactory; +class PromoResourceService; class SpeechInputPreferences; class SpellCheckProfile; +class SSLConfigServiceManager; +class VisitedLinkEventListener; #if defined(OS_CHROMEOS) namespace chromeos { diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h index f991ca7..a345366 100644 --- a/chrome/browser/profiles/profile_io_data.h +++ b/chrome/browser/profiles/profile_io_data.h @@ -6,7 +6,7 @@ #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ #pragma once -#include <set> +#include <string> #include "base/basictypes.h" #include "base/callback.h" @@ -20,7 +20,6 @@ #include "content/browser/resource_context.h" #include "net/base/cookie_monster.h" -class CommandLine; class ChromeAppCacheService; class ChromeBlobStorageContext; class CookieSettings; @@ -47,7 +46,6 @@ class CookieStore; class DnsCertProvenanceChecker; class FraudulentCertificateReporter; class HttpTransactionFactory; -class NetLog; class OriginBoundCertService; class ProxyConfigService; class ProxyService; @@ -170,7 +168,6 @@ class ProfileIOData { // ensure it's not accidently used on the IO thread. Before using it on the // UI thread, call ProfileManager::IsValidProfile to ensure it's alive. void* profile; - }; explicit ProfileIOData(bool is_incognito); diff --git a/chrome/browser/shell_integration.h b/chrome/browser/shell_integration.h index 5bd8dd0..0ef4194 100644 --- a/chrome/browser/shell_integration.h +++ b/chrome/browser/shell_integration.h @@ -16,7 +16,6 @@ class CommandLine; class FilePath; -class PrefService; #if defined(USE_X11) namespace base { diff --git a/chrome/browser/sidebar/sidebar_container.h b/chrome/browser/sidebar/sidebar_container.h index f368a73..e4ab45c 100644 --- a/chrome/browser/sidebar/sidebar_container.h +++ b/chrome/browser/sidebar/sidebar_container.h @@ -13,9 +13,6 @@ #include "chrome/browser/extensions/image_loading_tracker.h" #include "content/browser/tab_contents/tab_contents_delegate.h" -class BrowserWindow; -class Profile; -class RenderViewHost; class SkBitmap; class TabContents; diff --git a/chrome/browser/sidebar/sidebar_manager.h b/chrome/browser/sidebar/sidebar_manager.h index 3cf4281..1f2686c 100644 --- a/chrome/browser/sidebar/sidebar_manager.h +++ b/chrome/browser/sidebar/sidebar_manager.h @@ -15,8 +15,6 @@ #include "content/public/browser/notification_registrar.h" class GURL; -class PrefService; -class Profile; class SidebarContainer; class SkBitmap; class TabContents; @@ -149,4 +147,3 @@ class SidebarManager : public content::NotificationObserver, }; #endif // CHROME_BROWSER_SIDEBAR_SIDEBAR_MANAGER_H_ - diff --git a/chrome/browser/speech/speech_input_extension_api.h b/chrome/browser/speech/speech_input_extension_api.h index 157389e..a0c187c 100644 --- a/chrome/browser/speech/speech_input_extension_api.h +++ b/chrome/browser/speech/speech_input_extension_api.h @@ -9,8 +9,6 @@ #include "chrome/browser/extensions/extension_function.h" #include "content/public/browser/notification_observer.h" -class SpeechInputExtensionManager; - // Handles asynchronous operations such as starting or stopping speech // recognition in the framework of the extension API state machine. class SpeechInputAsyncFunction : public AsyncExtensionFunction, |