| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chromeos/cros/cros_library.h" | 5 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 6 #include "chrome/browser/chromeos/login/merge_session_load_page.h" | 6 #include "chrome/browser/chromeos/login/merge_session_load_page.h" |
| 7 #include "chrome/test/base/chrome_render_view_host_test_harness.h" | 7 #include "chrome/test/base/chrome_render_view_host_test_harness.h" |
| 8 #include "content/public/browser/interstitial_page.h" | 8 #include "content/public/browser/interstitial_page.h" |
| 9 #include "content/public/browser/navigation_controller.h" | 9 #include "content/public/browser/navigation_controller.h" |
| 10 #include "content/public/browser/web_contents.h" | 10 #include "content/public/browser/web_contents.h" |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 | 118 |
| 119 // The URL remains to be URL2. | 119 // The URL remains to be URL2. |
| 120 EXPECT_EQ(kURL2, web_contents()->GetURL().spec()); | 120 EXPECT_EQ(kURL2, web_contents()->GetURL().spec()); |
| 121 | 121 |
| 122 // Commit navigation and the interstitial page is gone. | 122 // Commit navigation and the interstitial page is gone. |
| 123 Navigate(kURL2, 2); | 123 Navigate(kURL2, 2); |
| 124 EXPECT_FALSE(GetMergeSessionLoadPage()); | 124 EXPECT_FALSE(GetMergeSessionLoadPage()); |
| 125 } | 125 } |
| 126 | 126 |
| 127 } // namespace chromeos | 127 } // namespace chromeos |
| OLD | NEW |