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 CHROME_BROWSER_EXTENSIONS_API_RUNTIME_RUNTIME_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_RUNTIME_RUNTIME_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_RUNTIME_RUNTIME_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_RUNTIME_RUNTIME_API_H_ |
7 #pragma once | |
8 | 7 |
9 #include "chrome/browser/extensions/extension_function.h" | 8 #include "chrome/browser/extensions/extension_function.h" |
10 | 9 |
11 class ExtensionHost; | 10 class ExtensionHost; |
12 class Profile; | 11 class Profile; |
13 | 12 |
14 namespace extensions { | 13 namespace extensions { |
15 | 14 |
16 class Extension; | 15 class Extension; |
17 | 16 |
(...skipping 12 matching lines...) Expand all Loading... |
30 virtual ~RuntimeGetBackgroundPageFunction() {} | 29 virtual ~RuntimeGetBackgroundPageFunction() {} |
31 virtual bool RunImpl() OVERRIDE; | 30 virtual bool RunImpl() OVERRIDE; |
32 | 31 |
33 private: | 32 private: |
34 void OnPageLoaded(ExtensionHost*); | 33 void OnPageLoaded(ExtensionHost*); |
35 }; | 34 }; |
36 | 35 |
37 } // namespace extensions | 36 } // namespace extensions |
38 | 37 |
39 #endif // CHROME_BROWSER_EXTENSIONS_API_RUNTIME_RUNTIME_API_H_ | 38 #endif // CHROME_BROWSER_EXTENSIONS_API_RUNTIME_RUNTIME_API_H_ |
OLD | NEW |