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

Issue 1554533002: Mark methods with override in pdf/ (Closed)

Created:
4 years, 11 months ago by Lei Zhang
Modified:
4 years, 4 months ago
Reviewers:
Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mark methods with override in pdf/ Fix some small nits along the way. Committed: https://crrev.com/98638620100303034cd94c7a02e8c64be0bd93b7 Cr-Commit-Position: refs/heads/master@{#367109}

Patch Set 1 #

Patch Set 2 : How did pdf/ escape the wrath of the Clang plugin? #

Total comments: 4

Patch Set 3 : Add Clang plugin flag #

Total comments: 3

Patch Set 4 : Add Clang plugin flag correctly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -152 lines) Patch
M pdf/document_loader.h View 1 chunk +1 line, -1 line 0 comments Download
M pdf/out_of_process_instance.h View 1 chunk +2 lines, -3 lines 0 comments Download
M pdf/pdf.h View 1 chunk +3 lines, -3 lines 0 comments Download
M pdf/pdf.cc View 4 chunks +8 lines, -8 lines 0 comments Download
M pdf/pdf_engine.h View 2 chunks +4 lines, -1 line 0 comments Download
M pdf/pdfium/pdfium_engine.h View 3 chunks +83 lines, -84 lines 0 comments Download
M pdf/pdfium/pdfium_engine.cc View 4 chunks +9 lines, -5 lines 0 comments Download
M pdf/preview_mode_client.h View 1 chunk +46 lines, -46 lines 0 comments Download
M tools/clang/plugins/ChromeClassTester.cpp View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M tools/clang/plugins/FindBadConstructsAction.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M tools/clang/plugins/Options.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
Lei Zhang
4 years, 11 months ago (2015-12-29 19:02:16 UTC) #2
Nico
https://codereview.chromium.org/1554533002/diff/20001/pdf/out_of_process_instance.h File pdf/out_of_process_instance.h (right): https://codereview.chromium.org/1554533002/diff/20001/pdf/out_of_process_instance.h#newcode77 pdf/out_of_process_instance.h:77: pp::Var GetLinkAtPosition(const pp::Point& point); ...shouldn't these be marked override?
4 years, 11 months ago (2015-12-29 19:03:28 UTC) #3
Nico
https://codereview.chromium.org/1554533002/diff/20001/tools/clang/plugins/ChromeClassTester.cpp File tools/clang/plugins/ChromeClassTester.cpp (left): https://codereview.chromium.org/1554533002/diff/20001/tools/clang/plugins/ChromeClassTester.cpp#oldcode234 tools/clang/plugins/ChromeClassTester.cpp:234: banned_directories_.emplace("/pdf/"); In general, we put changes like this behind ...
4 years, 11 months ago (2015-12-29 19:05:40 UTC) #4
Lei Zhang
https://codereview.chromium.org/1554533002/diff/20001/pdf/out_of_process_instance.h File pdf/out_of_process_instance.h (right): https://codereview.chromium.org/1554533002/diff/20001/pdf/out_of_process_instance.h#newcode77 pdf/out_of_process_instance.h:77: pp::Var GetLinkAtPosition(const pp::Point& point); On 2015/12/29 19:03:27, Nico wrote: ...
4 years, 11 months ago (2015-12-29 19:14:51 UTC) #5
Lei Zhang
See patch set 3.
4 years, 11 months ago (2015-12-29 19:22:50 UTC) #6
Nico
https://codereview.chromium.org/1554533002/diff/40001/tools/clang/plugins/FindBadConstructsAction.cpp File tools/clang/plugins/FindBadConstructsAction.cpp (right): https://codereview.chromium.org/1554533002/diff/40001/tools/clang/plugins/FindBadConstructsAction.cpp#newcode53 tools/clang/plugins/FindBadConstructsAction.cpp:53: options_.enforce_in_thirdparty_pdf = true; the flag is called enforce_in_pdf (no ...
4 years, 11 months ago (2015-12-29 19:57:25 UTC) #7
Lei Zhang
https://codereview.chromium.org/1554533002/diff/40001/tools/clang/plugins/FindBadConstructsAction.cpp File tools/clang/plugins/FindBadConstructsAction.cpp (right): https://codereview.chromium.org/1554533002/diff/40001/tools/clang/plugins/FindBadConstructsAction.cpp#newcode53 tools/clang/plugins/FindBadConstructsAction.cpp:53: options_.enforce_in_thirdparty_pdf = true; On 2015/12/29 19:57:25, Nico wrote: > ...
4 years, 11 months ago (2015-12-29 20:00:17 UTC) #8
Nico
lgtm if you land my breakpad cl :-D
4 years, 11 months ago (2015-12-29 20:05:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1554533002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1554533002/60001
4 years, 11 months ago (2015-12-29 20:10:33 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/153944)
4 years, 11 months ago (2015-12-29 21:49:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1554533002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1554533002/60001
4 years, 11 months ago (2015-12-29 21:58:03 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2015-12-29 22:38:22 UTC) #16
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/98638620100303034cd94c7a02e8c64be0bd93b7 Cr-Commit-Position: refs/heads/master@{#367109}
4 years, 11 months ago (2015-12-29 22:39:30 UTC) #18
Nico
https://codereview.chromium.org/1554533002/diff/40001/tools/clang/plugins/FindBadConstructsAction.cpp File tools/clang/plugins/FindBadConstructsAction.cpp (right): https://codereview.chromium.org/1554533002/diff/40001/tools/clang/plugins/FindBadConstructsAction.cpp#newcode53 tools/clang/plugins/FindBadConstructsAction.cpp:53: options_.enforce_in_thirdparty_pdf = true; You never turned on this flag ...
4 years, 4 months ago (2016-08-22 19:24:02 UTC) #19
Lei Zhang
4 years, 4 months ago (2016-08-22 19:27:58 UTC) #20
Message was sent while issue was closed.
On 2016/08/22 19:24:02, Nico wrote:
>
https://codereview.chromium.org/1554533002/diff/40001/tools/clang/plugins/Fin...
> File tools/clang/plugins/FindBadConstructsAction.cpp (right):
> 
>
https://codereview.chromium.org/1554533002/diff/40001/tools/clang/plugins/Fin...
> tools/clang/plugins/FindBadConstructsAction.cpp:53:
> options_.enforce_in_thirdparty_pdf = true;
> You never turned on this flag -- are you still planning on doing that?

Thanks for reminding me. I guess I should give it a whirl.

Powered by Google App Engine
This is Rietveld 408576698