Index: sync/tools/sync_listen_notifications.cc |
diff --git a/sync/tools/sync_listen_notifications.cc b/sync/tools/sync_listen_notifications.cc |
index 3fa5a33afc9aabf7331f638d68daa9c988e274bc..13468a4cbd968abf839e82cf86b932b1fa5e40cc 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 |