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

Side by Side Diff: chrome/browser/ui/search/instant_extended_interactive_uitest.cc

Issue 284893003: Move bookmarks/core/... to bookmarks/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing errors reported by presubmit Created 6 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <sstream> 5 #include <sstream>
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/metrics/histogram_base.h" 8 #include "base/metrics/histogram_base.h"
9 #include "base/metrics/histogram_samples.h" 9 #include "base/metrics/histogram_samples.h"
10 #include "base/metrics/statistics_recorder.h" 10 #include "base/metrics/statistics_recorder.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "chrome/browser/ui/tabs/tab_strip_model.h" 50 #include "chrome/browser/ui/tabs/tab_strip_model.h"
51 #include "chrome/browser/ui/webui/theme_source.h" 51 #include "chrome/browser/ui/webui/theme_source.h"
52 #include "chrome/common/chrome_switches.h" 52 #include "chrome/common/chrome_switches.h"
53 #include "chrome/common/instant_types.h" 53 #include "chrome/common/instant_types.h"
54 #include "chrome/common/pref_names.h" 54 #include "chrome/common/pref_names.h"
55 #include "chrome/common/thumbnail_score.h" 55 #include "chrome/common/thumbnail_score.h"
56 #include "chrome/common/url_constants.h" 56 #include "chrome/common/url_constants.h"
57 #include "chrome/test/base/in_process_browser_test.h" 57 #include "chrome/test/base/in_process_browser_test.h"
58 #include "chrome/test/base/interactive_test_utils.h" 58 #include "chrome/test/base/interactive_test_utils.h"
59 #include "chrome/test/base/ui_test_utils.h" 59 #include "chrome/test/base/ui_test_utils.h"
60 #include "components/bookmarks/core/browser/bookmark_utils.h" 60 #include "components/bookmarks/browser/bookmark_utils.h"
61 #include "components/bookmarks/core/test/bookmark_test_helpers.h" 61 #include "components/bookmarks/test/bookmark_test_helpers.h"
62 #include "components/sessions/serialized_navigation_entry.h" 62 #include "components/sessions/serialized_navigation_entry.h"
63 #include "content/public/browser/navigation_controller.h" 63 #include "content/public/browser/navigation_controller.h"
64 #include "content/public/browser/navigation_entry.h" 64 #include "content/public/browser/navigation_entry.h"
65 #include "content/public/browser/notification_service.h" 65 #include "content/public/browser/notification_service.h"
66 #include "content/public/browser/render_process_host.h" 66 #include "content/public/browser/render_process_host.h"
67 #include "content/public/browser/render_view_host.h" 67 #include "content/public/browser/render_view_host.h"
68 #include "content/public/browser/site_instance.h" 68 #include "content/public/browser/site_instance.h"
69 #include "content/public/browser/url_data_source.h" 69 #include "content/public/browser/url_data_source.h"
70 #include "content/public/browser/web_contents.h" 70 #include "content/public/browser/web_contents.h"
71 #include "content/public/common/bindings_policy.h" 71 #include "content/public/common/bindings_policy.h"
(...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after
972 stream << "link.href = \"" << result_url.spec() << "\";"; 972 stream << "link.href = \"" << result_url.spec() << "\";";
973 stream << "document.body.appendChild(link);"; 973 stream << "document.body.appendChild(link);";
974 stream << "link.click();"; 974 stream << "link.click();";
975 EXPECT_TRUE(content::ExecuteScript(contents, stream.str())); 975 EXPECT_TRUE(content::ExecuteScript(contents, stream.str()));
976 976
977 content::WaitForLoadStop(contents); 977 content::WaitForLoadStop(contents);
978 std::string expected_title = 978 std::string expected_title =
979 "Referrer is " + instant_url().GetWithEmptyPath().spec(); 979 "Referrer is " + instant_url().GetWithEmptyPath().spec();
980 EXPECT_EQ(ASCIIToUTF16(expected_title), contents->GetTitle()); 980 EXPECT_EQ(ASCIIToUTF16(expected_title), contents->GetTitle());
981 } 981 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ('k') | chrome/browser/ui/sync/profile_signin_confirmation_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698