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

Issue 8815013: Don't attempt to forward declare StringPiece. (Closed)

Created:
9 years ago by erikwright (departed)
Modified:
9 years ago
Reviewers:
sky
CC:
chromium-reviews
Visibility:
Public.

Description

Don't attempt to forward declare StringPiece. 1) This is discouraged because it prevents callers from benefiting from automatic coersion from string/char* types. 2) A follow-up CL (http://codereview.chromium.org/8659047/) will make StringPiece a template, and thus awkward to forward declare. The very small number of places that were appropriately forward declaring it do not justify writing a 'string_piece_forward.h'. BUG=87634 R=sky@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113423

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -5 lines) Patch
M ui/base/resource/data_pack.h View 1 chunk +1 line, -4 lines 0 comments Download
M ui/base/resource/resource_bundle.h View 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
erikwright (departed)
Hi Scott, PTAL. Thanks, Erik
9 years ago (2011-12-07 15:21:21 UTC) #1
sky
LGTM
9 years ago (2011-12-07 16:50:30 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/8815013/1
9 years ago (2011-12-07 17:01:58 UTC) #3
commit-bot: I haz the power
9 years ago (2011-12-07 18:52:51 UTC) #4
Change committed as 113423

Powered by Google App Engine
This is Rietveld 408576698