From 92c0eefe42963ab8ea57ad97483d484d4e6137b8 Mon Sep 17 00:00:00 2001 From: Alex Vakulenko Date: Thu, 2 Apr 2015 14:31:10 -0700 Subject: [PATCH] platform2: Explicitly use base:: namespace with CommandLine The current revision of libchrome is removing CommandLine class from global namespace and only retain the one in base::. Sweep the code to use the correct namespace in anticpation of libchrome revision roll. BUG=None TEST=./build_packages Change-Id: Ib7ca448dac1204c1e36ab053e775a5a5214997ac Reviewed-on: https://chromium-review.googlesource.com/263785 Trybot-Ready: Alex Vakulenko Tested-by: Alex Vakulenko Reviewed-by: Alex Deymo Commit-Queue: Alex Vakulenko --- crash_reporter/list_proxies.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crash_reporter/list_proxies.cc b/crash_reporter/list_proxies.cc index de02f0ac4..de6ef0a61 100644 --- a/crash_reporter/list_proxies.cc +++ b/crash_reporter/list_proxies.cc @@ -245,8 +245,8 @@ static bool ShowBrowserProxies(std::string url, base::TimeDelta timeout) { } // namespace int main(int argc, char *argv[]) { - CommandLine::Init(argc, argv); - CommandLine* cl = CommandLine::ForCurrentProcess(); + base::CommandLine::Init(argc, argv); + base::CommandLine* cl = base::CommandLine::ForCurrentProcess(); if (cl->HasSwitch(kHelp)) { LOG(INFO) << kHelpMessage; @@ -273,7 +273,7 @@ int main(int argc, char *argv[]) { chromeos::InitLog(init_flags); std::string url; - CommandLine::StringVector urls = cl->GetArgs(); + base::CommandLine::StringVector urls = cl->GetArgs(); if (!urls.empty()) { url = urls[0]; LOG(INFO) << "Resolving proxies for URL: " << url;