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

Side by Side Diff: content/public/browser/browser_main_runner.h

Issue 949293002: Implement a poor man's PostAfterStartupTask() function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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_PUBLIC_BROWSER_BROWSER_MAIN_RUNNER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_RUNNER_H_
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_RUNNER_H_ 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_RUNNER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 10
(...skipping 14 matching lines...) Expand all
25 // failed, and the returned value is used as the exit code for the process. 25 // failed, and the returned value is used as the exit code for the process.
26 virtual int Initialize(const content::MainFunctionParams& parameters) = 0; 26 virtual int Initialize(const content::MainFunctionParams& parameters) = 0;
27 27
28 // Perform the default run logic. 28 // Perform the default run logic.
29 virtual int Run() = 0; 29 virtual int Run() = 0;
30 30
31 // Shut down the browser state. 31 // Shut down the browser state.
32 virtual void Shutdown() = 0; 32 virtual void Shutdown() = 0;
33 }; 33 };
34 34
35 CONTENT_EXPORT bool IsBrowserStartingUp();
36
35 } // namespace content 37 } // namespace content
36 38
37 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_RUNNER_H_ 39 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698