diff options
author | mpearson@chromium.org <mpearson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-28 05:23:31 +0000 |
---|---|---|
committer | mpearson@chromium.org <mpearson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-28 05:23:31 +0000 |
commit | 0b1a111a185069acf6fcc78f4cc6a07769e7e1c7 (patch) | |
tree | e9394af6a65a03d1ed198e825c2f5f3d48a4164c /chrome/browser/ui/omnibox/omnibox_edit_model.cc | |
parent | bac1741cc741b51e54f65f51c079f27aa326bbcf (diff) | |
download | chromium_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.cc | 2 |
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; |