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

Unified Diff: chrome/common/extensions/manifest_handlers/mime_types_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 | « chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/manifest_handlers/mime_types_handler.h
diff --git a/chrome/common/extensions/manifest_handlers/mime_types_handler.h b/chrome/common/extensions/manifest_handlers/mime_types_handler.h
index 0ee47ccbe3fe5985a51dfed56a7a943094b82210..69a0a5da39a882eaae7d87019552759c5f59bff6 100644
--- a/chrome/common/extensions/manifest_handlers/mime_types_handler.h
+++ b/chrome/common/extensions/manifest_handlers/mime_types_handler.h
@@ -39,7 +39,7 @@ class MimeTypesHandler {
handler_url_ = handler_url;
}
// The URL that will be used to handle MIME type requests.
- const std::string handler_url() const { return handler_url_; }
+ const std::string& handler_url() const { return handler_url_; }
const std::set<std::string>& mime_type_set() const { return mime_type_set_; }
« no previous file with comments | « chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698