OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <string> | 5 #include <string> |
6 | 6 |
7 #include "chrome/browser/net/url_fixer_upper.h" | 7 #include "chrome/browser/net/url_fixer_upper.h" |
8 #include "chrome/common/chrome_switches.h" | 8 #include "chrome/common/chrome_switches.h" |
9 #include "chrome/common/url_constants.h" | 9 #include "chrome/common/url_constants.h" |
10 #include "chrome/test/automation/tab_proxy.h" | 10 #include "chrome/test/automation/tab_proxy.h" |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 EXPECT_TRUE(basic_tab2->WaitForNavigation(last_navigation_time)); | 271 EXPECT_TRUE(basic_tab2->WaitForNavigation(last_navigation_time)); |
272 | 272 |
273 // Now both tabs have been denied. | 273 // Now both tabs have been denied. |
274 wstring title1; | 274 wstring title1; |
275 EXPECT_TRUE(basic_tab1->GetTabTitle(&title1)); | 275 EXPECT_TRUE(basic_tab1->GetTabTitle(&title1)); |
276 EXPECT_EQ(L"Denied: no auth", title1); | 276 EXPECT_EQ(L"Denied: no auth", title1); |
277 wstring title2; | 277 wstring title2; |
278 EXPECT_TRUE(basic_tab2->GetTabTitle(&title2)); | 278 EXPECT_TRUE(basic_tab2->GetTabTitle(&title2)); |
279 EXPECT_EQ(L"Denied: no auth", title2); | 279 EXPECT_EQ(L"Denied: no auth", title2); |
280 } | 280 } |
OLD | NEW |