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

Unified Diff: chrome/common/extensions/extension_icon_set.h

Issue 10905005: Change browser/page action default icon defined in manifest to support hidpi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forgot to update tests Created 8 years, 3 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/extension_icon_set.h
diff --git a/chrome/common/extensions/extension_icon_set.h b/chrome/common/extensions/extension_icon_set.h
index 7fa20a995ec3ea9f12222dc08998fecc210a1893..8ad8277f60dd1a4296c4e8035ccef37cfac9ff22 100644
--- a/chrome/common/extensions/extension_icon_set.h
+++ b/chrome/common/extensions/extension_icon_set.h
@@ -44,6 +44,10 @@ class ExtensionIconSet {
// Returns icon size if the set contains the specified path or 0 if not found.
int GetIconSizeFromPath(const std::string& path) const;
+ // Populates |destination| with all icon paths contained in the set.
+ // Previous content of |*destination| will be cleared.
+ void CopyForTest(ExtensionIconSet* destination) const;
Jeffrey Yasskin 2012/09/17 20:18:39 Despite the fact that this is only used in tests,
tbarzic 2012/09/17 22:06:10 Done.
+
private:
IconMap map_;
};

Powered by Google App Engine
This is Rietveld 408576698