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

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

Issue 10640019: Remove the HANDLED_EXTERNALLY status code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: revert removing DCHECK from URLRequest::DoCancel Created 8 years, 5 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/public/browser/resource_controller.h
diff --git a/content/public/browser/resource_controller.h b/content/public/browser/resource_controller.h
index 17c0eabafe7ef01aa03c3dad9b920d92acf04392..f5955dd1775efa066d3e22ed721074156921b957 100644
--- a/content/public/browser/resource_controller.h
+++ b/content/public/browser/resource_controller.h
@@ -12,6 +12,8 @@ namespace content {
class ResourceController {
public:
virtual void Cancel() = 0;
+ virtual void CancelWithError(int error) = 0;
darin (slow to review) 2012/08/10 18:03:02 It looks like we don't need CancelWithError since
mkosiba (inactive) 2012/08/29 15:53:01 Done.
+ virtual void HandledExternally() = 0;
darin (slow to review) 2012/08/10 18:03:02 This doesn't seem like the best name for this func
mkosiba (inactive) 2012/08/29 15:53:01 Ok, will go with CancelAndIgnore.
virtual void Resume() = 0;
protected:
virtual ~ResourceController() {}

Powered by Google App Engine
This is Rietveld 408576698