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

Unified Diff: chrome/browser/ui/browser_instant_controller_unittest.cc

Issue 1260033003: Partially componentize //chrome/browser/search/search.{h,cc} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation on iOS Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/browser_instant_controller_unittest.cc
diff --git a/chrome/browser/ui/browser_instant_controller_unittest.cc b/chrome/browser/ui/browser_instant_controller_unittest.cc
index 5fcfcbdeae99f6c862c3bffdd980923d5acb1c85..975063a81d490a964879c61330fec063f5310d3b 100644
--- a/chrome/browser/ui/browser_instant_controller_unittest.cc
+++ b/chrome/browser/ui/browser_instant_controller_unittest.cc
@@ -141,11 +141,10 @@ TEST_F(BrowserInstantControllerTest, DefaultSearchProviderChanged) {
if (test.should_reload) {
// Validate final instant state.
- EXPECT_EQ(
- test.end_in_instant_process,
- chrome::ShouldAssignURLToInstantRenderer(
- observer->current_url(), profile()))
- << test.description;
+ EXPECT_EQ(test.end_in_instant_process,
+ search::ShouldAssignURLToInstantRenderer(
+ observer->current_url(), profile()))
+ << test.description;
}
// Ensure only the expected tabs(contents) reloaded.
@@ -185,11 +184,10 @@ TEST_F(BrowserInstantControllerTest, GoogleBaseURLUpdated) {
FakeWebContentsObserver* observer = observers[i];
// Validate final instant state.
- EXPECT_EQ(
- test.end_in_instant_process,
- chrome::ShouldAssignURLToInstantRenderer(
- observer->current_url(), profile()))
- << test.description;
+ EXPECT_EQ(test.end_in_instant_process,
+ search::ShouldAssignURLToInstantRenderer(observer->current_url(),
+ profile()))
+ << test.description;
// Ensure only the expected tabs(contents) reloaded.
EXPECT_EQ(test.should_reload ? 1 : 0, observer->num_reloads())
« no previous file with comments | « chrome/browser/ui/browser_instant_controller.cc ('k') | chrome/browser/ui/extensions/extension_install_ui_default.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698