Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2659)

Unified Diff: chrome/browser/ssl/ssl_blocking_page.cc

Issue 816403003: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc ('k') | chrome/browser/ssl/ssl_browser_tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/ssl_blocking_page.cc
diff --git a/chrome/browser/ssl/ssl_blocking_page.cc b/chrome/browser/ssl/ssl_blocking_page.cc
index c29256108b7672f7e8b70fce08cfb76583f90b4f..c19c31dd1d0508897ce252e3aa306821aecebf83 100644
--- a/chrome/browser/ssl/ssl_blocking_page.cc
+++ b/chrome/browser/ssl/ssl_blocking_page.cc
@@ -257,7 +257,7 @@ void LaunchDateAndTimeSettings() {
{ "/opt/bin/kcmshell4", "clock" },
};
- CommandLine command(base::FilePath(""));
+ base::CommandLine command(base::FilePath(""));
for (size_t i = 0; i < arraysize(kClockCommands); ++i) {
base::FilePath pathname(kClockCommands[i].pathname);
if (base::PathExists(pathname)) {
@@ -277,7 +277,7 @@ void LaunchDateAndTimeSettings() {
base::LaunchProcess(command, options);
#elif defined(OS_MACOSX)
- CommandLine command(base::FilePath("/usr/bin/open"));
+ base::CommandLine command(base::FilePath("/usr/bin/open"));
command.AppendArg("/System/Library/PreferencePanes/DateAndTime.prefPane");
base::LaunchOptions options;
@@ -289,7 +289,7 @@ void LaunchDateAndTimeSettings() {
PathService::Get(base::DIR_SYSTEM, &path);
static const base::char16 kControlPanelExe[] = L"control.exe";
path = path.Append(base::string16(kControlPanelExe));
- CommandLine command(path);
+ base::CommandLine command(path);
command.AppendArg(std::string("/name"));
command.AppendArg(std::string("Microsoft.DateAndTime"));
« no previous file with comments | « chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc ('k') | chrome/browser/ssl/ssl_browser_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698