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

Side by Side Diff: webkit/extensions/v8/gc_extension.h

Issue 8741006: Add exports needed for glue to build as a component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to r112585 Created 9 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
« no previous file with comments | « no previous file | webkit/extensions/v8/heap_profiler_extension.h » ('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 (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 WEBKIT_EXTENSIONS_V8_GC_EXTENSION_H_ 5 #ifndef WEBKIT_EXTENSIONS_V8_GC_EXTENSION_H_
6 #define WEBKIT_EXTENSIONS_V8_GC_EXTENSION_H_ 6 #define WEBKIT_EXTENSIONS_V8_GC_EXTENSION_H_
7 #pragma once 7 #pragma once
8 8
9 #include "webkit/extensions/webkit_extensions_export.h"
10
9 namespace v8 { 11 namespace v8 {
10 class Extension; 12 class Extension;
11 } 13 }
12 14
13 namespace extensions_v8 { 15 namespace extensions_v8 {
14 16
15 // GCExtension is a v8 extension to expose a method into JS for triggering 17 // GCExtension is a v8 extension to expose a method into JS for triggering
16 // garbage collection. This should only be used for debugging. 18 // garbage collection. This should only be used for debugging.
17 class GCExtension { 19 class GCExtension {
18 public: 20 public:
19 static v8::Extension* Get(); 21 WEBKIT_EXTENSIONS_EXPORT static v8::Extension* Get();
20 }; 22 };
21 23
22 } // namespace extensions_v8 24 } // namespace extensions_v8
23 25
24 #endif // WEBKIT_EXTENSIONS_V8_GC_EXTENSION_H_ 26 #endif // WEBKIT_EXTENSIONS_V8_GC_EXTENSION_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/extensions/v8/heap_profiler_extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698