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

Side by Side Diff: ppapi/proxy/plugin_dispatcher.cc

Issue 11359097: Refactored the PPB_Flash_File_ModuleLocal/FileRef to the new ppapi resource model (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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 "ppapi/proxy/plugin_dispatcher.h" 5 #include "ppapi/proxy/plugin_dispatcher.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "ipc/ipc_message.h" 12 #include "ipc/ipc_message.h"
13 #include "ipc/ipc_sync_channel.h" 13 #include "ipc/ipc_sync_channel.h"
14 #include "base/debug/trace_event.h" 14 #include "base/debug/trace_event.h"
15 #include "ppapi/c/pp_errors.h" 15 #include "ppapi/c/pp_errors.h"
16 #include "ppapi/c/ppp_instance.h" 16 #include "ppapi/c/ppp_instance.h"
17 #include "ppapi/proxy/flash_resource.h" 17 #include "ppapi/proxy/flash_resource.h"
18 #include "ppapi/proxy/flash_clipboard_resource.h" 18 #include "ppapi/proxy/flash_clipboard_resource.h"
19 #include "ppapi/proxy/flash_file_resource.h"
19 #include "ppapi/proxy/gamepad_resource.h" 20 #include "ppapi/proxy/gamepad_resource.h"
20 #include "ppapi/proxy/interface_list.h" 21 #include "ppapi/proxy/interface_list.h"
21 #include "ppapi/proxy/interface_proxy.h" 22 #include "ppapi/proxy/interface_proxy.h"
22 #include "ppapi/proxy/plugin_message_filter.h" 23 #include "ppapi/proxy/plugin_message_filter.h"
23 #include "ppapi/proxy/plugin_resource_tracker.h" 24 #include "ppapi/proxy/plugin_resource_tracker.h"
24 #include "ppapi/proxy/plugin_var_serialization_rules.h" 25 #include "ppapi/proxy/plugin_var_serialization_rules.h"
25 #include "ppapi/proxy/ppapi_messages.h" 26 #include "ppapi/proxy/ppapi_messages.h"
26 #include "ppapi/proxy/ppb_instance_proxy.h" 27 #include "ppapi/proxy/ppb_instance_proxy.h"
27 #include "ppapi/proxy/ppp_class_proxy.h" 28 #include "ppapi/proxy/ppp_class_proxy.h"
28 #include "ppapi/proxy/resource_creation_proxy.h" 29 #include "ppapi/proxy/resource_creation_proxy.h"
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 if (!resource) { 342 if (!resource) {
342 if (reply_params.sequence()) 343 if (reply_params.sequence())
343 NOTREACHED(); 344 NOTREACHED();
344 return; 345 return;
345 } 346 }
346 resource->OnReplyReceived(reply_params, nested_msg); 347 resource->OnReplyReceived(reply_params, nested_msg);
347 } 348 }
348 349
349 } // namespace proxy 350 } // namespace proxy
350 } // namespace ppapi 351 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698