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

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

Issue 20214004: move BrowserFontResource_Trusted to content/child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android enable_plugins Created 7 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
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 <sstream> 7 #include <sstream>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 } 275 }
276 276
277 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont( 277 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont(
278 const void* logfontw) { 278 const void* logfontw) {
279 } 279 }
280 280
281 void PluginProxyTestHarness::PluginDelegateMock::SetActiveURL( 281 void PluginProxyTestHarness::PluginDelegateMock::SetActiveURL(
282 const std::string& url) { 282 const std::string& url) {
283 } 283 }
284 284
285 PP_Resource PluginProxyTestHarness::PluginDelegateMock::CreateBrowserFont(
286 Connection connection,
287 PP_Instance instance,
288 const PP_BrowserFont_Trusted_Description& desc,
289 const ppapi::Preferences& prefs) {
yzshen1 2013/07/25 17:21:08 nit: ppapi:: is not needed.
scottmg 2013/07/25 17:39:49 Done.
290 return 0;
291 }
292
285 // PluginProxyTest ------------------------------------------------------------- 293 // PluginProxyTest -------------------------------------------------------------
286 294
287 PluginProxyTest::PluginProxyTest() : PluginProxyTestHarness(SINGLETON_GLOBALS) { 295 PluginProxyTest::PluginProxyTest() : PluginProxyTestHarness(SINGLETON_GLOBALS) {
288 } 296 }
289 297
290 PluginProxyTest::~PluginProxyTest() { 298 PluginProxyTest::~PluginProxyTest() {
291 } 299 }
292 300
293 void PluginProxyTest::SetUp() { 301 void PluginProxyTest::SetUp() {
294 SetUpHarness(); 302 SetUpHarness();
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 plugin_thread_.message_loop_proxy()->PostTask(FROM_HERE, 583 plugin_thread_.message_loop_proxy()->PostTask(FROM_HERE,
576 base::Bind(&RunTaskOnRemoteHarness, 584 base::Bind(&RunTaskOnRemoteHarness,
577 task, 585 task,
578 &task_complete)); 586 &task_complete));
579 task_complete.Wait(); 587 task_complete.Wait();
580 } 588 }
581 589
582 590
583 } // namespace proxy 591 } // namespace proxy
584 } // namespace ppapi 592 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698