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

Side by Side Diff: chrome/browser/history/redirect_uitest.cc

Issue 3145001: FBTF: Clean up task.h in x11_util.h and header usage in some delegates. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: more Created 10 years, 4 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
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 // Navigates the browser to server and client redirect pages and makes sure 5 // Navigates the browser to server and client redirect pages and makes sure
6 // that the correct redirects are reflected in the history database. Errors 6 // that the correct redirects are reflected in the history database. Errors
7 // here might indicate that WebKit changed the calls our glue layer gets in 7 // here might indicate that WebKit changed the calls our glue layer gets in
8 // the case of redirects. It may also mean problems with the history system. 8 // the case of redirects. It may also mean problems with the history system.
9 9
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/platform_thread.h" 11 #include "base/platform_thread.h"
12 #include "base/scoped_ptr.h" 12 #include "base/scoped_ptr.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/string16.h" 14 #include "base/string16.h"
15 #include "base/utf_string_conversions.h"
15 #include "chrome/test/automation/tab_proxy.h" 16 #include "chrome/test/automation/tab_proxy.h"
16 #include "chrome/test/ui/ui_test.h" 17 #include "chrome/test/ui/ui_test.h"
17 #include "net/base/net_util.h" 18 #include "net/base/net_util.h"
18 #include "net/test/test_server.h" 19 #include "net/test/test_server.h"
19 20
20 namespace { 21 namespace {
21 22
22 const wchar_t kDocRoot[] = L"chrome/test/data"; 23 const wchar_t kDocRoot[] = L"chrome/test/data";
23 24
24 typedef UITest RedirectTest; 25 typedef UITest RedirectTest;
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 it != redirects.end(); ++it) { 295 it != redirects.end(); ++it) {
295 if (final_url.spec() == it->spec()) { 296 if (final_url.spec() == it->spec()) {
296 final_navigation_not_redirect = false; 297 final_navigation_not_redirect = false;
297 break; 298 break;
298 } 299 }
299 } 300 }
300 EXPECT_TRUE(final_navigation_not_redirect); 301 EXPECT_TRUE(final_navigation_not_redirect);
301 } 302 }
302 303
303 } // namespace 304 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/gtk/tabs/tab_renderer_gtk.cc ('k') | chrome/browser/modal_html_dialog_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698