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

Unified Diff: chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h

Issue 423483006: Cleanup return values in chrome/common/extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 | « no previous file | chrome/common/extensions/manifest_handlers/mime_types_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h
diff --git a/chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h b/chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h
index 733b2a604ac342022da41240dcea1f9c1767cb82..45a570f0fea42f07b528422802c06e486ecda8f9 100644
--- a/chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h
+++ b/chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h
@@ -48,7 +48,7 @@ class FileBrowserHandler {
void ClearPatterns();
// Action icon path.
- const std::string icon_path() const { return default_icon_path_; }
+ const std::string& icon_path() const { return default_icon_path_; }
void set_icon_path(const std::string& path) {
default_icon_path_ = path;
}
« no previous file with comments | « no previous file | chrome/common/extensions/manifest_handlers/mime_types_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698