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

Side by Side Diff: webkit/glue/weburlrequest_impl.cc

Issue 46026: Get rid of stashing a frame pointer with ResourceRequest and just store the r... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "config.h" 5 #include "config.h"
6 #include "base/compiler_specific.h" 6 #include "base/compiler_specific.h"
7 7
8 MSVC_PUSH_WARNING_LEVEL(0); 8 MSVC_PUSH_WARNING_LEVEL(0);
9 #include "FormData.h" 9 #include "FormData.h"
10 #include "HTTPHeaderMap.h" 10 #include "HTTPHeaderMap.h"
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 formdata->appendFile( 195 formdata->appendFile(
196 webkit_glue::StdWStringToString(element.file_path())); 196 webkit_glue::StdWStringToString(element.file_path()));
197 } else { 197 } else {
198 NOTREACHED(); 198 NOTREACHED();
199 } 199 }
200 } 200 }
201 201
202 request_.resourceRequest().setHTTPBody(formdata); 202 request_.resourceRequest().setHTTPBody(formdata);
203 } 203 }
204 204
205 void WebRequestImpl::SetRequestorID(int requestor_id) {
206 request_.resourceRequest().setRequestorID(requestor_id);
207 }
208
205 // static 209 // static
206 WebRequest* WebRequest::Create(const GURL& url) { 210 WebRequest* WebRequest::Create(const GURL& url) {
207 return new WebRequestImpl(url); 211 return new WebRequestImpl(url);
208 } 212 }
OLDNEW
« no previous file with comments | « webkit/glue/weburlrequest_impl.h ('k') | webkit/tools/test_shell/simple_resource_loader_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698