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

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: Created 8 years 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 "chrome/renderer/extensions/native_handler.h"
9
10 namespace extensions {
11
12 class V8SchemaRegistry;
13
14 class SchemaGeneratedNativeHandler : public NativeHandler {
15 public:
16 SchemaGeneratedNativeHandler(V8SchemaRegistry* schema_registry,
17 const std::string& api_name,
18 const std::string& bind_to);
19
20 virtual v8::Handle<v8::Object> NewInstance() OVERRIDE;
21
22 private:
23 V8SchemaRegistry* schema_registry_;
24 std::string api_name_;
25 std::string bind_to_;
26 };
27
28 } // extensions
29
30 #endif // CHROME_RENDERER_EXTENSIONS_SCHEMA_GENERATED_NATIVE_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698