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

Side by Side Diff: net/url_request/url_fetcher_core.cc

Issue 10834262: Enabled SignInAfterInit test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/signin/token_service.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "net/url_request/url_fetcher_core.h" 5 #include "net/url_request/url_fetcher_core.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/file_util_proxy.h" 8 #include "base/file_util_proxy.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 } 364 }
365 365
366 void URLFetcherCore::GetExtraRequestHeaders( 366 void URLFetcherCore::GetExtraRequestHeaders(
367 HttpRequestHeaders* headers) const { 367 HttpRequestHeaders* headers) const {
368 headers->CopyFrom(extra_request_headers_); 368 headers->CopyFrom(extra_request_headers_);
369 } 369 }
370 370
371 void URLFetcherCore::SetRequestContext( 371 void URLFetcherCore::SetRequestContext(
372 URLRequestContextGetter* request_context_getter) { 372 URLRequestContextGetter* request_context_getter) {
373 DCHECK(!request_context_getter_); 373 DCHECK(!request_context_getter_);
374 DCHECK(request_context_getter);
374 request_context_getter_ = request_context_getter; 375 request_context_getter_ = request_context_getter;
375 } 376 }
376 377
377 void URLFetcherCore::SetFirstPartyForCookies( 378 void URLFetcherCore::SetFirstPartyForCookies(
378 const GURL& first_party_for_cookies) { 379 const GURL& first_party_for_cookies) {
379 DCHECK(first_party_for_cookies_.is_empty()); 380 DCHECK(first_party_for_cookies_.is_empty());
380 first_party_for_cookies_ = first_party_for_cookies; 381 first_party_for_cookies_ = first_party_for_cookies;
381 } 382 }
382 383
383 void URLFetcherCore::SetURLRequestUserData( 384 void URLFetcherCore::SetURLRequestUserData(
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 } 998 }
998 999
999 void URLFetcherCore::InformDelegateDownloadDataInDelegateThread( 1000 void URLFetcherCore::InformDelegateDownloadDataInDelegateThread(
1000 scoped_ptr<std::string> download_data) { 1001 scoped_ptr<std::string> download_data) {
1001 DCHECK(delegate_task_runner_->BelongsToCurrentThread()); 1002 DCHECK(delegate_task_runner_->BelongsToCurrentThread());
1002 if (delegate_) 1003 if (delegate_)
1003 delegate_->OnURLFetchDownloadData(fetcher_, download_data.Pass()); 1004 delegate_->OnURLFetchDownloadData(fetcher_, download_data.Pass());
1004 } 1005 }
1005 1006
1006 } // namespace net 1007 } // namespace net
OLDNEW
« no previous file with comments | « chrome/browser/signin/token_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698