summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/omnibox/omnibox_edit_model.cc
diff options
context:
space:
mode:
authormpearson@chromium.org <mpearson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-28 05:23:31 +0000
committermpearson@chromium.org <mpearson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-28 05:23:31 +0000
commit0b1a111a185069acf6fcc78f4cc6a07769e7e1c7 (patch)
treee9394af6a65a03d1ed198e825c2f5f3d48a4164c /chrome/browser/ui/omnibox/omnibox_edit_model.cc
parentbac1741cc741b51e54f65f51c079f27aa326bbcf (diff)
downloadchromium_src-0b1a111a185069acf6fcc78f4cc6a07769e7e1c7.zip
chromium_src-0b1a111a185069acf6fcc78f4cc6a07769e7e1c7.tar.gz
chromium_src-0b1a111a185069acf6fcc78f4cc6a07769e7e1c7.tar.bz2
Omnibox: Cleanup Comments by Page Classification Enum
Followed up previous code review; see linked bug. Once you approve of these comments, I'll revise them in the other two places (google-internal protocol file and autocomplete_input.h). BUG=264938 Review URL: https://chromiumcodereview.appspot.com/22912009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219926 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/omnibox/omnibox_edit_model.cc')
-rw-r--r--chrome/browser/ui/omnibox/omnibox_edit_model.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/omnibox/omnibox_edit_model.cc b/chrome/browser/ui/omnibox/omnibox_edit_model.cc
index 70dac1f..6b0241a 100644
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.cc
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.cc
@@ -1320,7 +1320,7 @@ AutocompleteInput::PageClassification OmniboxEditModel::ClassifyPage() const {
if (url == content::kAboutBlankURL)
return AutocompleteInput::BLANK;
if (url == profile()->GetPrefs()->GetString(prefs::kHomePage))
- return AutocompleteInput::HOMEPAGE;
+ return AutocompleteInput::HOME_PAGE;
if (controller_->GetToolbarModel()->WouldReplaceSearchURLWithSearchTerms(
true))
return AutocompleteInput::SEARCH_RESULT_PAGE_DOING_SEARCH_TERM_REPLACEMENT;