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

Issue 2368583002: [NTP Snippets] Cleanups from clang-tidy (Closed)

Created:
4 years, 2 months ago by Marc Treib
Modified:
4 years, 2 months ago
Reviewers:
jkrcal, tschumann, sfiera
CC:
chromium-reviews, ntp-dev+reviews_chromium.org, tschumann
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[NTP Snippets] Cleanups from clang-tidy I ran clang-tidy (https://chromium.googlesource.com/chromium/src/+/master/docs/clang_tidy.md) on components/ntp_snippets/ and fixed a bunch of the non-false-positives :) BUG=none Committed: https://crrev.com/62e819e9d577e6a24d4199343fe244dee2bca4a1 Cr-Commit-Position: refs/heads/master@{#421173}

Patch Set 1 #

Total comments: 3

Patch Set 2 : one more #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -71 lines) Patch
M components/ntp_snippets/bookmarks/bookmark_last_visit_utils_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M components/ntp_snippets/category_factory.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/ntp_snippets/category_info.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/ntp_snippets/content_suggestion.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/ntp_snippets/content_suggestions_provider.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/ntp_snippets/content_suggestions_service.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M components/ntp_snippets/content_suggestions_service_unittest.cc View 1 2 3 chunks +8 lines, -7 lines 0 comments Download
M components/ntp_snippets/mock_content_suggestions_provider_observer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/ntp_snippets/ntp_snippet.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_database.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/ntp_snippets/ntp_snippets_fetcher.h View 1 chunk +1 line, -1 line 0 comments Download
M components/ntp_snippets/ntp_snippets_fetcher.cc View 3 chunks +8 lines, -6 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_fetcher_unittest.cc View 14 chunks +13 lines, -16 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_service.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/ntp_snippets/ntp_snippets_service.cc View 1 2 4 chunks +5 lines, -7 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_service_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_status_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/ntp_snippets/ntp_snippets_status_service_unittest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_test_utils.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/ntp_snippets/offline_pages/offline_page_proxy.cc View 1 chunk +0 lines, -1 line 0 comments Download
M components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M components/ntp_snippets/request_throttler.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/ntp_snippets/sessions/foreign_sessions_suggestions_provider.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/ntp_snippets/sessions/foreign_sessions_suggestions_provider_unittest.cc View 3 chunks +3 lines, -4 lines 0 comments Download
M components/ntp_snippets/user_classifier.cc View 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
Marc Treib
Here's the result so far from running clang-tidy over our code after some fiddling with ...
4 years, 2 months ago (2016-09-23 16:42:44 UTC) #4
sfiera
Read through and saw one other that wasn't obvious (to me): https://codereview.chromium.org/2368583002/diff/1/components/ntp_snippets/ntp_snippets_service.cc File components/ntp_snippets/ntp_snippets_service.cc (right): ...
4 years, 2 months ago (2016-09-23 16:51:04 UTC) #5
Marc Treib
https://codereview.chromium.org/2368583002/diff/1/components/ntp_snippets/ntp_snippets_service.cc File components/ntp_snippets/ntp_snippets_service.cc (right): https://codereview.chromium.org/2368583002/diff/1/components/ntp_snippets/ntp_snippets_service.cc#newcode753 components/ntp_snippets/ntp_snippets_service.cc:753: data, base::Bind(&NTPSnippetsService::OnSnippetImageDecodedFromDatabase, On 2016/09/23 16:51:04, sfiera wrote: > Because ...
4 years, 2 months ago (2016-09-23 16:53:07 UTC) #6
tschumann
lgtm Nice!
4 years, 2 months ago (2016-09-26 09:02:44 UTC) #10
Marc Treib
+sfiera: Since jkrcal is out today, care to use your awesome committer powers to approve ...
4 years, 2 months ago (2016-09-27 10:24:35 UTC) #12
sfiera
LGTM
4 years, 2 months ago (2016-09-27 10:30:40 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2368583002/40001
4 years, 2 months ago (2016-09-27 11:21:23 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-09-27 11:47:53 UTC) #20
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 11:50:07 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/62e819e9d577e6a24d4199343fe244dee2bca4a1
Cr-Commit-Position: refs/heads/master@{#421173}

Powered by Google App Engine
This is Rietveld 408576698