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

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

Issue 6086003: Cleanup: Remove unneeded includes of chrome_switches.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/app/chrome_command_ids.h" 7 #include "chrome/app/chrome_command_ids.h"
8 #include "chrome/browser/net/url_fixer_upper.h" 8 #include "chrome/browser/net/url_fixer_upper.h"
9 #include "chrome/common/chrome_switches.h"
10 #include "chrome/common/url_constants.h" 9 #include "chrome/common/url_constants.h"
11 #include "chrome/test/automation/tab_proxy.h" 10 #include "chrome/test/automation/tab_proxy.h"
12 #include "chrome/test/automation/browser_proxy.h" 11 #include "chrome/test/automation/browser_proxy.h"
13 #include "chrome/test/ui/ui_test.h" 12 #include "chrome/test/ui/ui_test.h"
14 #include "net/test/test_server.h" 13 #include "net/test/test_server.h"
15 14
16 namespace { 15 namespace {
17 16
18 const FilePath::CharType kDocRoot[] = FILE_PATH_LITERAL("chrome/test/data"); 17 const FilePath::CharType kDocRoot[] = FILE_PATH_LITERAL("chrome/test/data");
19 18
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // Navigate to a page that requires authentication, bringing up another 80 // Navigate to a page that requires authentication, bringing up another
82 // tab-modal sheet. 81 // tab-modal sheet.
83 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("auth-basic"))); 82 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("auth-basic")));
84 83
85 // Try to reload it again. 84 // Try to reload it again.
86 tab->ReloadAsync(); 85 tab->ReloadAsync();
87 86
88 // Navigate away from the page. 87 // Navigate away from the page.
89 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("bar"))); 88 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("bar")));
90 } 89 }
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/test/render_view_host_manager_browsertest.cc ('k') | chrome/browser/sessions/session_restore.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698