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

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

Issue 2526983002: Refactor ResourceHandler API. (Closed)
Patch Set: Response to comments 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 98b2b72ff7069828335e815faae3dbc3a8a3c323..85672556ed5242ce72ed68161f87eb21e477bd2e 100644
--- a/content/browser/loader/resource_controller.h
+++ b/content/browser/loader/resource_controller.h
@@ -16,6 +16,8 @@ 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;
@@ -24,9 +26,6 @@ class CONTENT_EXPORT ResourceController {
// deferred. Guaranteed not to call back into the ResourceHandler, or destroy
// it, synchronously.
virtual void Resume() = 0;
-
- protected:
- virtual ~ResourceController() {}
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698