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

Side by Side Diff: ppapi/proxy/proxy_channel.h

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 #ifndef PPAPI_PROXY_PROXY_CHANNEL_H_ 5 #ifndef PPAPI_PROXY_PROXY_CHANNEL_H_
6 #define PPAPI_PROXY_PROXY_CHANNEL_H_ 6 #define PPAPI_PROXY_PROXY_CHANNEL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/process.h" 9 #include "base/process.h"
10 #include "ipc/ipc_message.h" 10 #include "ipc/ipc_message.h"
11 #include "ipc/ipc_platform_file.h" 11 #include "ipc/ipc_platform_file.h"
12 #include "ipc/ipc_sync_channel.h" 12 #include "ipc/ipc_sync_channel.h"
13 13
14 namespace base { 14 namespace base {
15 class MessageLoopProxy; 15 class MessageLoopProxy;
16 class WaitableEvent; 16 class WaitableEvent;
17 } 17 }
18 18
19 namespace IPC { 19 namespace IPC {
20 class TestSink; 20 class TestSink;
21 } 21 }
22 22
23 namespace pp { 23 namespace ppapi {
24 namespace proxy { 24 namespace proxy {
25 25
26 class VarSerializationRules; 26 class VarSerializationRules;
27 27
28 class ProxyChannel : public IPC::Channel::Listener, 28 class ProxyChannel : public IPC::Channel::Listener,
29 public IPC::Message::Sender { 29 public IPC::Message::Sender {
30 public: 30 public:
31 typedef void (*ShutdownModuleFunc)(); 31 typedef void (*ShutdownModuleFunc)();
32 32
33 class Delegate { 33 class Delegate {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 IPC::TestSink* test_sink_; 98 IPC::TestSink* test_sink_;
99 99
100 // Will be null for some tests when there is a test_sink_, and if the 100 // Will be null for some tests when there is a test_sink_, and if the
101 // remote side has crashed. 101 // remote side has crashed.
102 scoped_ptr<IPC::SyncChannel> channel_; 102 scoped_ptr<IPC::SyncChannel> channel_;
103 103
104 DISALLOW_COPY_AND_ASSIGN(ProxyChannel); 104 DISALLOW_COPY_AND_ASSIGN(ProxyChannel);
105 }; 105 };
106 106
107 } // namespace proxy 107 } // namespace proxy
108 } // namespace pp 108 } // namespace ppapi
109 109
110 #endif // PPAPI_PROXY_PROXY_CHANNEL_H_ 110 #endif // PPAPI_PROXY_PROXY_CHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698