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

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

Issue 7828103: Forward declare v8::Extension in chrome/renderer/extensions/*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_JS_ONLY_V8_EXTENSIONS_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_JS_ONLY_V8_EXTENSIONS_H_
6 #define CHROME_RENDERER_EXTENSIONS_JS_ONLY_V8_EXTENSIONS_H_ 6 #define CHROME_RENDERER_EXTENSIONS_JS_ONLY_V8_EXTENSIONS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "v8/include/v8.h" 9 namespace v8 {
10 class Extension;
11 }
10 12
11 // This file contains various V8 Extensions that are JavaScript only, and 13 // This file contains various V8 Extensions that are JavaScript only, and
12 // don't have any C++ native functions. 14 // don't have any C++ native functions.
13 15
14 class JsonSchemaJsV8Extension { 16 class JsonSchemaJsV8Extension {
15 public: 17 public:
16 static const char* kName; 18 static const char* kName;
17 static v8::Extension* Get(); 19 static v8::Extension* Get();
18 }; 20 };
19 21
20 class ExtensionApiTestV8Extension { 22 class ExtensionApiTestV8Extension {
21 public: 23 public:
22 static const char* kName; 24 static const char* kName;
23 static v8::Extension* Get(); 25 static v8::Extension* Get();
24 }; 26 };
25 27
26 #endif // CHROME_RENDERER_EXTENSIONS_JS_ONLY_V8_EXTENSIONS_H_ 28 #endif // CHROME_RENDERER_EXTENSIONS_JS_ONLY_V8_EXTENSIONS_H_
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/extension_process_bindings.cc ('k') | chrome/renderer/extensions/js_only_v8_extensions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698