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

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

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 #ifndef CHROME_BROWSER_RENDERER_HOST_MOCK_RENDER_PROCESS_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_MOCK_RENDER_PROCESS_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_MOCK_RENDER_PROCESS_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_MOCK_RENDER_PROCESS_HOST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "chrome/browser/renderer_host/render_process_host.h" 9 #include "chrome/browser/renderer_host/render_process_host.h"
10 #include "chrome/common/ipc_test_sink.h" 10 #include "chrome/common/ipc_test_sink.h"
(...skipping 21 matching lines...) Expand all
32 virtual void CancelResourceRequests(int render_widget_id); 32 virtual void CancelResourceRequests(int render_widget_id);
33 virtual void CrossSiteClosePageACK(int new_render_process_host_id, 33 virtual void CrossSiteClosePageACK(int new_render_process_host_id,
34 int new_request_id); 34 int new_request_id);
35 virtual bool WaitForPaintMsg(int render_widget_id, 35 virtual bool WaitForPaintMsg(int render_widget_id,
36 const base::TimeDelta& max_delay, 36 const base::TimeDelta& max_delay,
37 IPC::Message* msg); 37 IPC::Message* msg);
38 virtual void ReceivedBadMessage(uint16 msg_type); 38 virtual void ReceivedBadMessage(uint16 msg_type);
39 virtual void WidgetRestored(); 39 virtual void WidgetRestored();
40 virtual void WidgetHidden(); 40 virtual void WidgetHidden();
41 virtual void AddWord(const std::wstring& word); 41 virtual void AddWord(const std::wstring& word);
42 virtual void AddVisitedLinks(
43 const VisitedLinkCommon::Fingerprints& visited_links);
44 virtual void ResetVisitedLinks();
42 virtual bool FastShutdownIfPossible(); 45 virtual bool FastShutdownIfPossible();
43 virtual bool SendWithTimeout(IPC::Message* msg, int timeout_ms); 46 virtual bool SendWithTimeout(IPC::Message* msg, int timeout_ms);
44 virtual TransportDIB* GetTransportDIB(TransportDIB::Id dib_id); 47 virtual TransportDIB* GetTransportDIB(TransportDIB::Id dib_id);
45 48
46 // IPC::Channel::Sender via RenderProcessHost. 49 // IPC::Channel::Sender via RenderProcessHost.
47 virtual bool Send(IPC::Message* msg); 50 virtual bool Send(IPC::Message* msg);
48 51
49 // IPC::Channel::Listener via RenderProcessHost. 52 // IPC::Channel::Listener via RenderProcessHost.
50 virtual void OnMessageReceived(const IPC::Message& msg); 53 virtual void OnMessageReceived(const IPC::Message& msg);
51 virtual void OnChannelConnected(int32 peer_pid); 54 virtual void OnChannelConnected(int32 peer_pid);
(...skipping 14 matching lines...) Expand all
66 virtual RenderProcessHost* CreateRenderProcessHost( 69 virtual RenderProcessHost* CreateRenderProcessHost(
67 Profile* profile) const { 70 Profile* profile) const {
68 return new MockRenderProcessHost(profile); 71 return new MockRenderProcessHost(profile);
69 } 72 }
70 73
71 private: 74 private:
72 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); 75 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory);
73 }; 76 };
74 77
75 #endif // CHROME_BROWSER_RENDERER_HOST_MOCK_RENDER_PROCESS_HOST_H_ 78 #endif // CHROME_BROWSER_RENDERER_HOST_MOCK_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/browser_render_process_host.cc ('k') | chrome/browser/renderer_host/mock_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698