Index: content/public/browser/navigation_throttle.cc |
diff --git a/content/public/browser/navigation_throttle.cc b/content/public/browser/navigation_throttle.cc |
index 5c795d655d2c63bd4f6d9f465553cf66f881d6bf..40f12de72e4c335d40bca44a2dc531638a5561e3 100644 |
--- a/content/public/browser/navigation_throttle.cc |
+++ b/content/public/browser/navigation_throttle.cc |
@@ -6,6 +6,17 @@ |
namespace content { |
+bool NavigationThrottle::ThrottleCheckResult::operator==( |
+ const NavigationThrottle::ThrottleCheckResult& rhs) const { |
+ return (this->action_ == rhs.action_) && |
+ (this->net_error_code_ == rhs.net_error_code_); |
+} |
+ |
+bool NavigationThrottle::ThrottleCheckResult::operator!=( |
+ const NavigationThrottle::ThrottleCheckResult& rhs) const { |
+ return !(*this == rhs); |
+} |
+ |
NavigationThrottle::NavigationThrottle(NavigationHandle* navigation_handle) |
: navigation_handle_(navigation_handle) {} |