summaryrefslogtreecommitdiffstats
path: root/google_apis/gcm/tools/mcs_probe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'google_apis/gcm/tools/mcs_probe.cc')
-rw-r--r--google_apis/gcm/tools/mcs_probe.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/google_apis/gcm/tools/mcs_probe.cc b/google_apis/gcm/tools/mcs_probe.cc
index cbee95f..7eea9a6 100644
--- a/google_apis/gcm/tools/mcs_probe.cc
+++ b/google_apis/gcm/tools/mcs_probe.cc
@@ -187,7 +187,7 @@ class MyTestCertVerifier : public net::CertVerifier {
class MCSProbe {
public:
MCSProbe(
- const CommandLine& command_line,
+ const base::CommandLine& command_line,
scoped_refptr<net::URLRequestContextGetter> url_request_context_getter);
~MCSProbe();
@@ -210,7 +210,7 @@ class MCSProbe {
base::DefaultClock clock_;
- CommandLine command_line_;
+ base::CommandLine command_line_;
base::FilePath gcm_store_path_;
uint64 android_id_;
@@ -246,7 +246,7 @@ class MCSProbe {
};
MCSProbe::MCSProbe(
- const CommandLine& command_line,
+ const base::CommandLine& command_line,
scoped_refptr<net::URLRequestContextGetter> url_request_context_getter)
: command_line_(command_line),
gcm_store_path_(base::FilePath(FILE_PATH_LITERAL("gcm_store"))),
@@ -470,7 +470,7 @@ void MCSProbe::StartMCSLogin() {
int MCSProbeMain(int argc, char* argv[]) {
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);
@@ -482,7 +482,8 @@ int MCSProbeMain(int argc, char* argv[]) {
new MyTestURLRequestContextGetter(
base::MessageLoop::current()->message_loop_proxy());
- const CommandLine& command_line = *CommandLine::ForCurrentProcess();
+ const base::CommandLine& command_line =
+ *base::CommandLine::ForCurrentProcess();
MCSProbe mcs_probe(command_line, context_getter);
mcs_probe.Start();