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

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

Issue 2626663002: Update MimeSniffingResourceHandler tests to use MockResourceLoader. (Closed)
Patch Set: Fix test? 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
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:

Powered by Google App Engine
This is Rietveld 408576698