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

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

Issue 10815073: Refactoring of new IPC-only pepper implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/ppapi_proxy_test.h ('k') | ppapi/proxy/resource_creation_proxy.h » ('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 "ppapi/proxy/ppapi_proxy_test.h" 5 #include "ppapi/proxy/ppapi_proxy_test.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/message_loop_proxy.h" 9 #include "base/message_loop_proxy.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 void PluginProxyTestHarness::PluginDelegateMock::Unregister( 222 void PluginProxyTestHarness::PluginDelegateMock::Unregister(
223 uint32 plugin_dispatcher_id) { 223 uint32 plugin_dispatcher_id) {
224 } 224 }
225 225
226 bool PluginProxyTestHarness::PluginDelegateMock::SendToBrowser( 226 bool PluginProxyTestHarness::PluginDelegateMock::SendToBrowser(
227 IPC::Message* msg) { 227 IPC::Message* msg) {
228 NOTREACHED(); 228 NOTREACHED();
229 return false; 229 return false;
230 } 230 }
231 231
232 IPC::Sender* PluginProxyTestHarness::PluginDelegateMock::GetBrowserSender() {
233 NOTREACHED();
234 return NULL;
235 }
236
232 std::string PluginProxyTestHarness::PluginDelegateMock::GetUILanguage() { 237 std::string PluginProxyTestHarness::PluginDelegateMock::GetUILanguage() {
233 return std::string("en-US"); 238 return std::string("en-US");
234 } 239 }
235 240
236 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont( 241 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont(
237 const void* logfontw) { 242 const void* logfontw) {
238 } 243 }
239 244
240 void PluginProxyTestHarness::PluginDelegateMock::SetActiveURL( 245 void PluginProxyTestHarness::PluginDelegateMock::SetActiveURL(
241 const std::string& url) { 246 const std::string& url) {
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 &remote_harness_torn_down)); 410 &remote_harness_torn_down));
406 remote_harness_torn_down.Wait(); 411 remote_harness_torn_down.Wait();
407 412
408 local_harness_->TearDownHarness(); 413 local_harness_->TearDownHarness();
409 414
410 io_thread_.Stop(); 415 io_thread_.Stop();
411 } 416 }
412 417
413 } // namespace proxy 418 } // namespace proxy
414 } // namespace ppapi 419 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_proxy_test.h ('k') | ppapi/proxy/resource_creation_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698