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

Unified Diff: content/public/common/url_fetcher.h

Issue 9572001: Do cookie checks in NetworkDelegate instead of the URLRequest::Delegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: TestShellNetworkDelegate Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: content/public/common/url_fetcher.h
diff --git a/content/public/common/url_fetcher.h b/content/public/common/url_fetcher.h
index 571a34bc85624b09e67fca77634229174a9a999f..500f8c0932c10f0a2a3570283da7e2874094fe57 100644
--- a/content/public/common/url_fetcher.h
+++ b/content/public/common/url_fetcher.h
@@ -156,6 +156,10 @@ class CONTENT_EXPORT URLFetcher {
virtual void SetRequestContext(
net::URLRequestContextGetter* request_context_getter) = 0;
+ // Mark URLRequests started by the URLFetcher to stem from the given render
+ // view.
+ virtual void AssociateWithRenderView(int process_id, int routing_id) = 0;
+
// If |retry| is false, 5xx responses will be propagated to the observer,
// if it is true URLFetcher will automatically re-execute the request,
// after backoff_delay() elapses. URLFetcher has it set to true by default.
@@ -192,10 +196,6 @@ class CONTENT_EXPORT URLFetcher {
// settings.
virtual void Start() = 0;
- // Restarts the URLFetcher with a new URLRequestContextGetter.
- virtual void StartWithRequestContextGetter(
- net::URLRequestContextGetter* request_context_getter) = 0;
-
// Return the URL that we were asked to fetch.
virtual const GURL& GetOriginalURL() const = 0;

Powered by Google App Engine
This is Rietveld 408576698