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_RENDERER_EXTENSIONS_BINDING_GENERATING_NATIVE_HANDLER_H_ | 5 #ifndef EXTENSIONS_RENDERER_BINDING_GENERATING_NATIVE_HANDLER_H_ |
6 #define CHROME_RENDERER_EXTENSIONS_BINDING_GENERATING_NATIVE_HANDLER_H_ | 6 #define EXTENSIONS_RENDERER_BINDING_GENERATING_NATIVE_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "extensions/renderer/native_handler.h" | 11 #include "extensions/renderer/native_handler.h" |
12 | 12 |
13 namespace extensions { | 13 namespace extensions { |
14 | 14 |
15 class ModuleSystem; | 15 class ModuleSystem; |
16 | 16 |
(...skipping 11 matching lines...) Expand all Loading... |
28 virtual v8::Handle<v8::Object> NewInstance() OVERRIDE; | 28 virtual v8::Handle<v8::Object> NewInstance() OVERRIDE; |
29 | 29 |
30 private: | 30 private: |
31 ModuleSystem* module_system_; | 31 ModuleSystem* module_system_; |
32 std::string api_name_; | 32 std::string api_name_; |
33 std::string bind_to_; | 33 std::string bind_to_; |
34 }; | 34 }; |
35 | 35 |
36 } // namespace extensions | 36 } // namespace extensions |
37 | 37 |
38 #endif // CHROME_RENDERER_EXTENSIONS_BINDING_GENERATING_NATIVE_HANDLER_H_ | 38 #endif // EXTENSIONS_RENDERER_BINDING_GENERATING_NATIVE_HANDLER_H_ |
OLD | NEW |