From 2f3b1cce4c8d4d6a4b016f4d03fca5ee88348a2c Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Mon, 17 Mar 2014 23:07:15 +0000 Subject: Move CommandLine to base namespace. Fix all forward-declares and header files referencing CommandLine. This keeps a "using base::CommandLine" in the command line header file so that the rest of the source files can be changes in a follow-up. TBR=sky Review URL: https://codereview.chromium.org/196413016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257514 0039d316-1c4b-4281-b951-d872f2087c98 --- .../notifications/sync_notifier/chrome_notifier_service_factory.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.h') diff --git a/chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.h b/chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.h index e86be50..c55d233 100644 --- a/chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.h +++ b/chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.h @@ -9,7 +9,9 @@ #include "chrome/browser/profiles/profile.h" #include "components/keyed_service/content/browser_context_keyed_service_factory.h" +namespace base { class CommandLine; +} namespace notifier { @@ -26,7 +28,7 @@ class ChromeNotifierServiceFactory : public BrowserContextKeyedServiceFactory { // not. // TODO(petewil): Remove this when the SyncedNotifications feature is ready // to be turned on by default, and just use a disable switch instead then. - static bool UseSyncedNotifications(CommandLine* command_line); + static bool UseSyncedNotifications(base::CommandLine* command_line); private: friend struct DefaultSingletonTraits; -- cgit v1.1