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

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: rebase + fix nits Created 8 years, 3 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/common/resource_messages.h ('k') | content/public/browser/resource_request_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..7149e08b3b16bc41277f82c90b0f2f9613aa058c 100644
--- a/content/public/browser/resource_controller.h
+++ b/content/public/browser/resource_controller.h
@@ -8,10 +8,12 @@
namespace content {
// Used to either resume a deferred resource load or cancel a resource load at
-// any time.
+// any time. CancelAndIgnore is a variation of Cancel that also causes the
+// requester of the resource to act like the request was never made.
class ResourceController {
public:
virtual void Cancel() = 0;
+ virtual void CancelAndIgnore() = 0;
virtual void Resume() = 0;
protected:
virtual ~ResourceController() {}
« no previous file with comments | « content/common/resource_messages.h ('k') | content/public/browser/resource_request_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698