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

Issue 423483006: Cleanup return values in chrome/common/extensions (Closed)

Created:
6 years, 5 months ago by lucinka.brozkova
Modified:
6 years, 5 months ago
Reviewers:
Yoyo Zhou
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, rginda+watch_chromium.org, yoshiki+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Cleanup return values in chrome/common/extensions This CL turns const by value return values into const by ref. Replacing const value by a const ref when a member variable is returned is safe, because the member variable will live at least as long as the temporary object returned now. It can also be more efficient, because returning a ref can spare copying. BUG=393155 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285691

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/manifest_handlers/mime_types_handler.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
lucinka.brozkova
Hi yoz@, Could you please do an OWNERS review? Thank you. Lucie
6 years, 5 months ago (2014-07-25 19:27:03 UTC) #1
Yoyo Zhou
LGTM
6 years, 5 months ago (2014-07-25 19:31:36 UTC) #2
lucinka.brozkova
The CQ bit was checked by lucinka.brozkova@gmail.com
6 years, 5 months ago (2014-07-25 19:34:16 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lucinka.brozkova@gmail.com/423483006/1
6 years, 5 months ago (2014-07-25 19:35:17 UTC) #4
commit-bot: I haz the power
6 years, 5 months ago (2014-07-25 21:46:58 UTC) #5
Message was sent while issue was closed.
Change committed as 285691

Powered by Google App Engine
This is Rietveld 408576698