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

Unified Diff: chrome/browser/first_run_win.cc

Issue 296004: Use GetSwitchValueASCII. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/extensions/extensions_service.cc ('k') | chrome/browser/nacl_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run_win.cc
===================================================================
--- chrome/browser/first_run_win.cc (revision 31117)
+++ chrome/browser/first_run_win.cc (working copy)
@@ -504,7 +504,7 @@
HWND owner_window_;
base::ProcessHandle import_process_;
WorkerThreadTicker ticker_;
- DISALLOW_EVIL_CONSTRUCTORS(HungImporterMonitor);
+ DISALLOW_COPY_AND_ASSIGN(HungImporterMonitor);
};
// This class is used by FirstRun::ImportNow to get notified of the outcome of
@@ -541,7 +541,7 @@
bool loop_running_;
int import_result_;
- DISALLOW_EVIL_CONSTRUCTORS(FirstRunImportObserver);
+ DISALLOW_COPY_AND_ASSIGN(FirstRunImportObserver);
};
std::wstring EncodeImportParams(int browser_type, int options, HWND window) {
@@ -575,7 +575,7 @@
if (cmdline.HasSwitch(switches::kUserDataDir)) {
import_cmd.AppendSwitchWithValue(
switches::kUserDataDir,
- cmdline.GetSwitchValue(switches::kUserDataDir));
+ cmdline.GetSwitchValueASCII(switches::kUserDataDir));
}
// Since ImportSettings is called before the local state is stored on disk
« no previous file with comments | « chrome/browser/extensions/extensions_service.cc ('k') | chrome/browser/nacl_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698