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

Side by Side Diff: webkit/plugins/ppapi/ppb_url_request_info_impl.cc

Issue 8849003: Rename the shared_impl resource files to give them more regular names. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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
Property Changes:
Deleted: svn:mergeinfo
Reverse-merged /branches/chrome_webkit_merge_branch/src/webkit/plugins/ppapi/ppb_url_request_info_impl.cc:r3734-4217,4606-5108,5177-5263
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_url_request_info_impl.h" 5 #include "webkit/plugins/ppapi/ppb_url_request_info_impl.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 #include "googleurl/src/url_util.h" 10 #include "googleurl/src/url_util.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 const int32_t kDefaultPrefetchBufferUpperThreshold = 100 * 1000 * 1000; 43 const int32_t kDefaultPrefetchBufferUpperThreshold = 100 * 1000 * 1000;
44 const int32_t kDefaultPrefetchBufferLowerThreshold = 50 * 1000 * 1000; 44 const int32_t kDefaultPrefetchBufferLowerThreshold = 50 * 1000 * 1000;
45 45
46 } // namespace 46 } // namespace
47 47
48 48
49 PPB_URLRequestInfo_Impl::PPB_URLRequestInfo_Impl( 49 PPB_URLRequestInfo_Impl::PPB_URLRequestInfo_Impl(
50 PP_Instance instance, 50 PP_Instance instance,
51 const PPB_URLRequestInfo_Data& data) 51 const PPB_URLRequestInfo_Data& data)
52 : URLRequestInfoImpl(instance, data) { 52 : PPB_URLRequestInfo_Shared(instance, data) {
53 } 53 }
54 54
55 PPB_URLRequestInfo_Impl::~PPB_URLRequestInfo_Impl() { 55 PPB_URLRequestInfo_Impl::~PPB_URLRequestInfo_Impl() {
56 } 56 }
57 57
58 bool PPB_URLRequestInfo_Impl::ToWebURLRequest(WebFrame* frame, 58 bool PPB_URLRequestInfo_Impl::ToWebURLRequest(WebFrame* frame,
59 WebURLRequest* dest) { 59 WebURLRequest* dest) {
60 // In the out-of-process case, we've received the PPB_URLRequestInfo_Data 60 // In the out-of-process case, we've received the PPB_URLRequestInfo_Data
61 // from the untrusted plugin and done no validation on it. We need to be 61 // from the untrusted plugin and done no validation on it. We need to be
62 // sure it's not being malicious by checking everything for consistency. 62 // sure it's not being malicious by checking everything for consistency.
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 webkit_glue::FilePathToWebString(platform_path), 184 webkit_glue::FilePathToWebString(platform_path),
185 start_offset, 185 start_offset,
186 number_of_bytes, 186 number_of_bytes,
187 expected_last_modified_time); 187 expected_last_modified_time);
188 return true; 188 return true;
189 } 189 }
190 190
191 191
192 } // namespace ppapi 192 } // namespace ppapi
193 } // namespace webkit 193 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_url_request_info_impl.h ('k') | webkit/plugins/ppapi/ppb_video_decoder_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698