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

Unified Diff: extensions/common/extension_icon_set.h

Issue 448193002: Cleanup: Make ExtensionIconSet::Get return a const std::string& rather than a (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
« no previous file with comments | « extensions/browser/extension_icon_image.cc ('k') | extensions/common/extension_icon_set.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension_icon_set.h
diff --git a/extensions/common/extension_icon_set.h b/extensions/common/extension_icon_set.h
index 6a7697bb259148e897140b3ca99cb085b2c004b3..2791db20ab461d57b0f1e13c1640c9b7b031b658 100644
--- a/extensions/common/extension_icon_set.h
+++ b/extensions/common/extension_icon_set.h
@@ -37,7 +37,7 @@ class ExtensionIconSet {
// Gets path value of the icon found when searching for |size| using
// |mathc_type|.
- std::string Get(int size, MatchType match_type) const;
+ const std::string& Get(int size, MatchType match_type) const;
// Returns true iff the set contains the specified path.
bool ContainsPath(const std::string& path) const;
« no previous file with comments | « extensions/browser/extension_icon_image.cc ('k') | extensions/common/extension_icon_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698