OLD | NEW |
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 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
11 | 10 |
12 namespace content { | 11 namespace content { |
13 | 12 |
14 struct MainFunctionParams; | 13 struct MainFunctionParams; |
15 | 14 |
16 // This class is responsible for browser initialization, running and shutdown. | 15 // This class is responsible for browser initialization, running and shutdown. |
17 class CONTENT_EXPORT BrowserMainRunner { | 16 class CONTENT_EXPORT BrowserMainRunner { |
(...skipping 10 matching lines...) Expand all Loading... |
28 // Perform the default run logic. | 27 // Perform the default run logic. |
29 virtual int Run() = 0; | 28 virtual int Run() = 0; |
30 | 29 |
31 // Shut down the browser state. | 30 // Shut down the browser state. |
32 virtual void Shutdown() = 0; | 31 virtual void Shutdown() = 0; |
33 }; | 32 }; |
34 | 33 |
35 } // namespace content | 34 } // namespace content |
36 | 35 |
37 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_RUNNER_H_ | 36 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_RUNNER_H_ |
OLD | NEW |