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

Unified Diff: chrome/browser/service/service_process_control.cc

Issue 6245005: Code to send diagnostic messages about cloud print proxy. Currently diagnosti... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fixed build errors yet again Created 9 years, 11 months 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
Index: chrome/browser/service/service_process_control.cc
===================================================================
--- chrome/browser/service/service_process_control.cc (revision 70946)
+++ chrome/browser/service/service_process_control.cc (working copy)
@@ -4,6 +4,7 @@
#include "chrome/browser/service/service_process_control.h"
+#include "app/app_switches.h"
#include "base/command_line.h"
#include "base/file_path.h"
#include "base/process_util.h"
@@ -215,6 +216,9 @@
cmd_line->AppendSwitch(switches::kWaitForDebugger);
}
+ std::string locale = g_browser_process->GetApplicationLocale();
+ cmd_line->AppendSwitchASCII(switches::kLang, locale);
+
// And then start the process asynchronously.
launcher_ = new Launcher(this, cmd_line);
launcher_->Run(

Powered by Google App Engine
This is Rietveld 408576698