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

Unified Diff: chrome/app/chrome_exe_main_win.cc

Issue 2351533004: Investigate RelaunchChromeBrowserWithNewCommandLineIfNeeded log spam (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_exe_main_win.cc
diff --git a/chrome/app/chrome_exe_main_win.cc b/chrome/app/chrome_exe_main_win.cc
index 22ec4bf4f40a6c8b4a9efa2e68ec11aef881fca3..8af352d5ca1f05f9dd2ff0578c7b92c2d659327c 100644
--- a/chrome/app/chrome_exe_main_win.cc
+++ b/chrome/app/chrome_exe_main_win.cc
@@ -244,7 +244,10 @@ int main() {
VLOG(1) << "About to load main DLL.";
MainDllLoader* loader = MakeMainDllLoader();
int rc = loader->Launch(instance);
- loader->RelaunchChromeBrowserWithNewCommandLineIfNeeded();
+ if (process_type.empty()) {
grt (UTC plus 2) 2016/09/19 19:59:42 it feels cleaner to me for this function to know a
manzagop (departed) 2016/09/20 19:39:39 Sgtm.
+ // Only for the browser process.
+ loader->RelaunchChromeBrowserWithNewCommandLineIfNeeded();
+ }
delete loader;
return rc;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698