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

Side by Side Diff: ppapi/proxy/ppapi_proxy_test.h

Issue 9192038: Relanding this with fixes to the mac dbg builder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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
« no previous file with comments | « ppapi/proxy/plugin_proxy_delegate.h ('k') | ppapi/proxy/ppapi_proxy_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include <map> 5 #include <map>
6 #include <string> 6 #include <string>
7 7
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/synchronization/waitable_event.h" 10 #include "base/synchronization/waitable_event.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // ProxyChannel::Delegate implementation. 114 // ProxyChannel::Delegate implementation.
115 virtual base::MessageLoopProxy* GetIPCMessageLoop() OVERRIDE; 115 virtual base::MessageLoopProxy* GetIPCMessageLoop() OVERRIDE;
116 virtual base::WaitableEvent* GetShutdownEvent() OVERRIDE; 116 virtual base::WaitableEvent* GetShutdownEvent() OVERRIDE;
117 117
118 // PluginDispatcher::PluginDelegate implementation. 118 // PluginDispatcher::PluginDelegate implementation.
119 virtual std::set<PP_Instance>* GetGloballySeenInstanceIDSet() OVERRIDE; 119 virtual std::set<PP_Instance>* GetGloballySeenInstanceIDSet() OVERRIDE;
120 virtual uint32 Register(PluginDispatcher* plugin_dispatcher) OVERRIDE; 120 virtual uint32 Register(PluginDispatcher* plugin_dispatcher) OVERRIDE;
121 virtual void Unregister(uint32 plugin_dispatcher_id) OVERRIDE; 121 virtual void Unregister(uint32 plugin_dispatcher_id) OVERRIDE;
122 122
123 // PluginPepperDelegate implementation. 123 // PluginPepperDelegate implementation.
124 virtual ppapi::WebKitForwarding* GetWebKitForwarding() OVERRIDE;
125 virtual void PostToWebKitThread(const tracked_objects::Location& from_here,
126 const base::Closure& task) OVERRIDE;
127 virtual bool SendToBrowser(IPC::Message* msg) OVERRIDE; 124 virtual bool SendToBrowser(IPC::Message* msg) OVERRIDE;
128 virtual void PreCacheFont(const void* logfontw) OVERRIDE; 125 virtual void PreCacheFont(const void* logfontw) OVERRIDE;
129 126
130 private: 127 private:
131 base::MessageLoopProxy* ipc_message_loop_; // Weak 128 base::MessageLoopProxy* ipc_message_loop_; // Weak
132 base::WaitableEvent* shutdown_event_; // Weak 129 base::WaitableEvent* shutdown_event_; // Weak
133 std::set<PP_Instance> instance_id_set_; 130 std::set<PP_Instance> instance_id_set_;
134 131
135 DISALLOW_COPY_AND_ASSIGN(PluginDelegateMock); 132 DISALLOW_COPY_AND_ASSIGN(PluginDelegateMock);
136 }; 133 };
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 // stopping the harnesses. 252 // stopping the harnesses.
256 ProxyTestHarnessBase* remote_harness_; 253 ProxyTestHarnessBase* remote_harness_;
257 ProxyTestHarnessBase* local_harness_; 254 ProxyTestHarnessBase* local_harness_;
258 255
259 base::WaitableEvent channel_created_; 256 base::WaitableEvent channel_created_;
260 base::WaitableEvent shutdown_event_; 257 base::WaitableEvent shutdown_event_;
261 }; 258 };
262 259
263 } // namespace proxy 260 } // namespace proxy
264 } // namespace ppapi 261 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/plugin_proxy_delegate.h ('k') | ppapi/proxy/ppapi_proxy_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698