| OLD | NEW |
| 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 #include "ppapi/proxy/ppp_find_proxy.h" | 5 #include "ppapi/proxy/ppp_find_proxy.h" |
| 6 | 6 |
| 7 #include "build/build_config.h" |
| 7 #include "ppapi/proxy/host_dispatcher.h" | 8 #include "ppapi/proxy/host_dispatcher.h" |
| 8 #include "ppapi/proxy/ppapi_messages.h" | 9 #include "ppapi/proxy/ppapi_messages.h" |
| 9 #include "ppapi/shared_impl/api_id.h" | 10 #include "ppapi/shared_impl/api_id.h" |
| 10 #include "ppapi/shared_impl/proxy_lock.h" | 11 #include "ppapi/shared_impl/proxy_lock.h" |
| 11 | 12 |
| 12 namespace ppapi { | 13 namespace ppapi { |
| 13 namespace proxy { | 14 namespace proxy { |
| 14 | 15 |
| 15 namespace { | 16 namespace { |
| 16 | 17 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 CallWhileUnlocked(ppp_find_->SelectFindResult, instance, forward); | 95 CallWhileUnlocked(ppp_find_->SelectFindResult, instance, forward); |
| 95 } | 96 } |
| 96 | 97 |
| 97 void PPP_Find_Proxy::OnPluginMsgStopFind(PP_Instance instance) { | 98 void PPP_Find_Proxy::OnPluginMsgStopFind(PP_Instance instance) { |
| 98 if (ppp_find_) | 99 if (ppp_find_) |
| 99 CallWhileUnlocked(ppp_find_->StopFind, instance); | 100 CallWhileUnlocked(ppp_find_->StopFind, instance); |
| 100 } | 101 } |
| 101 | 102 |
| 102 } // namespace proxy | 103 } // namespace proxy |
| 103 } // namespace ppapi | 104 } // namespace ppapi |
| OLD | NEW |