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

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

Created:
9 years ago by erikwright (departed)
Modified:
9 years ago
Reviewers:
jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, dpranke-watch+content_chromium.org
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=jam@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113403

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -4 lines) Patch
M content/public/common/content_client.h View 2 chunks +1 line, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
jam
lgtm
9 years ago (2011-12-07 09:35:03 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/8818014/1
9 years ago (2011-12-07 15:24:53 UTC) #2
commit-bot: I haz the power
9 years ago (2011-12-07 16:45:18 UTC) #3
Change committed as 113403

Powered by Google App Engine
This is Rietveld 408576698