diff options
Diffstat (limited to 'sync/tools/sync_listen_notifications.cc')
-rw-r--r-- | sync/tools/sync_listen_notifications.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sync/tools/sync_listen_notifications.cc b/sync/tools/sync_listen_notifications.cc index 3fa5a33..13468a4 100644 --- a/sync/tools/sync_listen_notifications.cc +++ b/sync/tools/sync_listen_notifications.cc @@ -109,9 +109,8 @@ class MyTestURLRequestContextGetter : public net::TestURLRequestContextGetter { }; notifier::NotifierOptions ParseNotifierOptions( - const CommandLine& command_line, - const scoped_refptr<net::URLRequestContextGetter>& - request_context_getter) { + const base::CommandLine& command_line, + const scoped_refptr<net::URLRequestContextGetter>& request_context_getter) { notifier::NotifierOptions notifier_options; notifier_options.request_context_getter = request_context_getter; @@ -142,7 +141,7 @@ int SyncListenNotificationsMain(int argc, char* argv[]) { base::mac::ScopedNSAutoreleasePool pool; #endif base::AtExitManager exit_manager; - CommandLine::Init(argc, argv); + base::CommandLine::Init(argc, argv); logging::LoggingSettings settings; settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; logging::InitLogging(settings); @@ -154,7 +153,8 @@ int SyncListenNotificationsMain(int argc, char* argv[]) { io_thread.StartWithOptions(options); // Parse command line. - const CommandLine& command_line = *CommandLine::ForCurrentProcess(); + const base::CommandLine& command_line = + *base::CommandLine::ForCurrentProcess(); std::string email = command_line.GetSwitchValueASCII(kEmailSwitch); std::string token = command_line.GetSwitchValueASCII(kTokenSwitch); // TODO(akalin): Write a wrapper script that gets a token for an |