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

Side by Side Diff: gin/gin.h

Issue 76353002: Introduce a Gin class instead of using global functions to control gin (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 1 month 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 | « gin/converter_unittest.cc ('k') | gin/gin.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 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 GIN_GIN_H_
6 #define GIN_GIN_H_
7
8 #include "base/basictypes.h"
9
10 namespace v8 {
11 class Isolate;
12 }
13
14 namespace gin {
15
16 class Gin {
17 public:
18 Gin();
19 ~Gin();
20
21 v8::Isolate* isolate() { return isolate_; }
22
23 private:
24 v8::Isolate* isolate_;
25
26 DISALLOW_COPY_AND_ASSIGN(Gin);
27 };
28
29 } // namespace gin
30
31 #endif // GIN_INITIALIZE_H_
OLDNEW
« no previous file with comments | « gin/converter_unittest.cc ('k') | gin/gin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698