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

Side by Side Diff: content/renderer/pepper/pepper_url_loader_host.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, 5 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "content/renderer/pepper/pepper_url_loader_host.h" 5 #include "content/renderer/pepper/pepper_url_loader_host.h"
6 6
7
scottmg 2013/07/24 22:23:01 \n
8 #include "content/renderer/pepper/ppapi_plugin_instance_impl.h"
7 #include "content/renderer/pepper/renderer_ppapi_host_impl.h" 9 #include "content/renderer/pepper/renderer_ppapi_host_impl.h"
10 #include "content/renderer/pepper/url_request_info_util.h"
8 #include "content/renderer/pepper/url_response_info_util.h" 11 #include "content/renderer/pepper/url_response_info_util.h"
9 #include "net/base/net_errors.h" 12 #include "net/base/net_errors.h"
10 #include "ppapi/c/pp_errors.h" 13 #include "ppapi/c/pp_errors.h"
11 #include "ppapi/host/dispatch_host_message.h" 14 #include "ppapi/host/dispatch_host_message.h"
12 #include "ppapi/host/host_message_context.h" 15 #include "ppapi/host/host_message_context.h"
13 #include "ppapi/host/ppapi_host.h" 16 #include "ppapi/host/ppapi_host.h"
14 #include "ppapi/proxy/ppapi_messages.h" 17 #include "ppapi/proxy/ppapi_messages.h"
15 #include "ppapi/shared_impl/ppapi_globals.h" 18 #include "ppapi/shared_impl/ppapi_globals.h"
16 #include "third_party/WebKit/public/platform/WebURLError.h" 19 #include "third_party/WebKit/public/platform/WebURLError.h"
17 #include "third_party/WebKit/public/platform/WebURLLoader.h" 20 #include "third_party/WebKit/public/platform/WebURLLoader.h"
18 #include "third_party/WebKit/public/platform/WebURLRequest.h" 21 #include "third_party/WebKit/public/platform/WebURLRequest.h"
19 #include "third_party/WebKit/public/platform/WebURLResponse.h" 22 #include "third_party/WebKit/public/platform/WebURLResponse.h"
20 #include "third_party/WebKit/public/web/WebDocument.h" 23 #include "third_party/WebKit/public/web/WebDocument.h"
21 #include "third_party/WebKit/public/web/WebElement.h" 24 #include "third_party/WebKit/public/web/WebElement.h"
22 #include "third_party/WebKit/public/web/WebFrame.h" 25 #include "third_party/WebKit/public/web/WebFrame.h"
23 #include "third_party/WebKit/public/web/WebKit.h" 26 #include "third_party/WebKit/public/web/WebKit.h"
24 #include "third_party/WebKit/public/web/WebPluginContainer.h" 27 #include "third_party/WebKit/public/web/WebPluginContainer.h"
25 #include "third_party/WebKit/public/web/WebSecurityOrigin.h" 28 #include "third_party/WebKit/public/web/WebSecurityOrigin.h"
26 #include "third_party/WebKit/public/web/WebURLLoaderOptions.h" 29 #include "third_party/WebKit/public/web/WebURLLoaderOptions.h"
27 #include "webkit/plugins/ppapi/ppapi_plugin_instance_impl.h"
28 #include "webkit/plugins/ppapi/url_request_info_util.h"
29 30
30 using WebKit::WebFrame; 31 using WebKit::WebFrame;
31 using WebKit::WebString; 32 using WebKit::WebString;
32 using WebKit::WebURL; 33 using WebKit::WebURL;
33 using WebKit::WebURLError; 34 using WebKit::WebURLError;
34 using WebKit::WebURLLoader; 35 using WebKit::WebURLLoader;
35 using WebKit::WebURLLoaderOptions; 36 using WebKit::WebURLLoaderOptions;
36 using WebKit::WebURLRequest; 37 using WebKit::WebURLRequest;
37 using WebKit::WebURLResponse; 38 using WebKit::WebURLResponse;
38 39
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 ppapi::proxy::ResourceMessageReplyParams params; 372 ppapi::proxy::ResourceMessageReplyParams params;
372 SendUpdateToPlugin(new PpapiPluginMsg_URLLoader_UpdateProgress( 373 SendUpdateToPlugin(new PpapiPluginMsg_URLLoader_UpdateProgress(
373 record_upload ? bytes_sent_ : -1, 374 record_upload ? bytes_sent_ : -1,
374 record_upload ? total_bytes_to_be_sent_ : -1, 375 record_upload ? total_bytes_to_be_sent_ : -1,
375 record_download ? bytes_received_ : -1, 376 record_download ? bytes_received_ : -1,
376 record_download ? total_bytes_to_be_received_ : -1)); 377 record_download ? total_bytes_to_be_received_ : -1));
377 } 378 }
378 } 379 }
379 380
380 } // namespace content 381 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | content/renderer/pepper/pepper_url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698