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

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

Issue 2530043002: Set process phases in the StackSamplingProfiler. (Closed)
Patch Set: rebased 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();
122 void PostShutdown();
121 123
122 // Create and start running the tasks we need to complete startup. Note that 124 // 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 125 // 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 126 // request for synchronous startup while the tasks created by asynchronous
125 // startup are still running. 127 // startup are still running.
126 void CreateStartupTasks(); 128 void CreateStartupTasks();
127 129
128 // Perform the default message loop run logic. 130 // Perform the default message loop run logic.
129 void RunMainMessageLoopParts(); 131 void RunMainMessageLoopParts();
130 132
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 scoped_refptr<SaveFileManager> save_file_manager_; 313 scoped_refptr<SaveFileManager> save_file_manager_;
312 314
313 // DO NOT add members here. Add them to the right categories above. 315 // DO NOT add members here. Add them to the right categories above.
314 316
315 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); 317 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop);
316 }; 318 };
317 319
318 } // namespace content 320 } // namespace content
319 321
320 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 322 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698