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

Side by Side Diff: chrome/browser/process_singleton_win.cc

Issue 43035: Get rid of --start-renderers-manually since it's been broken for a long time ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/browser/process_singleton.h" 5 #include "chrome/browser/process_singleton.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/process_util.h" 9 #include "base/process_util.h"
10 #include "base/win_util.h" 10 #include "base/win_util.h"
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 Profile* profile = profile_manager->GetDefaultProfile(user_data_dir); 222 Profile* profile = profile_manager->GetDefaultProfile(user_data_dir);
223 if (!profile) { 223 if (!profile) {
224 // We should only be able to get here if the profile already exists and 224 // We should only be able to get here if the profile already exists and
225 // has been created. 225 // has been created.
226 NOTREACHED(); 226 NOTREACHED();
227 return TRUE; 227 return TRUE;
228 } 228 }
229 229
230 // Run the browser startup sequence again, with the command line of the 230 // Run the browser startup sequence again, with the command line of the
231 // signalling process. 231 // signalling process.
232 BrowserInit::ProcessCommandLine(parsed_command_line, cur_dir, prefs, false, 232 BrowserInit::ProcessCommandLine(parsed_command_line, cur_dir, false,
233 profile, NULL); 233 profile, NULL);
234 return TRUE; 234 return TRUE;
235 } 235 }
236 return TRUE; 236 return TRUE;
237 } 237 }
238 238
239 LRESULT CALLBACK ProcessSingleton::WndProc(HWND hwnd, UINT message, 239 LRESULT CALLBACK ProcessSingleton::WndProc(HWND hwnd, UINT message,
240 WPARAM wparam, LPARAM lparam) { 240 WPARAM wparam, LPARAM lparam) {
241 switch (message) { 241 switch (message) {
242 case WM_COPYDATA: 242 case WM_COPYDATA:
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 return true; 295 return true;
296 } 296 }
297 297
298 protected: 298 protected:
299 std::vector<uint32> browsers_; 299 std::vector<uint32> browsers_;
300 }; 300 };
301 301
302 ZombieDetector zombie_detector; 302 ZombieDetector zombie_detector;
303 base::KillProcesses(L"chrome.exe", ResultCodes::HUNG, &zombie_detector); 303 base::KillProcesses(L"chrome.exe", ResultCodes::HUNG, &zombie_detector);
304 } 304 }
OLDNEW
« no previous file with comments | « chrome/browser/browser_prefs.cc ('k') | chrome/browser/renderer_host/browser_render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698