OLD | NEW |
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 #include "ppapi/proxy/plugin_globals.h" | 5 #include "ppapi/proxy/plugin_globals.h" |
6 | 6 |
7 #include "base/location.h" | 7 #include "base/location.h" |
| 8 #include "base/macros.h" |
8 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
9 #include "base/task_runner.h" | 10 #include "base/task_runner.h" |
10 #include "base/threading/thread.h" | 11 #include "base/threading/thread.h" |
11 #include "ipc/ipc_message.h" | 12 #include "ipc/ipc_message.h" |
12 #include "ipc/ipc_sender.h" | 13 #include "ipc/ipc_sender.h" |
13 #include "ppapi/proxy/plugin_dispatcher.h" | 14 #include "ppapi/proxy/plugin_dispatcher.h" |
14 #include "ppapi/proxy/plugin_message_filter.h" | 15 #include "ppapi/proxy/plugin_message_filter.h" |
15 #include "ppapi/proxy/plugin_proxy_delegate.h" | 16 #include "ppapi/proxy/plugin_proxy_delegate.h" |
16 #include "ppapi/proxy/ppapi_messages.h" | 17 #include "ppapi/proxy/ppapi_messages.h" |
17 #include "ppapi/proxy/ppb_message_loop_proxy.h" | 18 #include "ppapi/proxy/ppb_message_loop_proxy.h" |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 return true; | 260 return true; |
260 } | 261 } |
261 | 262 |
262 void PluginGlobals::OnReleaseKeepaliveThrottle() { | 263 void PluginGlobals::OnReleaseKeepaliveThrottle() { |
263 ppapi::ProxyLock::AssertAcquiredDebugOnly(); | 264 ppapi::ProxyLock::AssertAcquiredDebugOnly(); |
264 plugin_recently_active_ = false; | 265 plugin_recently_active_ = false; |
265 } | 266 } |
266 | 267 |
267 } // namespace proxy | 268 } // namespace proxy |
268 } // namespace ppapi | 269 } // namespace ppapi |
OLD | NEW |