OLD | NEW |
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 CHROME_RENDERER_EXTENSIONS_CONSOLE_H_ | 5 #ifndef EXTENSIONS_RENDERER_CONSOLE_H_ |
6 #define CHROME_RENDERER_EXTENSIONS_CONSOLE_H_ | 6 #define EXTENSIONS_RENDERER_CONSOLE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "content/public/common/console_message_level.h" | 10 #include "content/public/common/console_message_level.h" |
11 #include "v8/include/v8.h" | 11 #include "v8/include/v8.h" |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 class RenderView; | 14 class RenderView; |
15 } | 15 } |
16 | 16 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 // Returns a new v8::Object with each standard log method (Debug/Log/Warn/Error) | 48 // Returns a new v8::Object with each standard log method (Debug/Log/Warn/Error) |
49 // bound to respective debug/log/warn/error methods. This is a direct drop-in | 49 // bound to respective debug/log/warn/error methods. This is a direct drop-in |
50 // replacement for the standard devtools console.* methods usually accessible | 50 // replacement for the standard devtools console.* methods usually accessible |
51 // from JS. | 51 // from JS. |
52 v8::Local<v8::Object> AsV8Object(); | 52 v8::Local<v8::Object> AsV8Object(); |
53 | 53 |
54 } // namespace console | 54 } // namespace console |
55 | 55 |
56 } // namespace extensions | 56 } // namespace extensions |
57 | 57 |
58 #endif // CHROME_RENDERER_EXTENSIONS_CONSOLE_H_ | 58 #endif // EXTENSIONS_RENDERER_CONSOLE_H_ |
OLD | NEW |