diff options
30 files changed, 14 insertions, 71 deletions
diff --git a/chrome/browser/safe_browsing/protocol_manager.h b/chrome/browser/safe_browsing/protocol_manager.h index 98dd0b0..e0c1c32 100644 --- a/chrome/browser/safe_browsing/protocol_manager.h +++ b/chrome/browser/safe_browsing/protocol_manager.h @@ -27,8 +27,6 @@ #include "chrome/browser/safe_browsing/safe_browsing_util.h" #include "chrome/common/net/url_fetcher.h" -class Task; -class Timer; class URLRequestStatus; #if defined(COMPILER_GCC) diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page.h b/chrome/browser/safe_browsing/safe_browsing_blocking_page.h index 7ca6384..96d8bca 100644 --- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.h +++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-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. // @@ -38,7 +38,6 @@ class DictionaryValue; class MessageLoop; -class NavigationController; class SafeBrowsingBlockingPageFactory; class TabContents; diff --git a/chrome/browser/safe_browsing/safe_browsing_database.h b/chrome/browser/safe_browsing/safe_browsing_database.h index a451dcc..8d8eb9e3 100644 --- a/chrome/browser/safe_browsing/safe_browsing_database.h +++ b/chrome/browser/safe_browsing/safe_browsing_database.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,7 +6,6 @@ #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_H_ #pragma once -#include <deque> #include <list> #include <set> #include <vector> diff --git a/chrome/browser/safe_browsing/safe_browsing_database_bloom.h b/chrome/browser/safe_browsing/safe_browsing_database_bloom.h index a0e8ea0..ff9b0b5 100644 --- a/chrome/browser/safe_browsing/safe_browsing_database_bloom.h +++ b/chrome/browser/safe_browsing/safe_browsing_database_bloom.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,7 +6,6 @@ #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_BLOOM_H_ #pragma once -#include <deque> #include <set> #include <string> #include <vector> diff --git a/chrome/browser/safe_browsing/safe_browsing_service.h b/chrome/browser/safe_browsing/safe_browsing_service.h index 9c7e8a0..9ca369b 100644 --- a/chrome/browser/safe_browsing/safe_browsing_service.h +++ b/chrome/browser/safe_browsing/safe_browsing_service.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. // @@ -22,9 +22,7 @@ #include "googleurl/src/gurl.h" #include "webkit/glue/resource_type.h" -class BloomFilter; class PrefService; -class SafeBrowsingBlockingPage; class SafeBrowsingDatabase; class SafeBrowsingProtocolManager; class URLRequestContextGetter; diff --git a/chrome/browser/safe_browsing/safe_browsing_store.h b/chrome/browser/safe_browsing/safe_browsing_store.h index fe2302b..dd161f9 100644 --- a/chrome/browser/safe_browsing/safe_browsing_store.h +++ b/chrome/browser/safe_browsing/safe_browsing_store.h @@ -6,7 +6,6 @@ #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_H_ #pragma once -#include <set> #include <vector> #include "base/basictypes.h" diff --git a/chrome/browser/safe_browsing/safe_browsing_store_sqlite.h b/chrome/browser/safe_browsing/safe_browsing_store_sqlite.h index 53f6911..8603794 100644 --- a/chrome/browser/safe_browsing/safe_browsing_store_sqlite.h +++ b/chrome/browser/safe_browsing/safe_browsing_store_sqlite.h @@ -14,7 +14,6 @@ #include "testing/gtest/include/gtest/gtest_prod.h" struct sqlite3; -class SqliteCompiledStatement; class SqliteStatementCache; class SQLTransaction; diff --git a/chrome/browser/sessions/base_session_service.h b/chrome/browser/sessions/base_session_service.h index 748135a..cefe5d0 100644 --- a/chrome/browser/sessions/base_session_service.h +++ b/chrome/browser/sessions/base_session_service.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-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. @@ -17,7 +17,6 @@ class NavigationEntry; class Profile; class SessionBackend; class SessionCommand; -class SessionService; class TabNavigation; namespace base { diff --git a/chrome/browser/sessions/session_backend.h b/chrome/browser/sessions/session_backend.h index 87c9002..523ef58 100644 --- a/chrome/browser/sessions/session_backend.h +++ b/chrome/browser/sessions/session_backend.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-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. @@ -14,8 +14,6 @@ #include "chrome/browser/sessions/session_command.h" #include "net/base/file_stream.h" -class Pickle; - // SessionBackend ------------------------------------------------------------- // SessionBackend is the backend used by BaseSessionService. It is responsible diff --git a/chrome/browser/sessions/session_service.h b/chrome/browser/sessions/session_service.h index a7b3131..96bb27c 100644 --- a/chrome/browser/sessions/session_service.h +++ b/chrome/browser/sessions/session_service.h @@ -20,7 +20,6 @@ #include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" -class Browser; class NavigationController; class NavigationEntry; class Profile; diff --git a/chrome/browser/ssl/ssl_manager.h b/chrome/browser/ssl/ssl_manager.h index aabb4fb..62e1138 100644 --- a/chrome/browser/ssl/ssl_manager.h +++ b/chrome/browser/ssl/ssl_manager.h @@ -19,12 +19,10 @@ class LoadFromMemoryCacheDetails; class NavigationController; class NavigationEntry; -class PrefService; class ProvisionalLoadDetails; class ResourceDispatcherHost; class ResourceRedirectDetails; class ResourceRequestDetails; -class SSLCertErrorHandler; class SSLPolicy; class Task; class URLRequest; diff --git a/chrome/browser/tab_contents/background_contents.h b/chrome/browser/tab_contents/background_contents.h index a6bbcf4..d603c37 100644 --- a/chrome/browser/tab_contents/background_contents.h +++ b/chrome/browser/tab_contents/background_contents.h @@ -16,8 +16,6 @@ #include "chrome/common/view_types.h" #include "chrome/common/window_container_type.h" -class RenderWidgetHost; -class RenderWidgetHostView; class TabContents; struct WebPreferences; diff --git a/chrome/browser/tab_contents/navigation_controller.h b/chrome/browser/tab_contents/navigation_controller.h index 892d313..43ab1f7 100644 --- a/chrome/browser/tab_contents/navigation_controller.h +++ b/chrome/browser/tab_contents/navigation_controller.h @@ -21,13 +21,9 @@ #include "chrome/common/page_transition_types.h" class NavigationEntry; -class GURL; class Profile; -class TabContents; class SiteInstance; -class SkBitmap; class TabContents; -class TabContentsCollector; class TabNavigation; struct ViewHostMsg_FrameNavigate_Params; diff --git a/chrome/browser/tab_contents/render_view_context_menu_gtk.h b/chrome/browser/tab_contents/render_view_context_menu_gtk.h index 082f3d4..ad73e23 100644 --- a/chrome/browser/tab_contents/render_view_context_menu_gtk.h +++ b/chrome/browser/tab_contents/render_view_context_menu_gtk.h @@ -6,7 +6,6 @@ #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_CONTEXT_MENU_GTK_H_ #pragma once -#include <map> #include <string> #include <vector> @@ -15,7 +14,6 @@ #include "chrome/browser/tab_contents/render_view_context_menu.h" #include "gfx/point.h" -class RenderWidgetHostView; struct ContextMenuParams; class RenderViewContextMenuGtk : public RenderViewContextMenu, diff --git a/chrome/browser/tab_contents/render_view_host_delegate_helper.h b/chrome/browser/tab_contents/render_view_host_delegate_helper.h index 06ba3be..637c1bf 100644 --- a/chrome/browser/tab_contents/render_view_host_delegate_helper.h +++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.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. @@ -17,9 +17,6 @@ #include "webkit/glue/window_open_disposition.h" class BackgroundContents; -class Browser; -class ExtensionsService; -class PrefService; class Profile; class RenderProcessHost; class RenderViewHost; diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h index 1b1b6c6..3511b7c 100644 --- a/chrome/browser/tab_contents/tab_contents.h +++ b/chrome/browser/tab_contents/tab_contents.h @@ -10,7 +10,6 @@ #include <deque> #include <map> -#include <set> #include <string> #include <vector> @@ -46,15 +45,6 @@ namespace gfx { class Rect; -class Size; -} - -namespace views { -class WindowDelegate; -} - -namespace base { -class WaitableEvent; } namespace printing { @@ -76,7 +66,6 @@ class BlockedPopupContainer; class DOMUI; class DownloadItem; class Extension; -class GeolocationSettingsState; class InfoBarDelegate; class LoadNotificationDetails; class OmniboxSearchHint; @@ -89,13 +78,10 @@ class SiteInstance; class SkBitmap; class TabContents; class TabContentsDelegate; -class TabContentsFactory; class TabContentsSSLHelper; class TabContentsView; class URLPattern; -class URLRequestContextGetter; struct ThumbnailScore; -struct ViewHostMsg_DidPrintPage_Params; struct ViewHostMsg_FrameNavigate_Params; struct ViewHostMsg_RunFileChooser_Params; struct WebPreferences; diff --git a/chrome/browser/tab_contents/tab_contents_delegate.h b/chrome/browser/tab_contents/tab_contents_delegate.h index f3805a4..bcefecf 100644 --- a/chrome/browser/tab_contents/tab_contents_delegate.h +++ b/chrome/browser/tab_contents/tab_contents_delegate.h @@ -29,10 +29,6 @@ class RenderViewHost; class TabContents; class TemplateURL; -namespace webkit_glue { -struct WebApplicationInfo; -} - // Objects implement this interface to get notified about changes in the // TabContents and to provide necessary functionality. class TabContentsDelegate : public AutomationResourceRoutingDelegate { diff --git a/chrome/browser/tab_contents/tab_contents_view.h b/chrome/browser/tab_contents/tab_contents_view.h index 4217f51..f496e77 100644 --- a/chrome/browser/tab_contents/tab_contents_view.h +++ b/chrome/browser/tab_contents/tab_contents_view.h @@ -16,7 +16,6 @@ #include "gfx/rect.h" #include "gfx/size.h" -class Browser; class RenderViewHost; class RenderWidgetHost; class RenderWidgetHostView; diff --git a/chrome/browser/tab_contents/tab_contents_view_gtk.h b/chrome/browser/tab_contents/tab_contents_view_gtk.h index 586b399..e99321d 100644 --- a/chrome/browser/tab_contents/tab_contents_view_gtk.h +++ b/chrome/browser/tab_contents/tab_contents_view_gtk.h @@ -17,12 +17,10 @@ #include "chrome/common/notification_registrar.h" class ConstrainedWindowGtk; -class GtkThemeProperties; class RenderViewContextMenuGtk; class SadTabGtk; class TabContentsDragSource; class WebDragDestGtk; -typedef struct _GtkFloatingContainer GtkFloatingContainer; class TabContentsViewGtk : public TabContentsView, public NotificationObserver { diff --git a/chrome/browser/tab_contents/tab_contents_view_mac.h b/chrome/browser/tab_contents/tab_contents_view_mac.h index 91c05b4d..a518869 100644 --- a/chrome/browser/tab_contents/tab_contents_view_mac.h +++ b/chrome/browser/tab_contents/tab_contents_view_mac.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. @@ -17,8 +17,6 @@ #include "chrome/common/notification_registrar.h" #include "gfx/size.h" -class FilePath; -class FindBarMac; @class FocusTracker; @class SadTabController; class SkBitmap; diff --git a/chrome/browser/tab_contents/tab_util.h b/chrome/browser/tab_contents/tab_util.h index 6ce6228..896be7c 100644 --- a/chrome/browser/tab_contents/tab_util.h +++ b/chrome/browser/tab_contents/tab_util.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-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. @@ -6,7 +6,6 @@ #define CHROME_BROWSER_TAB_CONTENTS_TAB_UTIL_H_ #pragma once -class URLRequest; class TabContents; namespace tab_util { diff --git a/chrome/browser/tab_contents/test_tab_contents.h b/chrome/browser/tab_contents/test_tab_contents.h index dc54076..166618d 100644 --- a/chrome/browser/tab_contents/test_tab_contents.h +++ b/chrome/browser/tab_contents/test_tab_contents.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 "chrome/common/notification_registrar.h" #include "webkit/glue/webpreferences.h" -class RenderViewHostFactory; class TestRenderViewHost; // Subclass TabContents to ensure it creates TestRenderViewHosts and does diff --git a/chrome/browser/tab_contents/thumbnail_generator.h b/chrome/browser/tab_contents/thumbnail_generator.h index a4d51c8..51fc1ff 100644 --- a/chrome/browser/tab_contents/thumbnail_generator.h +++ b/chrome/browser/tab_contents/thumbnail_generator.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. @@ -19,7 +19,6 @@ #include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" -class RenderViewHost; class RenderWidgetHost; class SkBitmap; class TabContents; diff --git a/chrome/browser/tab_contents/web_contents_unittest.cc b/chrome/browser/tab_contents/web_contents_unittest.cc index ac095b2..b34a81d 100644 --- a/chrome/browser/tab_contents/web_contents_unittest.cc +++ b/chrome/browser/tab_contents/web_contents_unittest.cc @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include <vector> + #include "app/message_box_flags.h" #include "base/logging.h" #include "base/utf_string_conversions.h" diff --git a/chrome/browser/tab_contents/web_drag_dest_gtk.h b/chrome/browser/tab_contents/web_drag_dest_gtk.h index b302e79..67d6852 100644 --- a/chrome/browser/tab_contents/web_drag_dest_gtk.h +++ b/chrome/browser/tab_contents/web_drag_dest_gtk.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 <gtk/gtk.h> -#include <vector> #include "app/gtk_signal.h" #include "base/scoped_ptr.h" @@ -16,7 +15,6 @@ #include "third_party/WebKit/WebKit/chromium/public/WebDragOperation.h" #include "webkit/glue/webdropdata.h" -class BookmarkNode; class TabContents; // A helper class that handles DnD for drops in the renderer. In GTK parlance, diff --git a/chrome/browser/tabs/pinned_tab_codec.h b/chrome/browser/tabs/pinned_tab_codec.h index bd94684..63de93a 100644 --- a/chrome/browser/tabs/pinned_tab_codec.h +++ b/chrome/browser/tabs/pinned_tab_codec.h @@ -12,7 +12,6 @@ #include "chrome/browser/browser_init.h" #include "googleurl/src/gurl.h" -class Browser; class PrefService; class Profile; diff --git a/chrome/browser/tabs/pinned_tab_service.h b/chrome/browser/tabs/pinned_tab_service.h index 2230fc4..5425e06 100644 --- a/chrome/browser/tabs/pinned_tab_service.h +++ b/chrome/browser/tabs/pinned_tab_service.h @@ -9,7 +9,6 @@ #include "chrome/common/notification_observer.h" #include "chrome/common/notification_registrar.h" -class Browser; class Profile; // PinnedTabService is responsible for updating preferences with the set of diff --git a/chrome/browser/tabs/tab_strip_model.h b/chrome/browser/tabs/tab_strip_model.h index 805c951..f26af59 100644 --- a/chrome/browser/tabs/tab_strip_model.h +++ b/chrome/browser/tabs/tab_strip_model.h @@ -13,7 +13,6 @@ #include "chrome/common/page_transition_types.h" namespace gfx { -class Point; class Rect; } class Browser; diff --git a/chrome/browser/translate/languages_menu_model.h b/chrome/browser/translate/languages_menu_model.h index 922327e..8f91076 100644 --- a/chrome/browser/translate/languages_menu_model.h +++ b/chrome/browser/translate/languages_menu_model.h @@ -9,7 +9,6 @@ #include "app/menus/simple_menu_model.h" class TranslateInfoBarDelegate; -class String16; // A menu model that builds the contents of the language menus in the translate // infobar. This menu has only one level (no submenus). diff --git a/chrome/browser/translate/options_menu_model.h b/chrome/browser/translate/options_menu_model.h index 661600b..68f9297 100644 --- a/chrome/browser/translate/options_menu_model.h +++ b/chrome/browser/translate/options_menu_model.h @@ -9,7 +9,6 @@ #include "app/menus/simple_menu_model.h" class TranslateInfoBarDelegate; -class String16; // A menu model that builds the contents of the options menu in the translate // infobar. This menu has only one level (no submenus). |