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

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

Issue 7655002: Convert the pp::proxy namespace to the ppapi::proxy namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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) 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_var_proxy.h" 5 #include "ppapi/proxy/ppb_var_proxy.h"
6 6
7 #include "ppapi/c/pp_var.h" 7 #include "ppapi/c/pp_var.h"
8 #include "ppapi/c/ppb_var.h" 8 #include "ppapi/c/ppb_var.h"
9 #include "ppapi/proxy/plugin_resource_tracker.h" 9 #include "ppapi/proxy/plugin_resource_tracker.h"
10 #include "ppapi/proxy/plugin_var_tracker.h" 10 #include "ppapi/proxy/plugin_var_tracker.h"
11 #include "ppapi/shared_impl/var.h" 11 #include "ppapi/shared_impl/var.h"
12 12
13 using ppapi::StringVar; 13 namespace ppapi {
14
15 namespace pp {
16 namespace proxy { 14 namespace proxy {
17 15
18 namespace { 16 namespace {
19 17
20 // PPP_Var plugin -------------------------------------------------------------- 18 // PPP_Var plugin --------------------------------------------------------------
21 19
22 void AddRefVar(PP_Var var) { 20 void AddRefVar(PP_Var var) {
23 PluginResourceTracker::GetInstance()->var_tracker().AddRefVar(var); 21 PluginResourceTracker::GetInstance()->var_tracker().AddRefVar(var);
24 } 22 }
25 23
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 return &info; 73 return &info;
76 } 74 }
77 75
78 bool PPB_Var_Proxy::OnMessageReceived(const IPC::Message& msg) { 76 bool PPB_Var_Proxy::OnMessageReceived(const IPC::Message& msg) {
79 // All PPB_Var calls are handled locally; there is no need to send or receive 77 // All PPB_Var calls are handled locally; there is no need to send or receive
80 // messages here. 78 // messages here.
81 return false; 79 return false;
82 } 80 }
83 81
84 } // namespace proxy 82 } // namespace proxy
85 } // namespace pp 83 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698