| Index: extensions/renderer/console.h
|
| diff --git a/extensions/renderer/console.h b/extensions/renderer/console.h
|
| index f2b7f97d360d7eb6e2df72c9650ea6602f0f0c1c..10ae79a4667f53f509686e2b24517603ce334b49 100644
|
| --- a/extensions/renderer/console.h
|
| +++ b/extensions/renderer/console.h
|
| @@ -10,28 +10,11 @@
|
| #include "content/public/common/console_message_level.h"
|
| #include "v8/include/v8.h"
|
|
|
| -namespace content {
|
| -class RenderView;
|
| -}
|
| -
|
| namespace extensions {
|
|
|
| -// Utility for logging messages to RenderViews.
|
| +// Utility for logging messages to RenderFrames.
|
| namespace console {
|
|
|
| -// Adds |message| to the console of |render_view| at various log levels.
|
| -void Debug(content::RenderView* render_view, const std::string& message);
|
| -void Log(content::RenderView* render_view, const std::string& message);
|
| -void Warn(content::RenderView* render_view, const std::string& message);
|
| -void Error(content::RenderView* render_view, const std::string& message);
|
| -
|
| -// Logs an Error then crashes the current process.
|
| -void Fatal(content::RenderView* render_view, const std::string& message);
|
| -
|
| -void AddMessage(content::RenderView* render_view,
|
| - content::ConsoleMessageLevel level,
|
| - const std::string& message);
|
| -
|
| // Adds |message| to the console that hosts |context|, if any.
|
| void Debug(v8::Local<v8::Context> context, const std::string& message);
|
| void Log(v8::Local<v8::Context> context, const std::string& message);
|
|
|