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

Unified Diff: content/browser/loader/resource_controller.h

Issue 2626663002: Update MimeSniffingResourceHandler tests to use MockResourceLoader. (Closed)
Patch Set: Merge Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/loader/mock_resource_loader.cc ('k') | content/browser/loader/test_resource_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/resource_controller.h
diff --git a/content/browser/loader/resource_controller.h b/content/browser/loader/resource_controller.h
index f21a2039b0f6983c1e69ff4fca6e01fcd6cb7d43..98b2b72ff7069828335e815faae3dbc3a8a3c323 100644
--- a/content/browser/loader/resource_controller.h
+++ b/content/browser/loader/resource_controller.h
@@ -19,6 +19,10 @@ class CONTENT_EXPORT ResourceController {
virtual void Cancel() = 0;
virtual void CancelAndIgnore() = 0;
virtual void CancelWithError(int error_code) = 0;
+
+ // Resumes the request. May only be called if the request was previously
+ // deferred. Guaranteed not to call back into the ResourceHandler, or destroy
+ // it, synchronously.
virtual void Resume() = 0;
protected:
« no previous file with comments | « content/browser/loader/mock_resource_loader.cc ('k') | content/browser/loader/test_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698