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

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

Issue 10541088: Propogate the UI language on the command line and expose to Flash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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/ppb_flash_proxy.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 "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 std::string PluginProxyTestHarness::PluginDelegateMock::GetUILanguage() {
233 return std::string("en-US");
234 }
235
232 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont( 236 void PluginProxyTestHarness::PluginDelegateMock::PreCacheFont(
233 const void* logfontw) { 237 const void* logfontw) {
234 } 238 }
235 239
236 // PluginProxyTest ------------------------------------------------------------- 240 // PluginProxyTest -------------------------------------------------------------
237 241
238 PluginProxyTest::PluginProxyTest() { 242 PluginProxyTest::PluginProxyTest() {
239 } 243 }
240 244
241 PluginProxyTest::~PluginProxyTest() { 245 PluginProxyTest::~PluginProxyTest() {
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 remote_harness_torn_down.Wait(); 402 remote_harness_torn_down.Wait();
399 403
400 local_harness_->TearDownHarness(); 404 local_harness_->TearDownHarness();
401 405
402 io_thread_.Stop(); 406 io_thread_.Stop();
403 } 407 }
404 408
405 409
406 } // namespace proxy 410 } // namespace proxy
407 } // namespace ppapi 411 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_proxy_test.h ('k') | ppapi/proxy/ppb_flash_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698