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

Side by Side Diff: content/renderer/pepper_plugin_delegate_impl.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 CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <map> 10 #include <map>
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 BrokerDispatcherWrapper(); 58 BrokerDispatcherWrapper();
59 ~BrokerDispatcherWrapper(); 59 ~BrokerDispatcherWrapper();
60 60
61 bool Init(base::ProcessHandle plugin_process_handle, 61 bool Init(base::ProcessHandle plugin_process_handle,
62 const IPC::ChannelHandle& channel_handle); 62 const IPC::ChannelHandle& channel_handle);
63 63
64 int32_t SendHandleToBroker(PP_Instance instance, 64 int32_t SendHandleToBroker(PP_Instance instance,
65 base::SyncSocket::Handle handle); 65 base::SyncSocket::Handle handle);
66 66
67 private: 67 private:
68 scoped_ptr<pp::proxy::BrokerDispatcher> dispatcher_; 68 scoped_ptr<ppapi::proxy::BrokerDispatcher> dispatcher_;
69 }; 69 };
70 70
71 // This object is NOT thread-safe. 71 // This object is NOT thread-safe.
72 class PpapiBrokerImpl : public webkit::ppapi::PluginDelegate::PpapiBroker, 72 class PpapiBrokerImpl : public webkit::ppapi::PluginDelegate::PpapiBroker,
73 public base::RefCountedThreadSafe<PpapiBrokerImpl>{ 73 public base::RefCountedThreadSafe<PpapiBrokerImpl>{
74 public: 74 public:
75 PpapiBrokerImpl(webkit::ppapi::PluginModule* plugin_module, 75 PpapiBrokerImpl(webkit::ppapi::PluginModule* plugin_module,
76 PepperPluginDelegateImpl* delegate_); 76 PepperPluginDelegateImpl* delegate_);
77 77
78 // PpapiBroker implementation. 78 // PpapiBroker implementation.
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 bool is_pepper_plugin_focused_; 336 bool is_pepper_plugin_focused_;
337 337
338 // Set of instances to receive a notification when the enterprise policy has 338 // Set of instances to receive a notification when the enterprise policy has
339 // been updated. 339 // been updated.
340 std::set<webkit::ppapi::PluginInstance*> subscribed_to_policy_updates_; 340 std::set<webkit::ppapi::PluginInstance*> subscribed_to_policy_updates_;
341 341
342 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 342 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
343 }; 343 };
344 344
345 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 345 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698