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

Side by Side Diff: content/ppapi_plugin/ppapi_thread.h

Issue 1142063003: content/child: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build fix. Created 5 years, 7 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 | « content/plugin/plugin_thread.cc ('k') | content/ppapi_plugin/ppapi_thread.cc » ('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 (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 CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_ 5 #ifndef CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_
6 #define CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_ 6 #define CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 LOAD_RESULT_MAX // Boundary value for UMA_HISTOGRAM_ENUMERATION. 67 LOAD_RESULT_MAX // Boundary value for UMA_HISTOGRAM_ENUMERATION.
68 }; 68 };
69 69
70 // ChildThread overrides. 70 // ChildThread overrides.
71 bool Send(IPC::Message* msg) override; 71 bool Send(IPC::Message* msg) override;
72 bool OnControlMessageReceived(const IPC::Message& msg) override; 72 bool OnControlMessageReceived(const IPC::Message& msg) override;
73 void OnChannelConnected(int32 peer_pid) override; 73 void OnChannelConnected(int32 peer_pid) override;
74 74
75 // PluginDispatcher::PluginDelegate implementation. 75 // PluginDispatcher::PluginDelegate implementation.
76 std::set<PP_Instance>* GetGloballySeenInstanceIDSet() override; 76 std::set<PP_Instance>* GetGloballySeenInstanceIDSet() override;
77 base::MessageLoopProxy* GetIPCMessageLoop() override; 77 base::SingleThreadTaskRunner* GetIPCTaskRunner() override;
78 base::WaitableEvent* GetShutdownEvent() override; 78 base::WaitableEvent* GetShutdownEvent() override;
79 IPC::PlatformFileForTransit ShareHandleWithRemote( 79 IPC::PlatformFileForTransit ShareHandleWithRemote(
80 base::PlatformFile handle, 80 base::PlatformFile handle,
81 base::ProcessId peer_pid, 81 base::ProcessId peer_pid,
82 bool should_close_source) override; 82 bool should_close_source) override;
83 uint32 Register(ppapi::proxy::PluginDispatcher* plugin_dispatcher) override; 83 uint32 Register(ppapi::proxy::PluginDispatcher* plugin_dispatcher) override;
84 void Unregister(uint32 plugin_dispatcher_id) override; 84 void Unregister(uint32 plugin_dispatcher_id) override;
85 85
86 // PluginProxyDelegate. 86 // PluginProxyDelegate.
87 // SendToBrowser() is intended to be safe to use on another thread so 87 // SendToBrowser() is intended to be safe to use on another thread so
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 DISALLOW_IMPLICIT_CONSTRUCTORS(PpapiThread); 164 DISALLOW_IMPLICIT_CONSTRUCTORS(PpapiThread);
165 }; 165 };
166 166
167 #if defined(COMPILER_MSVC) 167 #if defined(COMPILER_MSVC)
168 #pragma warning(pop) 168 #pragma warning(pop)
169 #endif 169 #endif
170 170
171 } // namespace content 171 } // namespace content
172 172
173 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_ 173 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_
OLDNEW
« no previous file with comments | « content/plugin/plugin_thread.cc ('k') | content/ppapi_plugin/ppapi_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698