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

Side by Side Diff: chrome/browser/net/url_fetcher.cc

Issue 196097: Do not send or store cookies for extensions autoupdate http requests.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
« no previous file with comments | « chrome/browser/net/url_fetcher.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/browser/net/url_fetcher.h" 5 #include "chrome/browser/net/url_fetcher.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/thread.h" 9 #include "base/thread.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 void URLFetcher::set_upload_data(const std::string& upload_content_type, 280 void URLFetcher::set_upload_data(const std::string& upload_content_type,
281 const std::string& upload_content) { 281 const std::string& upload_content) {
282 core_->upload_content_type_ = upload_content_type; 282 core_->upload_content_type_ = upload_content_type;
283 core_->upload_content_ = upload_content; 283 core_->upload_content_ = upload_content;
284 } 284 }
285 285
286 void URLFetcher::set_load_flags(int load_flags) { 286 void URLFetcher::set_load_flags(int load_flags) {
287 core_->load_flags_ = load_flags; 287 core_->load_flags_ = load_flags;
288 } 288 }
289 289
290 int URLFetcher::load_flags() const {
291 return core_->load_flags_;
292 }
293
290 void URLFetcher::set_extra_request_headers( 294 void URLFetcher::set_extra_request_headers(
291 const std::string& extra_request_headers) { 295 const std::string& extra_request_headers) {
292 core_->extra_request_headers_ = extra_request_headers; 296 core_->extra_request_headers_ = extra_request_headers;
293 } 297 }
294 298
295 void URLFetcher::set_request_context(URLRequestContext* request_context) { 299 void URLFetcher::set_request_context(URLRequestContext* request_context) {
296 core_->request_context_ = request_context; 300 core_->request_context_ = request_context;
297 } 301 }
298 302
299 net::HttpResponseHeaders* URLFetcher::response_headers() const { 303 net::HttpResponseHeaders* URLFetcher::response_headers() const {
300 return core_->response_headers_; 304 return core_->response_headers_;
301 } 305 }
302 306
303 void URLFetcher::Start() { 307 void URLFetcher::Start() {
304 core_->Start(); 308 core_->Start();
305 } 309 }
306 310
307 const GURL& URLFetcher::url() const { 311 const GURL& URLFetcher::url() const {
308 return core_->url_; 312 return core_->url_;
309 } 313 }
310 314
311 URLFetcher::Delegate* URLFetcher::delegate() const { 315 URLFetcher::Delegate* URLFetcher::delegate() const {
312 return core_->delegate(); 316 return core_->delegate();
313 } 317 }
OLDNEW
« no previous file with comments | « chrome/browser/net/url_fetcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698