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

Issue 15867003: Change ComponentLoader::AddOrReplace to return an empty string on failure. (Closed)

Created:
7 years, 7 months ago by Tim Song
Modified:
7 years, 6 months ago
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Change ComponentLoader::AddOrReplace to return an empty string on failure. The function's signature states it returns a std::string, so it shouldn't NULL on failure. This is also consistent with the other Add functions. TEST=unit test Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202744

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M chrome/browser/extensions/component_loader.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/component_loader_unittest.cc View 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Tim Song
Please take a look. I split this change from codereview.chromium.org/15937003.
7 years, 7 months ago (2013-05-23 23:41:41 UTC) #1
asargent_no_longer_on_chrome
lgtm
7 years, 6 months ago (2013-05-28 18:29:29 UTC) #2
achuithb
lgtm
7 years, 6 months ago (2013-05-28 20:33:53 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tengs@chromium.org/15867003/1
7 years, 6 months ago (2013-05-28 20:34:35 UTC) #4
commit-bot: I haz the power
7 years, 6 months ago (2013-05-29 02:18:24 UTC) #5
Message was sent while issue was closed.
Change committed as 202744

Powered by Google App Engine
This is Rietveld 408576698