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

Side by Side Diff: gin/modules/console.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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 GIN_MODULES_CONSOLE_H_ 5 #ifndef GIN_MODULES_CONSOLE_H_
6 #define GIN_MODULES_CONSOLE_H_ 6 #define GIN_MODULES_CONSOLE_H_
7 7
8 #include "gin/gin_export.h"
8 #include "v8/include/v8.h" 9 #include "v8/include/v8.h"
9 10
10 namespace gin { 11 namespace gin {
11 12
12 // The Console module provides a basic API for printing to stdout. Over time, 13 // The Console module provides a basic API for printing to stdout. Over time,
13 // we'd like to evolve the API to match window.console in browsers. 14 // we'd like to evolve the API to match window.console in browsers.
14 class Console { 15 class GIN_EXPORT Console {
15 public: 16 public:
16 static const char kModuleName[]; 17 static const char kModuleName[];
17 static v8::Local<v8::ObjectTemplate> GetTemplate(v8::Isolate* isolate); 18 static v8::Local<v8::ObjectTemplate> GetTemplate(v8::Isolate* isolate);
18 }; 19 };
19 20
20 } // namespace gin 21 } // namespace gin
21 22
22 #endif // GIN_MODULES_CONSOLE_H_ 23 #endif // GIN_MODULES_CONSOLE_H_
OLDNEW
« gin/array_buffer.h ('K') | « gin/gin_export.h ('k') | gin/modules/file_module_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698