DescriptionDon'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=brettw@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114124
Patch Set 1 #Patch Set 2 : Fix include order. #
Messages
Total messages: 4 (0 generated)
|