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

Side by Side Diff: ppapi/proxy/ppb_memory_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_memory_proxy.h" 5 #include "ppapi/proxy/ppb_memory_proxy.h"
6 6
7 #include "ppapi/c/dev/ppb_memory_dev.h" 7 #include "ppapi/c/dev/ppb_memory_dev.h"
8 #include "ppapi/proxy/plugin_var_tracker.h" 8 #include "ppapi/proxy/plugin_var_tracker.h"
9 9
10 namespace pp { 10 namespace ppapi {
11 namespace proxy { 11 namespace proxy {
12 12
13 namespace { 13 namespace {
14 14
15 // PPB_Memory_Dev plugin ------------------------------------------------------- 15 // PPB_Memory_Dev plugin -------------------------------------------------------
16 16
17 void* MemAlloc(uint32_t num_bytes) { 17 void* MemAlloc(uint32_t num_bytes) {
18 return malloc(num_bytes); 18 return malloc(num_bytes);
19 } 19 }
20 20
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 return &info; 54 return &info;
55 } 55 }
56 56
57 bool PPB_Memory_Proxy::OnMessageReceived(const IPC::Message& msg) { 57 bool PPB_Memory_Proxy::OnMessageReceived(const IPC::Message& msg) {
58 // All PPB_Memory_Dev calls are handled locally; there is no need to send or 58 // All PPB_Memory_Dev calls are handled locally; there is no need to send or
59 // receive messages here. 59 // receive messages here.
60 return false; 60 return false;
61 } 61 }
62 62
63 } // namespace proxy 63 } // namespace proxy
64 } // namespace pp 64 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698