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

Side by Side Diff: chrome/renderer/extensions/schema_generated_native_handler.h

Issue 11571014: Lazy load chrome.* APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments/TODOs Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_RENDERER_EXTENSIONS_SCHEMA_GENERATED_NATIVE_HANDLER_H_
6 #define CHROME_RENDERER_EXTENSIONS_SCHEMA_GENERATED_NATIVE_HANDLER_H_
7
8 #include <string>
9
10 #include "base/compiler_specific.h"
11 #include "chrome/renderer/extensions/native_handler.h"
12
13 namespace extensions {
14
15 class ModuleSystem;
16 class V8SchemaRegistry;
17
18 class SchemaGeneratedNativeHandler : public NativeHandler {
not at google - send to devlin 2013/01/25 00:44:31 comment? SchemaGenerat*ing*NativeHandler perhaps?
cduvall 2013/02/12 02:13:47 Done.
19 public:
20 SchemaGeneratedNativeHandler(ModuleSystem* module_system,
21 V8SchemaRegistry* schema_registry,
22 const std::string& api_name,
23 const std::string& bind_to);
24
25 virtual v8::Handle<v8::Object> NewInstance() OVERRIDE;
26
27 private:
28 ModuleSystem* module_system_;
29 V8SchemaRegistry* schema_registry_;
30 std::string api_name_;
31 std::string bind_to_;
32 };
33
34 } // extensions
35
36 #endif // CHROME_RENDERER_EXTENSIONS_SCHEMA_GENERATED_NATIVE_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698