Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: chrome/browser/login_prompt_uitest.cc

Issue 18305: Move url_* to net subdir (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/importer/toolbar_importer.h ('k') | chrome/browser/metrics/metrics_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/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/test/automation/tab_proxy.h" 9 #include "chrome/test/automation/tab_proxy.h"
10 #include "chrome/test/automation/browser_proxy.h" 10 #include "chrome/test/automation/browser_proxy.h"
11 #include "chrome/test/ui/ui_test.h" 11 #include "chrome/test/ui/ui_test.h"
12 #include "net/url_request/url_request_unittest.h" 12 #include "net/url_request/url_request_unittest.h"
13 13
14 using std::wstring; 14 using std::wstring;
15 15
16 namespace { 16 namespace {
17 17
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 EXPECT_FALSE(tab->NeedsAuth()); 164 EXPECT_FALSE(tab->NeedsAuth());
165 165
166 // Now test that cancelling works as expected. 166 // Now test that cancelling works as expected.
167 NavigateTab(tab.get(), server->TestServerPageW(L"auth-basic")); 167 NavigateTab(tab.get(), server->TestServerPageW(L"auth-basic"));
168 EXPECT_TRUE(tab->NeedsAuth()); 168 EXPECT_TRUE(tab->NeedsAuth());
169 EXPECT_TRUE(tab->CancelAuth()); 169 EXPECT_TRUE(tab->CancelAuth());
170 EXPECT_FALSE(tab->NeedsAuth()); 170 EXPECT_FALSE(tab->NeedsAuth());
171 EXPECT_EQ(L"Denied: no auth", GetActiveTabTitle()); 171 EXPECT_EQ(L"Denied: no auth", GetActiveTabTitle());
172 } 172 }
173 173
OLDNEW
« no previous file with comments | « chrome/browser/importer/toolbar_importer.h ('k') | chrome/browser/metrics/metrics_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698