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_APP_CONTENT_MAIN_RUNNER_H_ | 5 #ifndef CONTENT_PUBLIC_APP_CONTENT_MAIN_RUNNER_H_ |
6 #define CONTENT_PUBLIC_APP_CONTENT_MAIN_RUNNER_H_ | 6 #define CONTENT_PUBLIC_APP_CONTENT_MAIN_RUNNER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "build/build_config.h" | 10 #include "build/build_config.h" |
12 | 11 |
13 #if defined(OS_WIN) | 12 #if defined(OS_WIN) |
14 #include <windows.h> | 13 #include <windows.h> |
15 #endif | 14 #endif |
16 | 15 |
17 namespace sandbox { | 16 namespace sandbox { |
(...skipping 30 matching lines...) Expand all Loading... |
48 // Perform the default run logic. | 47 // Perform the default run logic. |
49 virtual int Run() = 0; | 48 virtual int Run() = 0; |
50 | 49 |
51 // Shut down the content state. | 50 // Shut down the content state. |
52 virtual void Shutdown() = 0; | 51 virtual void Shutdown() = 0; |
53 }; | 52 }; |
54 | 53 |
55 } // namespace content | 54 } // namespace content |
56 | 55 |
57 #endif // CONTENT_PUBLIC_APP_CONTENT_MAIN_RUNNER_H_ | 56 #endif // CONTENT_PUBLIC_APP_CONTENT_MAIN_RUNNER_H_ |
OLD | NEW |