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

Side by Side Diff: content/renderer/pepper/ppb_flash_message_loop_impl.cc

Issue 20165002: Move webkit/plugins/ppapi to content/renderer/pepper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
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 #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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698