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

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

Issue 8275012: Remove RemoteAccessClientFirewallTraversal policy and code paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-rebase Created 9 years, 2 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/ppb_instance_proxy.h ('k') | ppapi/tests/all_c_includes.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/ppb_instance_proxy.h" 5 #include "ppapi/proxy/ppb_instance_proxy.h"
6 6
7 #include "ppapi/c/pp_errors.h" 7 #include "ppapi/c/pp_errors.h"
8 #include "ppapi/c/pp_var.h" 8 #include "ppapi/c/pp_var.h"
9 #include "ppapi/c/ppb_instance.h" 9 #include "ppapi/c/ppb_instance.h"
10 #include "ppapi/c/ppb_messaging.h" 10 #include "ppapi/c/ppb_messaging.h"
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 NOTIMPLEMENTED(); 292 NOTIMPLEMENTED();
293 } 293 }
294 294
295 void PPB_Instance_Proxy::ZoomLimitsChanged(PP_Instance instance, 295 void PPB_Instance_Proxy::ZoomLimitsChanged(PP_Instance instance,
296 double minimum_factor, 296 double minimum_factor,
297 double maximium_factor) { 297 double maximium_factor) {
298 // Not proxied yet. 298 // Not proxied yet.
299 NOTIMPLEMENTED(); 299 NOTIMPLEMENTED();
300 } 300 }
301 301
302 void PPB_Instance_Proxy::SubscribeToPolicyUpdates(PP_Instance instance) {
303 // Not proxied yet.
304 NOTIMPLEMENTED();
305 }
306
307 PP_Var PPB_Instance_Proxy::ResolveRelativeToDocument( 302 PP_Var PPB_Instance_Proxy::ResolveRelativeToDocument(
308 PP_Instance instance, 303 PP_Instance instance,
309 PP_Var relative, 304 PP_Var relative,
310 PP_URLComponents_Dev* components) { 305 PP_URLComponents_Dev* components) {
311 ReceiveSerializedVarReturnValue result; 306 ReceiveSerializedVarReturnValue result;
312 dispatcher()->Send(new PpapiHostMsg_PPBInstance_ResolveRelativeToDocument( 307 dispatcher()->Send(new PpapiHostMsg_PPBInstance_ResolveRelativeToDocument(
313 INTERFACE_ID_PPB_INSTANCE, instance, 308 INTERFACE_ID_PPB_INSTANCE, instance,
314 SerializedVarSendInput(dispatcher(), relative), 309 SerializedVarSendInput(dispatcher(), relative),
315 &result)); 310 &result));
316 return URLUtilImpl::ConvertComponentsAndReturnURL(result.Return(dispatcher()), 311 return URLUtilImpl::ConvertComponentsAndReturnURL(result.Return(dispatcher()),
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 SerializedVarReturnValue result) { 574 SerializedVarReturnValue result) {
580 EnterFunctionNoLock<PPB_Instance_FunctionAPI> enter(instance, true); 575 EnterFunctionNoLock<PPB_Instance_FunctionAPI> enter(instance, true);
581 if (enter.succeeded()) { 576 if (enter.succeeded()) {
582 result.Return(dispatcher(), 577 result.Return(dispatcher(),
583 enter.functions()->GetPluginInstanceURL(instance, NULL)); 578 enter.functions()->GetPluginInstanceURL(instance, NULL));
584 } 579 }
585 } 580 }
586 581
587 } // namespace proxy 582 } // namespace proxy
588 } // namespace ppapi 583 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_instance_proxy.h ('k') | ppapi/tests/all_c_includes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698