Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: extensions/renderer/binding_generating_native_handler.h

Issue 622343002: replace OVERRIDE and FINAL with override and final in extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/renderer/app_window_custom_bindings.cc ('k') | extensions/renderer/console.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_RENDERER_BINDING_GENERATING_NATIVE_HANDLER_H_ 5 #ifndef EXTENSIONS_RENDERER_BINDING_GENERATING_NATIVE_HANDLER_H_
6 #define EXTENSIONS_RENDERER_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
17 // Generates API bindings based on the JSON/IDL schemas. This is done by 17 // Generates API bindings based on the JSON/IDL schemas. This is done by
18 // creating a |Binding| (from binding.js) for the schema and generating the 18 // creating a |Binding| (from binding.js) for the schema and generating the
19 // bindings from that. 19 // bindings from that.
20 class BindingGeneratingNativeHandler : public NativeHandler { 20 class BindingGeneratingNativeHandler : public NativeHandler {
21 public: 21 public:
22 // Generates binding for |api_name|, and sets the |bind_to| property on the 22 // Generates binding for |api_name|, and sets the |bind_to| property on the
23 // Object returned by |NewInstance| to the generated binding. 23 // Object returned by |NewInstance| to the generated binding.
24 BindingGeneratingNativeHandler(ModuleSystem* module_system, 24 BindingGeneratingNativeHandler(ModuleSystem* module_system,
25 const std::string& api_name, 25 const std::string& api_name,
26 const std::string& bind_to); 26 const std::string& bind_to);
27 27
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 // EXTENSIONS_RENDERER_BINDING_GENERATING_NATIVE_HANDLER_H_ 38 #endif // EXTENSIONS_RENDERER_BINDING_GENERATING_NATIVE_HANDLER_H_
OLDNEW
« no previous file with comments | « extensions/renderer/app_window_custom_bindings.cc ('k') | extensions/renderer/console.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698