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

Unified Diff: content/browser/frame_host/render_frame_host_delegate.cc

Issue 217183004: Migrate addMessageToConsole API to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_frame_host_delegate.cc
diff --git a/content/browser/frame_host/render_frame_host_delegate.cc b/content/browser/frame_host/render_frame_host_delegate.cc
index c5a88065c107d0b508c6c486f2ff6ae70547f772..61853d0af78435b2b06bd7c82c25ed6d8e445bf2 100644
--- a/content/browser/frame_host/render_frame_host_delegate.cc
+++ b/content/browser/frame_host/render_frame_host_delegate.cc
@@ -2,10 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/browser/frame_host/render_frame_host_delegate.h"
-
#include <stddef.h>
+#include "base/strings/string16.h"
+#include "content/browser/frame_host/render_frame_host_delegate.h"
+#include "url/gurl.h"
+
namespace content {
bool RenderFrameHostDelegate::OnMessageReceived(
@@ -14,6 +16,16 @@ bool RenderFrameHostDelegate::OnMessageReceived(
return false;
}
+const GURL& RenderFrameHostDelegate::GetURL() const {
+ return GURL::EmptyGURL();
+}
+
+bool RenderFrameHostDelegate::AddMessageToConsole(
+ int32 level, const base::string16& message, int32 line_no,
+ const base::string16& source_id) {
+ return false;
+}
+
WebContents* RenderFrameHostDelegate::GetAsWebContents() {
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698