summaryrefslogtreecommitdiffstats
path: root/gin/runner.h
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-12 21:32:34 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-12 21:32:34 +0000
commit48c21631008649ad2575b16fe33b336858dcdde9 (patch)
treef6fd9761eb0001c806962937583ea15eafd7ed7b /gin/runner.h
parentedc3af84cd907175e0dd24bfc377d20c06fd7d0e (diff)
downloadchromium_src-48c21631008649ad2575b16fe33b336858dcdde9.zip
chromium_src-48c21631008649ad2575b16fe33b336858dcdde9.tar.gz
chromium_src-48c21631008649ad2575b16fe33b336858dcdde9.tar.bz2
[gin] Turn gin into a component
This will allow for using gin from content and blink at the same time in a component build BUG=321631 R=abarth@chromium.org,aa@chromium.org Review URL: https://codereview.chromium.org/101583004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240425 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gin/runner.h')
-rw-r--r--gin/runner.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gin/runner.h b/gin/runner.h
index 8ba2b68..943bced 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();