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

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: patch for landing Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/resource_request_info.h ('k') | content/test/test_url_fetcher_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..9fbc533f6893eaaf30b21ed5c60f354b3e8ba2aa 100644
--- a/content/public/common/url_fetcher.h
+++ b/content/public/common/url_fetcher.h
@@ -156,6 +156,12 @@ 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(const GURL& first_party_for_cookies,
+ int render_process_id,
+ int render_view_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 +198,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;
« no previous file with comments | « content/public/browser/resource_request_info.h ('k') | content/test/test_url_fetcher_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698