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

Side by Side Diff: ppapi/thunk/ppb_query_policy_thunk.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/thunk/ppb_instance_api.h ('k') | ppapi/thunk/thunk.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "ppapi/c/dev/ppb_query_policy_dev.h"
6 #include "ppapi/thunk/thunk.h"
7 #include "ppapi/thunk/enter.h"
8 #include "ppapi/thunk/ppb_instance_api.h"
9
10 namespace ppapi {
11 namespace thunk {
12
13 namespace {
14
15 void SubscribeToPolicyUpdates(PP_Instance instance) {
16 EnterFunction<PPB_Instance_FunctionAPI> enter(instance, true);
17 if (enter.failed())
18 return;
19 enter.functions()->SubscribeToPolicyUpdates(instance);
20 }
21
22 const PPB_QueryPolicy_Dev g_ppb_querypolicy_thunk = {
23 &SubscribeToPolicyUpdates,
24 };
25
26 } // namespace
27
28 const PPB_QueryPolicy_Dev* GetPPB_QueryPolicy_Dev_Thunk() {
29 return &g_ppb_querypolicy_thunk;
30 }
31
32 } // namespace thunk
33 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_instance_api.h ('k') | ppapi/thunk/thunk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698