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

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

Issue 2530043002: Set process phases in the StackSamplingProfiler. (Closed)
Patch Set: improved comment Created 3 years, 11 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
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 void EarlyInitialization(); 113 void EarlyInitialization();
114 114
115 // Initializes the toolkit. Returns whether the toolkit initialization was 115 // Initializes the toolkit. Returns whether the toolkit initialization was
116 // successful or not. 116 // successful or not.
117 bool InitializeToolkit(); 117 bool InitializeToolkit();
118 118
119 void PreMainMessageLoopStart(); 119 void PreMainMessageLoopStart();
120 void MainMessageLoopStart(); 120 void MainMessageLoopStart();
121 void PostMainMessageLoopStart(); 121 void PostMainMessageLoopStart();
122 void PreShutdown();
122 123
123 // 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
124 // 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
125 // request for synchronous startup while the tasks created by asynchronous 126 // request for synchronous startup while the tasks created by asynchronous
126 // startup are still running. 127 // startup are still running.
127 void CreateStartupTasks(); 128 void CreateStartupTasks();
128 129
129 // Perform the default message loop run logic. 130 // Perform the default message loop run logic.
130 void RunMainMessageLoopParts(); 131 void RunMainMessageLoopParts();
131 132
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 scoped_refptr<SaveFileManager> save_file_manager_; 318 scoped_refptr<SaveFileManager> save_file_manager_;
318 319
319 // DO NOT add members here. Add them to the right categories above. 320 // DO NOT add members here. Add them to the right categories above.
320 321
321 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); 322 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop);
322 }; 323 };
323 324
324 } // namespace content 325 } // namespace content
325 326
326 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 327 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
OLDNEW
« no previous file with comments | « components/startup_metric_utils/browser/startup_metric_utils.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698