Index: chrome/browser/captive_portal/captive_portal_service.h |
=================================================================== |
--- chrome/browser/captive_portal/captive_portal_service.h (revision 142108) |
+++ chrome/browser/captive_portal/captive_portal_service.h (working copy) |
@@ -79,6 +79,7 @@ |
private: |
friend class CaptivePortalServiceTest; |
+ friend class CaptivePortalBrowserTest; |
// Subclass of BackoffEntry that uses the CaptivePortalService's |
// GetCurrentTime function, for unit testing. |
@@ -167,6 +168,8 @@ |
RecheckPolicy& recheck_policy() { return recheck_policy_; } |
+ void set_test_url(const GURL& test_url) { test_url_ = test_url; } |
+ |
// The profile that owns this CaptivePortalService. |
Profile* profile_; |