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

Side by Side Diff: webkit/plugins/ppapi/ppb_broker_impl.h

Issue 19744007: Create a public API around webkit::ppapi::PluginInstance and use it in chrome. After this, webkit/p… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 WEBKIT_PLUGINS_PPAPI_PPB_BROKER_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_BROKER_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_BROKER_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_BROKER_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "ppapi/c/pp_completion_callback.h" 11 #include "ppapi/c/pp_completion_callback.h"
12 #include "ppapi/c/trusted/ppb_broker_trusted.h" 12 #include "ppapi/c/trusted/ppb_broker_trusted.h"
13 #include "ppapi/shared_impl/resource.h" 13 #include "ppapi/shared_impl/resource.h"
14 #include "ppapi/shared_impl/tracked_callback.h" 14 #include "ppapi/shared_impl/tracked_callback.h"
15 #include "ppapi/thunk/ppb_broker_api.h" 15 #include "ppapi/thunk/ppb_broker_api.h"
16 #include "webkit/plugins/ppapi/plugin_delegate.h" 16 #include "webkit/plugins/ppapi/plugin_delegate.h"
17 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
18 #include "webkit/plugins/webkit_plugins_export.h" 17 #include "webkit/plugins/webkit_plugins_export.h"
19 18
20 namespace webkit { 19 namespace webkit {
21 namespace ppapi { 20 namespace ppapi {
22 21
23 class WEBKIT_PLUGINS_EXPORT PPB_Broker_Impl 22 class WEBKIT_PLUGINS_EXPORT PPB_Broker_Impl
24 : public ::ppapi::Resource, 23 : public ::ppapi::Resource,
25 NON_EXPORTED_BASE(public ::ppapi::thunk::PPB_Broker_API), 24 NON_EXPORTED_BASE(public ::ppapi::thunk::PPB_Broker_API),
26 public base::SupportsWeakPtr<PPB_Broker_Impl> { 25 public base::SupportsWeakPtr<PPB_Broker_Impl> {
27 public: 26 public:
(...skipping 26 matching lines...) Expand all
54 // Never owned by this object. 53 // Never owned by this object.
55 int32_t pipe_handle_; 54 int32_t pipe_handle_;
56 55
57 DISALLOW_COPY_AND_ASSIGN(PPB_Broker_Impl); 56 DISALLOW_COPY_AND_ASSIGN(PPB_Broker_Impl);
58 }; 57 };
59 58
60 } // namespace ppapi 59 } // namespace ppapi
61 } // namespace webkit 60 } // namespace webkit
62 61
63 #endif // WEBKIT_PLUGINS_PPAPI_PPB_BROKER_IMPL_H_ 62 #endif // WEBKIT_PLUGINS_PPAPI_PPB_BROKER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698