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

Unified Diff: chrome/common/extensions/api/omnibox/omnibox_handler.cc

Issue 12042096: Move page action manifest parsing out of Extension; the first multi-key manifest handler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/common/extensions/api/omnibox/omnibox_handler.cc
diff --git a/chrome/common/extensions/api/omnibox/omnibox_handler.cc b/chrome/common/extensions/api/omnibox/omnibox_handler.cc
index 941bdd329fee3bd008a27513068caf6d563279c4..7a0b2d3abfa9d28e7b5b642273e5becaf997ed98 100644
--- a/chrome/common/extensions/api/omnibox/omnibox_handler.cc
+++ b/chrome/common/extensions/api/omnibox/omnibox_handler.cc
@@ -27,15 +27,6 @@ const std::string& OmniboxInfo::GetKeyword(const Extension* extension) {
return info ? info->keyword : EmptyString();
}
-// static
-bool OmniboxInfo::IsVerboseInstallMessage(const Extension* extension) {
- return !GetKeyword(extension).empty() ||
- extension->browser_action_info() ||
- (extension->page_action_info() &&
- (extension->page_action_command() ||
- !extension->page_action_info()->default_icon.empty()));
-}
-
OmniboxHandler::OmniboxHandler() {
}

Powered by Google App Engine
This is Rietveld 408576698