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

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

Issue 2867833002: NavigationThrottle: allow customization of net::Error when blocking
Patch Set: Rebase Created 3 years, 7 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/navigation_handle.h
diff --git a/content/public/browser/navigation_handle.h b/content/public/browser/navigation_handle.h
index 13c647d63de2c33a17055f5bafdfd478e2438e23..10933d9e7a31d9d2543c7505e7c3446ec252f44a 100644
--- a/content/public/browser/navigation_handle.h
+++ b/content/public/browser/navigation_handle.h
@@ -234,7 +234,7 @@ class CONTENT_EXPORT NavigationHandle {
virtual void Resume() = 0;
// Cancels a navigation that was previously deferred by a NavigationThrottle.
- // |result| should be equal to NavigationThrottle::CANCEL or
+ // |result.action()| should be equal to NavigationThrottle::CANCEL or
// NavigationThrottle::CANCEL_AND_IGNORE.
// Note: this may lead to the deletion of the NavigationHandle and its
// associated NavigationThrottles.
« no previous file with comments | « content/browser/loader/navigation_resource_throttle.cc ('k') | content/public/browser/navigation_throttle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698