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

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: chromium-style doesn't run on ppapi? Created 7 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 #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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 } 276 }
277 277
278 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont( 278 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont(
279 const void* logfontw) { 279 const void* logfontw) {
280 } 280 }
281 281
282 void PluginProxyTestHarness::PluginDelegateMock::SetActiveURL( 282 void PluginProxyTestHarness::PluginDelegateMock::SetActiveURL(
283 const std::string& url) { 283 const std::string& url) {
284 } 284 }
285 285
286 PP_Resource PluginProxyTestHarness::PluginDelegateMock::CreateBrowserFont(
287 Connection connection,
288 PP_Instance instance,
289 const PP_BrowserFont_Trusted_Description& desc,
290 const ppapi::Preferences& prefs) {
291 return 0;
292 }
293
286 // PluginProxyTest ------------------------------------------------------------- 294 // PluginProxyTest -------------------------------------------------------------
287 295
288 PluginProxyTest::PluginProxyTest() : PluginProxyTestHarness(SINGLETON_GLOBALS) { 296 PluginProxyTest::PluginProxyTest() : PluginProxyTestHarness(SINGLETON_GLOBALS) {
289 } 297 }
290 298
291 PluginProxyTest::~PluginProxyTest() { 299 PluginProxyTest::~PluginProxyTest() {
292 } 300 }
293 301
294 void PluginProxyTest::SetUp() { 302 void PluginProxyTest::SetUp() {
295 SetUpHarness(); 303 SetUpHarness();
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 plugin_thread_.message_loop_proxy()->PostTask(FROM_HERE, 584 plugin_thread_.message_loop_proxy()->PostTask(FROM_HERE,
577 base::Bind(&RunTaskOnRemoteHarness, 585 base::Bind(&RunTaskOnRemoteHarness,
578 task, 586 task,
579 &task_complete)); 587 &task_complete));
580 task_complete.Wait(); 588 task_complete.Wait();
581 } 589 }
582 590
583 591
584 } // namespace proxy 592 } // namespace proxy
585 } // namespace ppapi 593 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698