| Index: chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc
|
| diff --git a/chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc b/chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc
|
| index 02653eda8b1a0862615fca8ded0f915da76d176f..0843b1e99b2bec03965df729f8c3693a4e232331 100644
|
| --- a/chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc
|
| +++ b/chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc
|
| @@ -54,7 +54,8 @@ class MockCaptivePortalTabReloader : public CaptivePortalTabReloader {
|
| MOCK_METHOD1(OnLoadCommitted, void(int));
|
| MOCK_METHOD0(OnAbort, void());
|
| MOCK_METHOD1(OnRedirect, void(bool));
|
| - MOCK_METHOD2(OnCaptivePortalResults, void(Result, Result));
|
| + MOCK_METHOD2(OnCaptivePortalResults,
|
| + void(CaptivePortalResult, CaptivePortalResult));
|
| };
|
|
|
| // Inherits from the ChromeRenderViewHostTestHarness to gain access to
|
| @@ -179,7 +180,8 @@ class CaptivePortalTabHelperTest : public ChromeRenderViewHostTestHarness {
|
| }
|
|
|
| // Simulates a captive portal redirect by calling the Observe method.
|
| - void ObservePortalResult(Result previous_result, Result result) {
|
| + void ObservePortalResult(CaptivePortalResult previous_result,
|
| + CaptivePortalResult result) {
|
| content::Source<Profile> source_profile(NULL);
|
|
|
| CaptivePortalService::Results results;
|
|
|