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

Side by Side Diff: content/browser/browser_main_loop.h

Issue 2530043002: Set process phases in the StackSamplingProfiler. (Closed)
Patch Set: addressed review comments by wittman Created 4 years 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
6 #define CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 6 #define CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 void EarlyInitialization(); 112 void EarlyInitialization();
113 113
114 // Initializes the toolkit. Returns whether the toolkit initialization was 114 // Initializes the toolkit. Returns whether the toolkit initialization was
115 // successful or not. 115 // successful or not.
116 bool InitializeToolkit(); 116 bool InitializeToolkit();
117 117
118 void PreMainMessageLoopStart(); 118 void PreMainMessageLoopStart();
119 void MainMessageLoopStart(); 119 void MainMessageLoopStart();
120 void PostMainMessageLoopStart(); 120 void PostMainMessageLoopStart();
121 void PreShutdown();
121 122
122 // Create and start running the tasks we need to complete startup. Note that 123 // Create and start running the tasks we need to complete startup. Note that
123 // this can be called more than once (currently only on Android) if we get a 124 // this can be called more than once (currently only on Android) if we get a
124 // request for synchronous startup while the tasks created by asynchronous 125 // request for synchronous startup while the tasks created by asynchronous
125 // startup are still running. 126 // startup are still running.
126 void CreateStartupTasks(); 127 void CreateStartupTasks();
127 128
128 // Perform the default message loop run logic. 129 // Perform the default message loop run logic.
129 void RunMainMessageLoopParts(); 130 void RunMainMessageLoopParts();
130 131
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 scoped_refptr<SaveFileManager> save_file_manager_; 312 scoped_refptr<SaveFileManager> save_file_manager_;
312 313
313 // DO NOT add members here. Add them to the right categories above. 314 // DO NOT add members here. Add them to the right categories above.
314 315
315 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); 316 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop);
316 }; 317 };
317 318
318 } // namespace content 319 } // namespace content
319 320
320 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 321 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698