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

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

Issue 20165002: Move webkit/plugins/ppapi to content/renderer/pepper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: more more clang fun 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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/url_response_info_util.h" 5 #include "content/renderer/pepper/url_response_info_util.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "content/renderer/pepper/ppb_file_ref_impl.h"
8 #include "ppapi/shared_impl/url_response_info_data.h" 9 #include "ppapi/shared_impl/url_response_info_data.h"
9 #include "third_party/WebKit/public/platform/WebCString.h" 10 #include "third_party/WebKit/public/platform/WebCString.h"
10 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h" 11 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h"
11 #include "third_party/WebKit/public/platform/WebString.h" 12 #include "third_party/WebKit/public/platform/WebString.h"
12 #include "third_party/WebKit/public/platform/WebURL.h" 13 #include "third_party/WebKit/public/platform/WebURL.h"
13 #include "third_party/WebKit/public/platform/WebURLResponse.h" 14 #include "third_party/WebKit/public/platform/WebURLResponse.h"
14 #include "webkit/plugins/ppapi/ppb_file_ref_impl.h"
15 15
16 using webkit::ppapi::PPB_FileRef_Impl; 16 using webkit::ppapi::PPB_FileRef_Impl;
17 using WebKit::WebHTTPHeaderVisitor; 17 using WebKit::WebHTTPHeaderVisitor;
18 using WebKit::WebString; 18 using WebKit::WebString;
19 using WebKit::WebURLResponse; 19 using WebKit::WebURLResponse;
20 20
21 namespace content { 21 namespace content {
22 22
23 namespace { 23 namespace {
24 24
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 pp_instance, 68 pp_instance,
69 base::FilePath::FromUTF16Unsafe(file_path), 69 base::FilePath::FromUTF16Unsafe(file_path),
70 std::string())); 70 std::string()));
71 data.body_as_file_ref = file_ref->GetCreateInfo(); 71 data.body_as_file_ref = file_ref->GetCreateInfo();
72 file_ref->GetReference(); // The returned data has one ref for the plugin. 72 file_ref->GetReference(); // The returned data has one ref for the plugin.
73 } 73 }
74 return data; 74 return data;
75 } 75 }
76 76
77 } // namespace content 77 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/url_request_info_util.cc ('k') | content/renderer/pepper/usb_key_code_conversion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698