Commit e0ced0c7 authored by thestig@chromium.org's avatar thestig@chromium.org

Cleanup: Remove unneeded forward declarations from various chrome subdirectories.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/8491036

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109951 0039d316-1c4b-4281-b951-d872f2087c98
parent 29e52581
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// //
...@@ -15,8 +15,6 @@ ...@@ -15,8 +15,6 @@
class Extension; class Extension;
class ExtensionMessageBundle; class ExtensionMessageBundle;
class FilePath; class FilePath;
class GURL;
class ResourceDispatcherHostRequestInfo;
struct ExtensionInfo; struct ExtensionInfo;
namespace base { namespace base {
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "chrome/common/extensions/url_pattern_set.h" #include "chrome/common/extensions/url_pattern_set.h"
class Extension; class Extension;
class ExtensionPrefs;
// When prompting the user to install or approve permissions, we display // When prompting the user to install or approve permissions, we display
// messages describing the effects of the permissions rather than listing the // messages describing the effects of the permissions rather than listing the
......
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
namespace base { namespace base {
class DictionaryValue; class DictionaryValue;
class FundamentalValue;
class ListValue; class ListValue;
class StringValue; class StringValue;
class Value; class Value;
......
...@@ -14,10 +14,6 @@ ...@@ -14,10 +14,6 @@
class CommandLine; class CommandLine;
class FilePath; class FilePath;
namespace base {
class Time;
}
namespace logging { namespace logging {
// Call to initialize logging for Chrome. This sets up the chrome-specific // Call to initialize logging for Chrome. This sets up the chrome-specific
...@@ -69,6 +65,6 @@ size_t GetFatalAssertions(AssertionList* assertions); ...@@ -69,6 +65,6 @@ size_t GetFatalAssertions(AssertionList* assertions);
// Handler to silently dump the current process without crashing. // Handler to silently dump the current process without crashing.
void DumpWithoutCrashing(); void DumpWithoutCrashing();
} // namespace logging } // namespace logging
#endif // CHROME_COMMON_LOGGING_CHROME_H_ #endif // CHROME_COMMON_LOGGING_CHROME_H_
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
...@@ -28,9 +28,6 @@ enum PluginInstallerState { ...@@ -28,9 +28,6 @@ enum PluginInstallerState {
PluginInstallerLaunchFailure PluginInstallerLaunchFailure
}; };
class PluginInstallDialog;
class PluginDatabaseHandler;
// Provides the plugin installation functionality. This class is // Provides the plugin installation functionality. This class is
// instantiated with the information like the mime type of the // instantiated with the information like the mime type of the
// target plugin, the display mode, etc. // target plugin, the display mode, etc.
......
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
...@@ -34,9 +34,6 @@ enum PluginInstallerState { ...@@ -34,9 +34,6 @@ enum PluginInstallerState {
PluginInstallerLaunchFailure PluginInstallerLaunchFailure
}; };
class PluginInstallDialog;
class PluginDatabaseHandler;
// Provides the plugin installation functionality. This class is // Provides the plugin installation functionality. This class is
// instantiated with the information like the mime type of the // instantiated with the information like the mime type of the
// target plugin, the display mode, etc. // target plugin, the display mode, etc.
......
...@@ -8,13 +8,11 @@ ...@@ -8,13 +8,11 @@
#include <map> #include <map>
#include <string> #include <string>
#include <vector>
#include "chrome/service/cloud_print/print_system.h" #include "chrome/service/cloud_print/print_system.h"
#include "googleurl/src/gurl.h" #include "googleurl/src/gurl.h"
class Task;
class URLFetcher;
namespace base { namespace base {
class DictionaryValue; class DictionaryValue;
} }
...@@ -72,9 +70,9 @@ class CloudPrintHelpers { ...@@ -72,9 +70,9 @@ class CloudPrintHelpers {
static bool IsDryRunJob(const std::vector<std::string>& tags); static bool IsDryRunJob(const std::vector<std::string>& tags);
static std::string GetCloudPrintAuthHeader(); static std::string GetCloudPrintAuthHeader();
private: private:
CloudPrintHelpers() { CloudPrintHelpers() {}
}
}; };
#endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include "base/threading/thread.h" #include "base/threading/thread.h"
#include "printing/backend/print_backend.h" #include "printing/backend/print_backend.h"
class CloudPrintProxyService;
class GURL; class GURL;
namespace base { namespace base {
......
...@@ -22,7 +22,6 @@ class DictionaryValue; ...@@ -22,7 +22,6 @@ class DictionaryValue;
} }
namespace printing { namespace printing {
class PrintBackend;
struct PrinterBasicInfo; struct PrinterBasicInfo;
struct PrinterCapsAndDefaults; struct PrinterCapsAndDefaults;
} }
...@@ -179,7 +178,7 @@ class PrintSystem : public base::RefCountedThreadSafe<PrintSystem> { ...@@ -179,7 +178,7 @@ class PrintSystem : public base::RefCountedThreadSafe<PrintSystem> {
// Get details for already spooled job. // Get details for already spooled job.
virtual bool GetJobDetails(const std::string& printer_name, virtual bool GetJobDetails(const std::string& printer_name,
PlatformJobId job_id, PlatformJobId job_id,
PrintJobDetails *job_details) = 0; PrintJobDetails* job_details) = 0;
// Factory methods to create corresponding watcher. Callee is responsible // Factory methods to create corresponding watcher. Callee is responsible
// for deleting objects. Return NULL if failed. // for deleting objects. Return NULL if failed.
......
...@@ -23,17 +23,12 @@ ...@@ -23,17 +23,12 @@
#include "chrome/service/service_child_process_host.h" #include "chrome/service/service_child_process_host.h"
#include "printing/pdf_render_settings.h" #include "printing/pdf_render_settings.h"
class CommandLine;
class ScopedTempDir; class ScopedTempDir;
namespace base { namespace base {
class MessageLoopProxy; class MessageLoopProxy;
} // namespace base } // namespace base
namespace gfx {
class Rect;
} // namespace gfx
namespace printing { namespace printing {
class Emf; class Emf;
struct PageRange; struct PageRange;
......
...@@ -27,10 +27,6 @@ class NotificationUIManager; ...@@ -27,10 +27,6 @@ class NotificationUIManager;
class PrefService; class PrefService;
class WatchDogThread; class WatchDogThread;
namespace base {
class WaitableEvent;
}
namespace policy { namespace policy {
class BrowserPolicyConnector; class BrowserPolicyConnector;
} }
......
...@@ -15,10 +15,6 @@ ...@@ -15,10 +15,6 @@
#include "chrome/browser/profiles/profile.h" #include "chrome/browser/profiles/profile.h"
#include "content/browser/appcache/chrome_appcache_service.h" #include "content/browser/appcache/chrome_appcache_service.h"
namespace content {
class ResourceContextGetter;
}
namespace history { namespace history {
class TopSites; class TopSites;
} }
...@@ -35,7 +31,6 @@ class AutocompleteClassifier; ...@@ -35,7 +31,6 @@ class AutocompleteClassifier;
class BookmarkModel; class BookmarkModel;
class CommandLine; class CommandLine;
class ExtensionPrefs; class ExtensionPrefs;
class ExtensionPrefStore;
class ExtensionPrefValueMap; class ExtensionPrefValueMap;
class ExtensionSpecialStoragePolicy; class ExtensionSpecialStoragePolicy;
class FaviconService; class FaviconService;
...@@ -49,7 +44,6 @@ class ProfileSyncService; ...@@ -49,7 +44,6 @@ class ProfileSyncService;
class SpeechInputPreferences; class SpeechInputPreferences;
class TemplateURLService; class TemplateURLService;
class TestingPrefService; class TestingPrefService;
class ThemeService;
class WebKitContext; class WebKitContext;
namespace net { namespace net {
......
...@@ -29,15 +29,12 @@ ...@@ -29,15 +29,12 @@
class AppModalDialog; class AppModalDialog;
class BookmarkModel; class BookmarkModel;
class BookmarkNode;
class Browser; class Browser;
class CommandLine; class CommandLine;
class DownloadManager;
class ExtensionAction; class ExtensionAction;
class FilePath; class FilePath;
class GURL; class GURL;
class MessageLoop; class MessageLoop;
class NavigationController;
class Profile; class Profile;
class RenderViewHost; class RenderViewHost;
class RenderWidgetHost; class RenderWidgetHost;
......
...@@ -33,7 +33,6 @@ class AutomationProxy; ...@@ -33,7 +33,6 @@ class AutomationProxy;
class BrowserProxy; class BrowserProxy;
class FilePath; class FilePath;
class GURL; class GURL;
class ScopedTempDir;
class TabProxy; class TabProxy;
namespace base { namespace base {
......
...@@ -15,13 +15,8 @@ namespace base { ...@@ -15,13 +15,8 @@ namespace base {
class DictionaryValue; class DictionaryValue;
} }
namespace gfx {
class Point;
}
namespace webdriver { namespace webdriver {
class Error;
class Response; class Response;
// Click an element. See: // Click an element. See:
......
...@@ -16,7 +16,6 @@ class DictionaryValue; ...@@ -16,7 +16,6 @@ class DictionaryValue;
namespace webdriver { namespace webdriver {
class Error;
class Response; class Response;
class Session; class Session;
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "chrome/test/webdriver/webdriver_basic_types.h" #include "chrome/test/webdriver/webdriver_basic_types.h"
#include "chrome/test/webdriver/webdriver_element_id.h" #include "chrome/test/webdriver/webdriver_element_id.h"
class CommandLine;
class FilePath; class FilePath;
namespace base { namespace base {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment