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

Unified Diff: chrome/browser/extensions/extension_toolbar_model.cc

Issue 63153003: mac: Prepare for -Wunused-functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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/extensions/extension_toolbar_model.cc
diff --git a/chrome/browser/extensions/extension_toolbar_model.cc b/chrome/browser/extensions/extension_toolbar_model.cc
index 34049e08100a407dbf51067cef2a2bd39d0cd612..ca78afa51b1f7051bfcd9a01923f72ff3496f738 100644
--- a/chrome/browser/extensions/extension_toolbar_model.cc
+++ b/chrome/browser/extensions/extension_toolbar_model.cc
@@ -30,20 +30,6 @@ using extensions::Extension;
using extensions::ExtensionIdList;
using extensions::ExtensionList;
-namespace {
-
-// Returns true if an |extension| is in an |extension_list|.
-bool IsInExtensionList(const Extension* extension,
- const extensions::ExtensionList& extension_list) {
- for (size_t i = 0; i < extension_list.size(); i++) {
- if (extension_list[i].get() == extension)
- return true;
- }
- return false;
-}
-
-} // namespace
-
bool ExtensionToolbarModel::Observer::BrowserActionShowPopup(
const extensions::Extension* extension) {
return false;

Powered by Google App Engine
This is Rietveld 408576698