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

Unified Diff: gin/runner.h

Issue 101583004: [gin] Turn gin into a component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win Created 7 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 side-by-side diff with in-line comments
Download patch
Index: gin/runner.h
diff --git a/gin/runner.h b/gin/runner.h
index 8ba2b681a6a5f151577093fa6498a6bb300b2f2d..943bcedba1ca8d0d6c7153f5664d6fe7f683a751 100644
--- a/gin/runner.h
+++ b/gin/runner.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/memory/weak_ptr.h"
+#include "gin/gin_export.h"
#include "gin/public/context_holder.h"
namespace gin {
@@ -18,7 +19,7 @@ class TryCatch;
// Subclass RunnerDelegate to customize the behavior of |Runner|. Typical
// embedders will want to subclass one of the specialized RunnerDelegates,
// such as ModuleRunnerDelegate.
-class RunnerDelegate {
+class GIN_EXPORT RunnerDelegate {
public:
RunnerDelegate();
virtual ~RunnerDelegate();
@@ -33,7 +34,7 @@ class RunnerDelegate {
// Runner lets you run code in a v8::Context. Upon construction, Runner will
// create a v8::Context. Upon destruction, Runner will dispose the context.
-class Runner : public ContextHolder {
+class GIN_EXPORT Runner : public ContextHolder {
public:
Runner(RunnerDelegate* delegate, v8::Isolate* isolate);
~Runner();
@@ -58,7 +59,7 @@ class Runner : public ContextHolder {
return weak_factory_.GetWeakPtr();
}
- class Scope {
+ class GIN_EXPORT Scope {
public:
explicit Scope(Runner* runner);
~Scope();
« gin/array_buffer.h ('K') | « gin/public/wrapper_info.h ('k') | gin/try_catch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698