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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <windows.h> 5 #include <windows.h>
6 #include <malloc.h> 6 #include <malloc.h>
7 #include <shellscalingapi.h> 7 #include <shellscalingapi.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <tchar.h> 9 #include <tchar.h>
10 10
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 if (AttemptFastNotify(*command_line)) 238 if (AttemptFastNotify(*command_line))
239 return 0; 239 return 0;
240 240
241 RemoveAppCompatFlagsEntry(); 241 RemoveAppCompatFlagsEntry();
242 242
243 // Load and launch the chrome dll. *Everything* happens inside. 243 // Load and launch the chrome dll. *Everything* happens inside.
244 VLOG(1) << "About to load main DLL."; 244 VLOG(1) << "About to load main DLL.";
245 MainDllLoader* loader = MakeMainDllLoader(); 245 MainDllLoader* loader = MakeMainDllLoader();
246 int rc = loader->Launch(instance); 246 int rc = loader->Launch(instance);
247 loader->RelaunchChromeBrowserWithNewCommandLineIfNeeded(); 247 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.
248 // Only for the browser process.
249 loader->RelaunchChromeBrowserWithNewCommandLineIfNeeded();
250 }
248 delete loader; 251 delete loader;
249 return rc; 252 return rc;
250 } 253 }
OLDNEW
« 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