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

Unified Diff: chrome/browser/ui/search/search_model.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/search/search_model.cc
diff --git a/chrome/browser/ui/search/search_model.cc b/chrome/browser/ui/search/search_model.cc
index 1d530dd5c2f7bb4dd51ae0f187d901873f24c5f7..17d5a96d2c638d0eff20809498a78287ebb86ac4 100644
--- a/chrome/browser/ui/search/search_model.cc
+++ b/chrome/browser/ui/search/search_model.cc
@@ -32,7 +32,7 @@ SearchModel::~SearchModel() {
}
void SearchModel::SetState(const State& new_state) {
- DCHECK(chrome::IsInstantExtendedAPIEnabled())
+ DCHECK(search::IsInstantExtendedAPIEnabled())
<< "Please do not try to set the SearchModel mode without first "
<< "checking if Search is enabled.";
@@ -47,7 +47,7 @@ void SearchModel::SetState(const State& new_state) {
}
void SearchModel::SetMode(const SearchMode& new_mode) {
- DCHECK(chrome::IsInstantExtendedAPIEnabled())
+ DCHECK(search::IsInstantExtendedAPIEnabled())
<< "Please do not try to set the SearchModel mode without first "
<< "checking if Search is enabled.";
@@ -62,7 +62,7 @@ void SearchModel::SetMode(const SearchMode& new_mode) {
}
void SearchModel::SetInstantSupportState(InstantSupportState instant_support) {
- DCHECK(chrome::IsInstantExtendedAPIEnabled())
+ DCHECK(search::IsInstantExtendedAPIEnabled())
<< "Please do not try to set the SearchModel state without first "
<< "checking if Search is enabled.";
@@ -76,7 +76,7 @@ void SearchModel::SetInstantSupportState(InstantSupportState instant_support) {
}
void SearchModel::SetVoiceSearchSupported(bool supported) {
- DCHECK(chrome::IsInstantExtendedAPIEnabled())
+ DCHECK(search::IsInstantExtendedAPIEnabled())
<< "Please do not try to set the SearchModel state without first "
<< "checking if Search is enabled.";
« no previous file with comments | « chrome/browser/ui/search/search_ipc_router_unittest.cc ('k') | chrome/browser/ui/search/search_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698