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

Side by Side Diff: chrome/browser/renderer_host/mock_render_process_host.cc

Issue 113591: Fix Acid3 Test 48: LINKTEST, Chromium side.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Made waiting more bearable. Created 11 years, 5 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/browser/renderer_host/mock_render_process_host.h" 5 #include "chrome/browser/renderer_host/mock_render_process_host.h"
6 6
7 MockRenderProcessHost::MockRenderProcessHost(Profile* profile) 7 MockRenderProcessHost::MockRenderProcessHost(Profile* profile)
8 : RenderProcessHost(profile), 8 : RenderProcessHost(profile),
9 transport_dib_(NULL) { 9 transport_dib_(NULL) {
10 static int prev_pid = 0; 10 static int prev_pid = 0;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 void MockRenderProcessHost::WidgetRestored() { 45 void MockRenderProcessHost::WidgetRestored() {
46 } 46 }
47 47
48 void MockRenderProcessHost::WidgetHidden() { 48 void MockRenderProcessHost::WidgetHidden() {
49 } 49 }
50 50
51 void MockRenderProcessHost::AddWord(const std::wstring& word) { 51 void MockRenderProcessHost::AddWord(const std::wstring& word) {
52 } 52 }
53 53
54 void MockRenderProcessHost::AddVisitedLinks(
55 const VisitedLinkCommon::Fingerprints& links) {
56 }
57
58 void MockRenderProcessHost::ResetVisitedLinks() {
59 }
60
54 bool MockRenderProcessHost::FastShutdownIfPossible() { 61 bool MockRenderProcessHost::FastShutdownIfPossible() {
55 return false; 62 return false;
56 } 63 }
57 64
58 bool MockRenderProcessHost::SendWithTimeout(IPC::Message* msg, int timeout_ms) { 65 bool MockRenderProcessHost::SendWithTimeout(IPC::Message* msg, int timeout_ms) {
59 // Save the message in the sink. Just ignore timeout_ms. 66 // Save the message in the sink. Just ignore timeout_ms.
60 sink_.OnMessageReceived(*msg); 67 sink_.OnMessageReceived(*msg);
61 delete msg; 68 delete msg;
62 return true; 69 return true;
63 } 70 }
(...skipping 22 matching lines...) Expand all
86 #endif 93 #endif
87 94
88 return transport_dib_; 95 return transport_dib_;
89 } 96 }
90 97
91 void MockRenderProcessHost::OnMessageReceived(const IPC::Message& msg) { 98 void MockRenderProcessHost::OnMessageReceived(const IPC::Message& msg) {
92 } 99 }
93 100
94 void MockRenderProcessHost::OnChannelConnected(int32 peer_pid) { 101 void MockRenderProcessHost::OnChannelConnected(int32 peer_pid) {
95 } 102 }
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/mock_render_process_host.h ('k') | chrome/browser/renderer_host/render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698