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

Side by Side Diff: ppapi/nacl_irt/ppapi_dispatcher.h

Issue 1864293002: Convert //ppapi to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more nullptr Created 4 years, 8 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
« no previous file with comments | « ppapi/nacl_irt/manifest_service.h ('k') | ppapi/proxy/audio_encoder_resource.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_NACL_IRT_PPAPI_DISPATCHER_H_ 5 #ifndef PPAPI_NACL_IRT_PPAPI_DISPATCHER_H_
6 #define PPAPI_NACL_IRT_PPAPI_DISPATCHER_H_ 6 #define PPAPI_NACL_IRT_PPAPI_DISPATCHER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 void OnMsgInitializeNaClDispatcher(const PpapiNaClPluginArgs& args); 88 void OnMsgInitializeNaClDispatcher(const PpapiNaClPluginArgs& args);
89 void OnPluginDispatcherMessageReceived(const IPC::Message& msg); 89 void OnPluginDispatcherMessageReceived(const IPC::Message& msg);
90 90
91 std::set<PP_Instance> instances_; 91 std::set<PP_Instance> instances_;
92 std::map<uint32_t, proxy::PluginDispatcher*> plugin_dispatchers_; 92 std::map<uint32_t, proxy::PluginDispatcher*> plugin_dispatchers_;
93 uint32_t next_plugin_dispatcher_id_; 93 uint32_t next_plugin_dispatcher_id_;
94 94
95 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 95 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
96 base::WaitableEvent* shutdown_event_; 96 base::WaitableEvent* shutdown_event_;
97 int renderer_ipc_fd_; 97 int renderer_ipc_fd_;
98 scoped_ptr<IPC::SyncChannel> channel_; 98 std::unique_ptr<IPC::SyncChannel> channel_;
99 }; 99 };
100 100
101 } // namespace ppapi 101 } // namespace ppapi
102 102
103 #endif // PPAPI_NACL_IRT_PPAPI_DISPATCHER_H_ 103 #endif // PPAPI_NACL_IRT_PPAPI_DISPATCHER_H_
OLDNEW
« no previous file with comments | « ppapi/nacl_irt/manifest_service.h ('k') | ppapi/proxy/audio_encoder_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698