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

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

Issue 11786006: Added flags to override hosts for LSO URLs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « google_apis/gaia/gaia_urls.cc ('k') | net/url_request/url_fetcher_core.cc » ('j') | 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 #ifndef NET_URL_REQUEST_URL_FETCHER_CORE_H_ 5 #ifndef NET_URL_REQUEST_URL_FETCHER_CORE_H_
6 #define NET_URL_REQUEST_URL_FETCHER_CORE_H_ 6 #define NET_URL_REQUEST_URL_FETCHER_CORE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 bool GetResponseAsFilePath(bool take_ownership, 117 bool GetResponseAsFilePath(bool take_ownership,
118 FilePath* out_response_path); 118 FilePath* out_response_path);
119 119
120 // Overridden from URLRequest::Delegate: 120 // Overridden from URLRequest::Delegate:
121 virtual void OnReceivedRedirect(URLRequest* request, 121 virtual void OnReceivedRedirect(URLRequest* request,
122 const GURL& new_url, 122 const GURL& new_url,
123 bool* defer_redirect) OVERRIDE; 123 bool* defer_redirect) OVERRIDE;
124 virtual void OnResponseStarted(URLRequest* request) OVERRIDE; 124 virtual void OnResponseStarted(URLRequest* request) OVERRIDE;
125 virtual void OnReadCompleted(URLRequest* request, 125 virtual void OnReadCompleted(URLRequest* request,
126 int bytes_read) OVERRIDE; 126 int bytes_read) OVERRIDE;
127 virtual void OnCertificateRequested(
128 URLRequest* request,
129 SSLCertRequestInfo* cert_request_info) OVERRIDE;
127 130
128 // Overridden from NetworkChangeNotifier::ConnectionTypeObserver: 131 // Overridden from NetworkChangeNotifier::ConnectionTypeObserver:
129 virtual void OnConnectionTypeChanged( 132 virtual void OnConnectionTypeChanged(
130 NetworkChangeNotifier::ConnectionType type) OVERRIDE; 133 NetworkChangeNotifier::ConnectionType type) OVERRIDE;
131 134
132 URLFetcherDelegate* delegate() const { return delegate_; } 135 URLFetcherDelegate* delegate() const { return delegate_; }
133 static void CancelAll(); 136 static void CancelAll();
134 static int GetNumFetcherCores(); 137 static int GetNumFetcherCores();
135 static void SetEnableInterceptionForTests(bool enabled); 138 static void SetEnableInterceptionForTests(bool enabled);
136 139
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 base::debug::StackTrace stack_trace_; 420 base::debug::StackTrace stack_trace_;
418 421
419 static base::LazyInstance<Registry> g_registry; 422 static base::LazyInstance<Registry> g_registry;
420 423
421 DISALLOW_COPY_AND_ASSIGN(URLFetcherCore); 424 DISALLOW_COPY_AND_ASSIGN(URLFetcherCore);
422 }; 425 };
423 426
424 } // namespace net 427 } // namespace net
425 428
426 #endif // NET_URL_REQUEST_URL_FETCHER_CORE_H_ 429 #endif // NET_URL_REQUEST_URL_FETCHER_CORE_H_
OLDNEW
« no previous file with comments | « google_apis/gaia/gaia_urls.cc ('k') | net/url_request/url_fetcher_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698