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

Unified Diff: chrome/browser/renderer_host/intercept_navigation_resource_throttle_unittest.cc

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: chrome/browser/renderer_host/intercept_navigation_resource_throttle_unittest.cc
diff --git a/chrome/browser/renderer_host/intercept_navigation_resource_throttle_unittest.cc b/chrome/browser/renderer_host/intercept_navigation_resource_throttle_unittest.cc
index d8de977f44ac73157962c3a0b7c09c08bffeda82..8a6fb53c6e5a3679c9f497a9e6891cf800207a49 100644
--- a/chrome/browser/renderer_host/intercept_navigation_resource_throttle_unittest.cc
+++ b/chrome/browser/renderer_host/intercept_navigation_resource_throttle_unittest.cc
@@ -68,7 +68,12 @@ class MockResourceController
// content::ResourceController
virtual void Cancel() {
- DCHECK(status_ == UNKNOWN);
+ NOTREACHED();
+ }
+ virtual void CancelWithError(int error) {
+ NOTREACHED();
+ }
+ virtual void HandledExternally() {
status_ = CANCELLED;
ContinueTestCase();
}

Powered by Google App Engine
This is Rietveld 408576698