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

Unified Diff: chrome/browser/extensions/extensions_service.cc

Issue 373013: Use GetSwitchValueASCII. (Closed)
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/chromeos/external_cookie_handler.cc ('k') | chrome/browser/first_run_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extensions_service.cc
diff --git a/chrome/browser/extensions/extensions_service.cc b/chrome/browser/extensions/extensions_service.cc
index accb9cb0199769a2c56b6fecb2da8e8c1d4b3a34..a2193ef3522e112e0e8ab452c845b26457ef84ab 100644
--- a/chrome/browser/extensions/extensions_service.cc
+++ b/chrome/browser/extensions/extensions_service.cc
@@ -103,8 +103,8 @@ ExtensionsService::ExtensionsService(Profile* profile,
if (autoupdate_enabled) {
int update_frequency = kDefaultUpdateFrequencySeconds;
if (command_line->HasSwitch(switches::kExtensionsUpdateFrequency)) {
- update_frequency = StringToInt(WideToASCII(command_line->GetSwitchValue(
- switches::kExtensionsUpdateFrequency)));
+ update_frequency = StringToInt(command_line->GetSwitchValueASCII(
+ switches::kExtensionsUpdateFrequency));
}
updater_ = new ExtensionUpdater(this, prefs, update_frequency);
}
« no previous file with comments | « chrome/browser/chromeos/external_cookie_handler.cc ('k') | chrome/browser/first_run_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698