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

Side by Side Diff: trunk/src/content/public/test/mock_render_thread.h

Issue 352013002: Revert 279557 "Support exposing Mojo services between render fra..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ 5 #ifndef CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_
6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ 6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_
7 7
8 #include "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual void SetIdleNotificationDelayInMs( 64 virtual void SetIdleNotificationDelayInMs(
65 int64 idle_notification_delay_in_ms) OVERRIDE; 65 int64 idle_notification_delay_in_ms) OVERRIDE;
66 virtual void UpdateHistograms(int sequence_number) OVERRIDE; 66 virtual void UpdateHistograms(int sequence_number) OVERRIDE;
67 virtual int PostTaskToAllWebWorkers(const base::Closure& closure) OVERRIDE; 67 virtual int PostTaskToAllWebWorkers(const base::Closure& closure) OVERRIDE;
68 virtual bool ResolveProxy(const GURL& url, std::string* proxy_list) OVERRIDE; 68 virtual bool ResolveProxy(const GURL& url, std::string* proxy_list) OVERRIDE;
69 virtual base::WaitableEvent* GetShutdownEvent() OVERRIDE; 69 virtual base::WaitableEvent* GetShutdownEvent() OVERRIDE;
70 #if defined(OS_WIN) 70 #if defined(OS_WIN)
71 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE; 71 virtual void PreCacheFont(const LOGFONT& log_font) OVERRIDE;
72 virtual void ReleaseCachedFonts() OVERRIDE; 72 virtual void ReleaseCachedFonts() OVERRIDE;
73 #endif 73 #endif
74 virtual ServiceRegistry* GetServiceRegistry() OVERRIDE;
75 74
76 ////////////////////////////////////////////////////////////////////////// 75 //////////////////////////////////////////////////////////////////////////
77 // The following functions are called by the test itself. 76 // The following functions are called by the test itself.
78 77
79 void set_routing_id(int32 id) { 78 void set_routing_id(int32 id) {
80 routing_id_ = id; 79 routing_id_ = id;
81 } 80 }
82 81
83 void set_surface_id(int32 id) { 82 void set_surface_id(int32 id) {
84 surface_id_ = id; 83 surface_id_ = id;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 // A list of message filters added to this thread. 160 // A list of message filters added to this thread.
162 std::vector<scoped_refptr<IPC::MessageFilter> > filters_; 161 std::vector<scoped_refptr<IPC::MessageFilter> > filters_;
163 162
164 // Observers to notify. 163 // Observers to notify.
165 ObserverList<RenderProcessObserver> observers_; 164 ObserverList<RenderProcessObserver> observers_;
166 }; 165 };
167 166
168 } // namespace content 167 } // namespace content
169 168
170 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_ 169 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « trunk/src/content/public/test/mock_render_process_host.cc ('k') | trunk/src/content/public/test/mock_render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698