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

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

Created:
9 years ago by erikwright (departed)
Modified:
9 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_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=willchan@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113404

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -6 lines) Patch
M net/base/x509_cert_types.h View 2 chunks +1 line, -1 line 0 comments Download
M net/base/x509_certificate.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/socket/ssl_socket.h View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
erikwright (departed)
Hi William, PTAL. Thanks, Erik
9 years ago (2011-12-07 15:19:35 UTC) #1
willchan no longer on Chromium
LGTM
9 years ago (2011-12-07 15:30:33 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/8817019/1
9 years ago (2011-12-07 15:34:50 UTC) #3
commit-bot: I haz the power
9 years ago (2011-12-07 16:51:26 UTC) #4
Change committed as 113404

Powered by Google App Engine
This is Rietveld 408576698