| 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 "webkit/plugins/ppapi/ppb_flash_message_loop_impl.h" | 5 #include "content/renderer/pepper/ppb_flash_message_loop_impl.h" |
| 6 | 6 |
| 7 #include "base/callback.h" | 7 #include "base/callback.h" |
| 8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
| 9 #include "ppapi/c/pp_errors.h" | 9 #include "ppapi/c/pp_errors.h" |
| 10 | 10 |
| 11 using ppapi::thunk::PPB_Flash_MessageLoop_API; | 11 using ppapi::thunk::PPB_Flash_MessageLoop_API; |
| 12 | 12 |
| 13 namespace webkit { | 13 namespace webkit { |
| 14 namespace ppapi { | 14 namespace ppapi { |
| 15 | 15 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 state_->set_result(result); | 104 state_->set_result(result); |
| 105 | 105 |
| 106 base::MessageLoop::current()->QuitNow(); | 106 base::MessageLoop::current()->QuitNow(); |
| 107 | 107 |
| 108 if (!state_->run_callback().is_null()) | 108 if (!state_->run_callback().is_null()) |
| 109 state_->run_callback().Run(result); | 109 state_->run_callback().Run(result); |
| 110 } | 110 } |
| 111 | 111 |
| 112 } // namespace ppapi | 112 } // namespace ppapi |
| 113 } // namespace webkit | 113 } // namespace webkit |
| OLD | NEW |