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

Issue 788493002: app_list: Enable level 1 of cpplint, be stricker. (Closed)

Created:
6 years ago by tfarina
Modified:
6 years ago
Reviewers:
tapted
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina, danakj, enne (OOO), hendrikw
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

app_list: Enable level 1 of cpplint, be stricker. Otherwise we are not checking the following, because depot_tool's presubmit_canned_checks.py:CheckChangeLintsClean filters them: * build/include * build/include_order * build/namespace * readability/casting * runtime/int * runtime/virtual * whitespace/braces * readability/inheritance Entries were found with the following command line: $ for f in $(g ls-files ui/app_list | grep ".*\cc$" | grep -v cocoa); do cpplint.py $f; done And $ for f in $(g ls-files ui/app_list | grep ".*\h$" | grep -v cocoa); do cpplint.py $f; done They were cleaned up until no errors were reported. BUG=None TEST=see above R=tapted@chromium.org Committed: https://crrev.com/7fb9084142c40eca614f2fda14223489cbc06eb9 Cr-Commit-Position: refs/heads/master@{#307685}

Patch Set 1 #

Patch Set 2 : git cl format #

Patch Set 3 : revert PRESUBMIT.py changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -7 lines) Patch
M ui/app_list/search/mixer.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/app_list/test/app_list_test_view_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/app_list/views/app_list_view_unittest.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/app_list/views/apps_grid_view.cc View 1 1 chunk +3 lines, -6 lines 0 comments Download
M ui/app_list/views/cached_label.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/app_list/views/contents_animator.h View 3 chunks +3 lines, -0 lines 0 comments Download
M ui/app_list/views/folder_background_view.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/app_list/views/search_result_list_view.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ui/app_list/views/search_result_page_view.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/app_list/views/start_page_view.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (1 generated)
tfarina
Trent, PTAL. (This is how cc/ is linting their code as well). Dana, Hendrik, fyi.
6 years ago (2014-12-06 21:18:07 UTC) #1
tapted
I'm fine with the code changes, but I don't like the PRESUBMIT change. CheckChangeLintsClean has ...
6 years ago (2014-12-07 22:31:37 UTC) #2
tfarina
On Sunday, December 7, 2014, <tapted@chromium.org> wrote: > I'm fine with the code changes, but ...
6 years ago (2014-12-08 00:35:13 UTC) #3
tfarina
I have uploaded https://codereview.chromium.org/779033003 for the depot_tools change.
6 years ago (2014-12-08 00:59:09 UTC) #4
tfarina
Trent, I have filtered cocoa (or ObjC code) because when cpplint passes there, we get ...
6 years ago (2014-12-08 01:09:14 UTC) #5
tapted
I'm saying, if we can mark an area of the code base (e.g. ui/app_list) as ...
6 years ago (2014-12-08 01:52:20 UTC) #6
tfarina
Trent, I have reverted the changes in PRESUBMIT.py, let's take that into a separate CL. ...
6 years ago (2014-12-10 00:46:52 UTC) #7
tapted
lgtm
6 years ago (2014-12-10 04:32:13 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/788493002/40001
6 years ago (2014-12-10 12:05:03 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-12-10 13:10:06 UTC) #11
commit-bot: I haz the power
6 years ago (2014-12-10 13:10:49 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7fb9084142c40eca614f2fda14223489cbc06eb9
Cr-Commit-Position: refs/heads/master@{#307685}

Powered by Google App Engine
This is Rietveld 408576698