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

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

Issue 2526983002: Refactor ResourceHandler API. (Closed)
Patch Set: Fix merge again (?) Created 4 years 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..a417fa838b2b98e49f16492458be05fe3079673f 100644
--- a/content/browser/loader/resource_controller.h
+++ b/content/browser/loader/resource_controller.h
@@ -16,13 +16,12 @@ namespace content {
// to cancel load with any other error code.
class CONTENT_EXPORT ResourceController {
public:
+ virtual ~ResourceController() {}
+
virtual void Cancel() = 0;
virtual void CancelAndIgnore() = 0;
virtual void CancelWithError(int error_code) = 0;
virtual void Resume() = 0;
-
- protected:
- virtual ~ResourceController() {}
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698