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

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

Issue 6122006: Cleanup: Remove unneeded includes of pref_names.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 "base/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "chrome/app/chrome_command_ids.h" 8 #include "chrome/app/chrome_command_ids.h"
9 #include "chrome/common/chrome_paths.h" 9 #include "chrome/common/chrome_paths.h"
10 #include "chrome/common/pref_names.h"
11 #include "chrome/common/url_constants.h" 10 #include "chrome/common/url_constants.h"
12 #include "chrome/test/automation/tab_proxy.h" 11 #include "chrome/test/automation/tab_proxy.h"
13 #include "chrome/test/automation/browser_proxy.h" 12 #include "chrome/test/automation/browser_proxy.h"
14 #include "chrome/test/automation/window_proxy.h" 13 #include "chrome/test/automation/window_proxy.h"
15 #include "chrome/test/ui/ui_test.h" 14 #include "chrome/test/ui/ui_test.h"
16 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
17 #include "net/base/net_util.h" 16 #include "net/base/net_util.h"
18 #include "net/test/test_server.h" 17 #include "net/test/test_server.h"
19 18
20 // http://code.google.com/p/chromium/issues/detail?id=14774 19 // http://code.google.com/p/chromium/issues/detail?id=14774
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 ASSERT_TRUE(tab->WaitForTabToBeRestored(action_timeout_ms())); 669 ASSERT_TRUE(tab->WaitForTabToBeRestored(action_timeout_ms()));
671 GURL url; 670 GURL url;
672 ASSERT_TRUE(tab->GetCurrentURL(&url)); 671 ASSERT_TRUE(tab->GetCurrentURL(&url));
673 ASSERT_EQ(http_url, url); 672 ASSERT_EQ(http_url, url);
674 673
675 // Go back, and see if content is as expected. 674 // Go back, and see if content is as expected.
676 ASSERT_TRUE(tab->GoBack()); 675 ASSERT_TRUE(tab->GoBack());
677 EXPECT_TRUE(tab->FindInPage(std::wstring(L"webkit"), FWD, IGNORE_CASE, false, 676 EXPECT_TRUE(tab->FindInPage(std::wstring(L"webkit"), FWD, IGNORE_CASE, false,
678 NULL)); 677 NULL));
679 } 678 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_service_session_unittest.cc ('k') | chrome/browser/tabs/tab_strip_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698