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

Issue 1874773002: Templatize CFX_{Byte,Wide}StringC (Closed)

Created:
4 years, 8 months ago by Tom Sepez
Modified:
4 years, 7 months ago
Reviewers:
Lei Zhang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : assert #

Patch Set 3 : sheesh #

Patch Set 4 : working #

Patch Set 5 : Generic functions #

Patch Set 6 : Tidy #

Patch Set 7 : Comment not helpful. #

Patch Set 8 : Fix GetID() on short strings. #

Patch Set 9 : const issues #

Patch Set 10 : Rebase #

Patch Set 11 : Widestring #

Patch Set 12 : Const strikes again #

Patch Set 13 : Add Left() and Right() #

Patch Set 14 : Dont conditionalize ctor #

Patch Set 15 : Even fancier conditional impl. #

Patch Set 16 : Saner template. #

Total comments: 4

Patch Set 17 : Remove one <type_traits> include. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -263 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
A core/fxcrt/cfx_string_c_template.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +168 lines, -0 lines 0 comments Download
M core/fxcrt/fx_basic_bstring.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -20 lines 0 comments Download
M core/fxcrt/fx_basic_wstring.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M core/fxcrt/include/fx_string.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +7 lines, -242 lines 0 comments Download
M core/fxcrt/include/fx_system.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +25 lines, -0 lines 0 comments Download
M pdfium.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M testing/fx_string_testhelpers.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (6 generated)
Tom Sepez
Lei, for review.
4 years, 7 months ago (2016-05-13 17:15:47 UTC) #4
Lei Zhang
lgtm https://codereview.chromium.org/1874773002/diff/300001/core/fxcrt/cfx_string_c_template.h File core/fxcrt/cfx_string_c_template.h (right): https://codereview.chromium.org/1874773002/diff/300001/core/fxcrt/cfx_string_c_template.h#newcode21 core/fxcrt/cfx_string_c_template.h:21: using CharType = T; Can you just use: ...
4 years, 7 months ago (2016-05-13 20:47:41 UTC) #5
Tom Sepez
https://codereview.chromium.org/1874773002/diff/300001/core/fxcrt/cfx_string_c_template.h File core/fxcrt/cfx_string_c_template.h (right): https://codereview.chromium.org/1874773002/diff/300001/core/fxcrt/cfx_string_c_template.h#newcode21 core/fxcrt/cfx_string_c_template.h:21: using CharType = T; On 2016/05/13 20:47:40, Lei Zhang ...
4 years, 7 months ago (2016-05-13 21:20:16 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1874773002/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1874773002/320001
4 years, 7 months ago (2016-05-13 21:25:22 UTC) #9
commit-bot: I haz the power
4 years, 7 months ago (2016-05-13 22:02:50 UTC) #11
Message was sent while issue was closed.
Committed patchset #17 (id:320001) as
https://pdfium.googlesource.com/pdfium/+/f7036ba5884b9829fcb17aea4f3a16831abb...

Powered by Google App Engine
This is Rietveld 408576698