[Sync] Test Android passphrase creation UI
[chromium-blink-merge.git] / gin / modules / console.h
blobff8061ba4a3bda1b1609d49794f6c402efaa07a6
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.
5 #ifndef GIN_MODULES_CONSOLE_H_
6 #define GIN_MODULES_CONSOLE_H_
8 #include "gin/gin_export.h"
9 #include "v8/include/v8.h"
11 namespace gin {
13 // The Console module provides a basic API for printing to stdout. Over time,
14 // we'd like to evolve the API to match window.console in browsers.
15 class GIN_EXPORT Console {
16 public:
17 static const char kModuleName[];
18 static v8::Local<v8::Value> GetModule(v8::Isolate* isolate);
21 } // namespace gin
23 #endif // GIN_MODULES_CONSOLE_H_