OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 EXTENSIONS_BROWSER_API_EXTENSION_VIEW_EXTENSION_VIEW_INTERNAL_API_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_EXTENSION_VIEW_EXTENSION_VIEW_INTERNAL_API_H_ |
6 #define EXTENSIONS_BROWSER_API_EXTENSION_VIEW_EXTENSION_VIEW_INTERNAL_API_H_ | 6 #define EXTENSIONS_BROWSER_API_EXTENSION_VIEW_EXTENSION_VIEW_INTERNAL_API_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "extensions/browser/api/capture_web_contents_function.h" | 9 #include "extensions/browser/api/capture_web_contents_function.h" |
9 #include "extensions/browser/api/execute_code_function.h" | 10 #include "extensions/browser/api/execute_code_function.h" |
10 #include "extensions/browser/extension_function.h" | 11 #include "extensions/browser/extension_function.h" |
11 #include "extensions/browser/guest_view/extension_view/extension_view_guest.h" | 12 #include "extensions/browser/guest_view/extension_view/extension_view_guest.h" |
12 | 13 |
13 namespace extensions { | 14 namespace extensions { |
14 | 15 |
15 // An abstract base class for async extensionview APIs. It does a process ID | 16 // An abstract base class for async extensionview APIs. It does a process ID |
16 // check in RunAsync, and then calls RunAsyncSafe which must be overriden by | 17 // check in RunAsync, and then calls RunAsyncSafe which must be overriden by |
17 // all subclasses. | 18 // all subclasses. |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 private: | 61 private: |
61 // ExtensionViewInternalParseSrcFunction implementation. | 62 // ExtensionViewInternalParseSrcFunction implementation. |
62 bool RunAsync() final; | 63 bool RunAsync() final; |
63 | 64 |
64 DISALLOW_COPY_AND_ASSIGN(ExtensionViewInternalParseSrcFunction); | 65 DISALLOW_COPY_AND_ASSIGN(ExtensionViewInternalParseSrcFunction); |
65 }; | 66 }; |
66 | 67 |
67 } // namespace extensions | 68 } // namespace extensions |
68 | 69 |
69 #endif // CHROME_BROWSER_EXTENSIONS_API_EXTENSION_VIEW_EXTENSION_VIEW_INTERNAL_
API_H_ | 70 #endif // CHROME_BROWSER_EXTENSIONS_API_EXTENSION_VIEW_EXTENSION_VIEW_INTERNAL_
API_H_ |
OLD | NEW |