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

Side by Side Diff: ppapi/proxy/ppb_crypto_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_crypto_proxy.h" 5 #include "ppapi/proxy/ppb_crypto_proxy.h"
6 6
7 #include "ppapi/c/dev/ppb_crypto_dev.h" 7 #include "ppapi/c/dev/ppb_crypto_dev.h"
8 #include "ppapi/proxy/interface_id.h" 8 #include "ppapi/proxy/interface_id.h"
9 #include "ppapi/shared_impl/crypto_impl.h" 9 #include "ppapi/shared_impl/crypto_impl.h"
10 10
11 namespace pp { 11 namespace ppapi {
12 namespace proxy { 12 namespace proxy {
13 13
14 namespace { 14 namespace {
15 15
16 const PPB_Crypto_Dev crypto_interface = { 16 const PPB_Crypto_Dev crypto_interface = {
17 &ppapi::CryptoImpl::GetRandomBytes 17 &ppapi::CryptoImpl::GetRandomBytes
18 }; 18 };
19 19
20 InterfaceProxy* CreateCryptoProxy(Dispatcher* dispatcher, 20 InterfaceProxy* CreateCryptoProxy(Dispatcher* dispatcher,
21 const void* target_interface) { 21 const void* target_interface) {
(...skipping 22 matching lines...) Expand all
44 }; 44 };
45 return &info; 45 return &info;
46 } 46 }
47 47
48 bool PPB_Crypto_Proxy::OnMessageReceived(const IPC::Message& msg) { 48 bool PPB_Crypto_Proxy::OnMessageReceived(const IPC::Message& msg) {
49 NOTREACHED(); 49 NOTREACHED();
50 return false; 50 return false;
51 } 51 }
52 52
53 } // namespace proxy 53 } // namespace proxy
54 } // namespace pp 54 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698