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

Issue 2626923002: Make ExtensionIconSet::ContainsPath use StringPiece. (Closed)

Created:
3 years, 11 months ago by lazyboy
Modified:
3 years, 11 months ago
Reviewers:
Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make ExtensionIconSet::ContainsPath use StringPiece. Also update callers to use better way to construct the path using StringPiece-s, avoiding string copy (GURL::path()) and substring copy (std::string::substr(1)). Move ExtensionIconSet's unittest to extensions/ BUG=None Review-Url: https://codereview.chromium.org/2626923002 Cr-Commit-Position: refs/heads/master@{#443032} Committed: https://chromium.googlesource.com/chromium/src/+/ebb08805ae19aa64793d42f13eeb965363f5ab5c

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -113 lines) Patch
D chrome/common/extensions/extension_icon_set_unittest.cc View 1 chunk +0 lines, -93 lines 0 comments Download
M chrome/renderer/extensions/resource_request_policy.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/test/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M extensions/browser/extension_protocols.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M extensions/browser/url_request_util.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M extensions/common/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/common/extension_icon_set.h View 2 chunks +4 lines, -2 lines 0 comments Download
M extensions/common/extension_icon_set.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + extensions/common/extension_icon_set_unittest.cc View 3 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
lazyboy
3 years, 11 months ago (2017-01-11 19:32:44 UTC) #6
Devlin
lgtm!
3 years, 11 months ago (2017-01-11 19:52:19 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2626923002/1
3 years, 11 months ago (2017-01-11 21:09:22 UTC) #9
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 22:52:17 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/ebb08805ae19aa64793d42f13eeb...

Powered by Google App Engine
This is Rietveld 408576698