diff options
Diffstat (limited to 'chrome/browser/extensions')
26 files changed, 33 insertions, 52 deletions
diff --git a/chrome/browser/extensions/execute_code_in_tab_function.h b/chrome/browser/extensions/execute_code_in_tab_function.h index 4913e05..11b9cd8 100644 --- a/chrome/browser/extensions/execute_code_in_tab_function.h +++ b/chrome/browser/extensions/execute_code_in_tab_function.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -7,7 +7,6 @@ #pragma once #include <string> -#include <vector> #include "base/file_path.h" #include "chrome/browser/extensions/extension_function.h" @@ -15,8 +14,6 @@ #include "chrome/common/notification_service.h" #include "chrome/common/notification_registrar.h" -class MessageLoop; - // Implement API call tabs.executeScript and tabs.insertCSS. class ExecuteCodeInTabFunction : public AsyncExtensionFunction, public NotificationObserver { diff --git a/chrome/browser/extensions/extension_bookmark_helpers.cc b/chrome/browser/extensions/extension_bookmark_helpers.cc index a41c340..ad7cbb0 100644 --- a/chrome/browser/extensions/extension_bookmark_helpers.cc +++ b/chrome/browser/extensions/extension_bookmark_helpers.cc @@ -5,6 +5,8 @@ #include "chrome/browser/extensions/extension_bookmark_helpers.h" #include "base/string_number_conversions.h" +#include "base/values.h" +#include "chrome/browser/bookmarks/bookmark_model.h" #include "chrome/browser/extensions/extension_bookmarks_module_constants.h" namespace keys = extension_bookmarks_module_constants; diff --git a/chrome/browser/extensions/extension_bookmark_helpers.h b/chrome/browser/extensions/extension_bookmark_helpers.h index 7593819..5b0a381 100644 --- a/chrome/browser/extensions/extension_bookmark_helpers.h +++ b/chrome/browser/extensions/extension_bookmark_helpers.h @@ -6,8 +6,14 @@ #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARK_HELPERS_H_ #pragma once -#include "base/values.h" -#include "chrome/browser/bookmarks/bookmark_model.h" +#include <string> + +#include "base/basictypes.h" + +class BookmarkModel; +class BookmarkNode; +class DictionaryValue; +class ListValue; // Helper functions. namespace extension_bookmark_helpers { diff --git a/chrome/browser/extensions/extension_bookmark_manager_api.h b/chrome/browser/extensions/extension_bookmark_manager_api.h index 9445523..c129bd3 100644 --- a/chrome/browser/extensions/extension_bookmark_manager_api.h +++ b/chrome/browser/extensions/extension_bookmark_manager_api.h @@ -12,7 +12,6 @@ #include "chrome/browser/renderer_host/render_view_host_delegate.h" struct BookmarkDragData; -class BookmarkNode; class ListValue; class Profile; class TabContents; diff --git a/chrome/browser/extensions/extension_bookmarks_module.h b/chrome/browser/extensions/extension_bookmarks_module.h index 3105dfa..a2590bc 100644 --- a/chrome/browser/extensions/extension_bookmarks_module.h +++ b/chrome/browser/extensions/extension_bookmarks_module.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -7,6 +7,7 @@ #pragma once #include <list> +#include <set> #include <string> #include "base/singleton.h" diff --git a/chrome/browser/extensions/extension_cookies_helpers.cc b/chrome/browser/extensions/extension_cookies_helpers.cc index 2322c1d..3da90e7 100644 --- a/chrome/browser/extensions/extension_cookies_helpers.cc +++ b/chrome/browser/extensions/extension_cookies_helpers.cc @@ -7,6 +7,7 @@ #include "chrome/browser/extensions/extension_cookies_helpers.h" #include "base/logging.h" +#include "base/values.h" #include "chrome/browser/browser.h" #include "chrome/browser/extensions/extension_cookies_api_constants.h" #include "chrome/browser/extensions/extension_tabs_module.h" diff --git a/chrome/browser/extensions/extension_cookies_helpers.h b/chrome/browser/extensions/extension_cookies_helpers.h index 3565fe8..c7a5056 100644 --- a/chrome/browser/extensions/extension_cookies_helpers.h +++ b/chrome/browser/extensions/extension_cookies_helpers.h @@ -13,11 +13,12 @@ #include <string> -#include "base/values.h" #include "net/base/cookie_monster.h" class Browser; +class DictionaryValue; class Extension; +class ListValue; class Profile; namespace extension_cookies_helpers { diff --git a/chrome/browser/extensions/extension_data_deleter.h b/chrome/browser/extensions/extension_data_deleter.h index 9628616..9e78ab1 100644 --- a/chrome/browser/extensions/extension_data_deleter.h +++ b/chrome/browser/extensions/extension_data_deleter.h @@ -15,7 +15,6 @@ #include "googleurl/src/gurl.h" #include "webkit/database/database_tracker.h" -class Extension; class Profile; // A helper class that takes care of removing local storage, databases and diff --git a/chrome/browser/extensions/extension_devtools_bridge.h b/chrome/browser/extensions/extension_devtools_bridge.h index b9b8385..ad103a2 100644 --- a/chrome/browser/extensions/extension_devtools_bridge.h +++ b/chrome/browser/extensions/extension_devtools_bridge.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -14,7 +14,6 @@ #include "chrome/browser/extensions/extension_message_service.h" class Profile; -struct DevToolsMessageData; // This class is a DevToolsClientHost that fires extension events. class ExtensionDevToolsBridge : public DevToolsClientHost { diff --git a/chrome/browser/extensions/extension_devtools_browsertest.cc b/chrome/browser/extensions/extension_devtools_browsertest.cc index 85d34ac..b8f2300 100644 --- a/chrome/browser/extensions/extension_devtools_browsertest.cc +++ b/chrome/browser/extensions/extension_devtools_browsertest.cc @@ -1,9 +1,10 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/extension_devtools_browsertest.h" +#include "base/command_line.h" #include "chrome/common/chrome_switches.h" void ExtensionDevToolsBrowserTest::SetUpCommandLine(CommandLine* command_line) { diff --git a/chrome/browser/extensions/extension_devtools_browsertest.h b/chrome/browser/extensions/extension_devtools_browsertest.h index 5313abf..1f7c3ee 100644 --- a/chrome/browser/extensions/extension_devtools_browsertest.h +++ b/chrome/browser/extensions/extension_devtools_browsertest.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -6,9 +6,10 @@ #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DEVTOOLS_BROWSERTEST_H_ #pragma once -#include "base/command_line.h" #include "chrome/browser/extensions/extension_browsertest.h" +class CommandLine; + // Subclass of ExtensionBrowserTest that enables the devtools // command line features. class ExtensionDevToolsBrowserTest : public ExtensionBrowserTest { diff --git a/chrome/browser/extensions/extension_devtools_manager.h b/chrome/browser/extensions/extension_devtools_manager.h index 39f19bb..dc28456 100644 --- a/chrome/browser/extensions/extension_devtools_manager.h +++ b/chrome/browser/extensions/extension_devtools_manager.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -9,6 +9,7 @@ #include <map> #include <set> #include <string> + #include "base/linked_ptr.h" #include "base/ref_counted.h" diff --git a/chrome/browser/extensions/extension_disabled_infobar_delegate.cc b/chrome/browser/extensions/extension_disabled_infobar_delegate.cc index 18812a9..3f99c32 100644 --- a/chrome/browser/extensions/extension_disabled_infobar_delegate.cc +++ b/chrome/browser/extensions/extension_disabled_infobar_delegate.cc @@ -4,6 +4,8 @@ #include "chrome/browser/extensions/extension_disabled_infobar_delegate.h" +#include <string> + #include "app/l10n_util.h" #include "chrome/browser/chrome_thread.h" #include "chrome/browser/extensions/extension_install_ui.h" diff --git a/chrome/browser/extensions/extension_disabled_infobar_delegate.h b/chrome/browser/extensions/extension_disabled_infobar_delegate.h index 2880297..513951ec 100644 --- a/chrome/browser/extensions/extension_disabled_infobar_delegate.h +++ b/chrome/browser/extensions/extension_disabled_infobar_delegate.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -6,8 +6,6 @@ #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_INFOBAR_DELEGATE_H_ #pragma once -#include <string> - #include "chrome/browser/extensions/extension_install_ui.h" #include "chrome/common/extensions/extension_resource.h" diff --git a/chrome/browser/extensions/extension_dom_ui.h b/chrome/browser/extensions/extension_dom_ui.h index cd0cb79..343a486 100644 --- a/chrome/browser/extensions/extension_dom_ui.h +++ b/chrome/browser/extensions/extension_dom_ui.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -18,7 +18,6 @@ class ListValue; class PrefService; class Profile; -class RefCountedMemory; class RenderViewHost; class TabContents; diff --git a/chrome/browser/extensions/extension_function_dispatcher.h b/chrome/browser/extensions/extension_function_dispatcher.h index 2a10328..e089e29 100644 --- a/chrome/browser/extensions/extension_function_dispatcher.h +++ b/chrome/browser/extensions/extension_function_dispatcher.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -7,7 +7,6 @@ #pragma once #include <string> -#include <set> #include <vector> #include "base/ref_counted.h" @@ -16,13 +15,10 @@ class Browser; class Extension; -class ExtensionDOMUI; class ExtensionFunction; -class ExtensionHost; class ListValue; class Profile; class RenderViewHost; -class RenderViewHostDelegate; class TabContents; // A factory function for creating new ExtensionFunction instances. diff --git a/chrome/browser/extensions/extension_host.h b/chrome/browser/extensions/extension_host.h index 245e539..79e4629 100644 --- a/chrome/browser/extensions/extension_host.h +++ b/chrome/browser/extensions/extension_host.h @@ -24,12 +24,9 @@ #endif #include "chrome/common/notification_registrar.h" - class Browser; class Extension; -class ExtensionProcessManager; class RenderProcessHost; -class RenderWidgetHost; class RenderWidgetHostView; class TabContents; struct WebPreferences; diff --git a/chrome/browser/extensions/extension_install_ui.h b/chrome/browser/extensions/extension_install_ui.h index 001d0e0..3c46699 100644 --- a/chrome/browser/extensions/extension_install_ui.h +++ b/chrome/browser/extensions/extension_install_ui.h @@ -9,7 +9,6 @@ #include <string> #include <vector> -#include "base/file_path.h" #include "base/ref_counted.h" #include "base/scoped_ptr.h" #include "base/string16.h" @@ -18,11 +17,9 @@ #include "third_party/skia/include/core/SkBitmap.h" class Extension; -class ExtensionsService; class MessageLoop; class Profile; class InfoBarDelegate; -class SandboxedExtensionUnpacker; class TabContents; // Displays all the UI around extension installation and uninstallation. diff --git a/chrome/browser/extensions/extension_menu_manager.h b/chrome/browser/extensions/extension_menu_manager.h index ea1758c..a58c1df 100644 --- a/chrome/browser/extensions/extension_menu_manager.h +++ b/chrome/browser/extensions/extension_menu_manager.h @@ -23,7 +23,6 @@ struct ContextMenuParams; class Extension; -class ExtensionMessageService; class Profile; class SkBitmap; class TabContents; diff --git a/chrome/browser/extensions/extension_message_service.h b/chrome/browser/extensions/extension_message_service.h index 7f34965..40050f1 100644 --- a/chrome/browser/extensions/extension_message_service.h +++ b/chrome/browser/extensions/extension_message_service.h @@ -18,12 +18,10 @@ #include "ipc/ipc_message.h" class GURL; -class MessageLoop; class Profile; class RenderProcessHost; class ResourceMessageFilter; class TabContents; -class URLRequestContext; // This class manages message and event passing between renderer processes. // It maintains a list of processes that are listening to events and a set of diff --git a/chrome/browser/extensions/extension_popup_api.h b/chrome/browser/extensions/extension_popup_api.h index 32fb628..a565caf 100644 --- a/chrome/browser/extensions/extension_popup_api.h +++ b/chrome/browser/extensions/extension_popup_api.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -9,10 +9,6 @@ #include "chrome/browser/extensions/extension_function.h" #include "chrome/common/notification_registrar.h" -namespace gfx { -class Point; -} // namespace gfx - class Profile; class ExtensionPopup; diff --git a/chrome/browser/extensions/extension_process_manager.h b/chrome/browser/extensions/extension_process_manager.h index 63e93ad..13b98142 100644 --- a/chrome/browser/extensions/extension_process_manager.h +++ b/chrome/browser/extensions/extension_process_manager.h @@ -18,9 +18,6 @@ class Browser; class BrowsingInstance; class Extension; class ExtensionHost; -#if defined(TOOLKIT_VIEWS) -class ExtensionView; -#endif class GURL; class Profile; class RenderProcessHost; diff --git a/chrome/browser/extensions/extensions_service.h b/chrome/browser/extensions/extensions_service.h index 0635969..a857364 100644 --- a/chrome/browser/extensions/extensions_service.h +++ b/chrome/browser/extensions/extensions_service.h @@ -33,15 +33,12 @@ #include "chrome/common/notification_registrar.h" #include "chrome/common/extensions/extension.h" -class Browser; class ExtensionsServiceBackend; class ExtensionToolbarModel; class ExtensionUpdater; class GURL; class PrefService; class Profile; -class ResourceDispatcherHost; -class SiteInstance; class Version; // A pending extension is an extension that hasn't been installed yet diff --git a/chrome/browser/extensions/gtk_theme_installed_infobar_delegate.h b/chrome/browser/extensions/gtk_theme_installed_infobar_delegate.h index cf0e40d..6fd7f72 100644 --- a/chrome/browser/extensions/gtk_theme_installed_infobar_delegate.h +++ b/chrome/browser/extensions/gtk_theme_installed_infobar_delegate.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -11,7 +11,6 @@ #include <string> class Extension; -class SkBitmap; class TabContents; // A specialization of ThemeInstalledInfoBarDelegate to make "Undo" reset to the diff --git a/chrome/browser/extensions/sandboxed_extension_unpacker.h b/chrome/browser/extensions/sandboxed_extension_unpacker.h index 932bb5d..a9b6408 100644 --- a/chrome/browser/extensions/sandboxed_extension_unpacker.h +++ b/chrome/browser/extensions/sandboxed_extension_unpacker.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -15,7 +15,6 @@ #include "chrome/browser/utility_process_host.h" class Extension; -class MessageLoop; class ResourceDispatcherHost; class SandboxedExtensionUnpackerClient diff --git a/chrome/browser/extensions/user_script_master.h b/chrome/browser/extensions/user_script_master.h index 9f5948e..7fc8a10 100644 --- a/chrome/browser/extensions/user_script_master.h +++ b/chrome/browser/extensions/user_script_master.h @@ -1,4 +1,4 @@ -// Copyright (c) 2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -18,7 +18,6 @@ namespace base { class StringPiece; } -class Extension; class Profile; // Manages a segment of shared memory that contains the user scripts the user |