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

Side by Side 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, 8 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 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 #include <stddef.h>
6
7 #include "base/strings/string16.h"
5 #include "content/browser/frame_host/render_frame_host_delegate.h" 8 #include "content/browser/frame_host/render_frame_host_delegate.h"
6 9 #include "url/gurl.h"
7 #include <stddef.h>
8 10
9 namespace content { 11 namespace content {
10 12
11 bool RenderFrameHostDelegate::OnMessageReceived( 13 bool RenderFrameHostDelegate::OnMessageReceived(
12 RenderFrameHost* render_view_host, 14 RenderFrameHost* render_view_host,
13 const IPC::Message& message) { 15 const IPC::Message& message) {
14 return false; 16 return false;
15 } 17 }
16 18
19 const GURL& RenderFrameHostDelegate::GetURL() const {
20 return GURL::EmptyGURL();
21 }
22
23 bool RenderFrameHostDelegate::AddMessageToConsole(
24 int32 level, const base::string16& message, int32 line_no,
25 const base::string16& source_id) {
26 return false;
27 }
28
17 WebContents* RenderFrameHostDelegate::GetAsWebContents() { 29 WebContents* RenderFrameHostDelegate::GetAsWebContents() {
18 return NULL; 30 return NULL;
19 } 31 }
20 32
21 } // namespace content 33 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698