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

Issue 2449873003: [NTP Snippets] Another round of clang-tidy cleanups (Closed)

Created:
4 years, 1 month ago by Marc Treib
Modified:
4 years, 1 month ago
Reviewers:
Bernhard Bauer, droger
CC:
chromium-reviews, ntp-dev+reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[NTP Snippets] Another round of clang-tidy cleanups BUG=none Committed: https://crrev.com/8d5ceb5cfc41d728714bc94750d28062e0f491e3 Cr-Commit-Position: refs/heads/master@{#428045}

Patch Set 1 #

Total comments: 3

Patch Set 2 : review #

Total comments: 3

Patch Set 3 : rebase; one more fix #

Patch Set 4 : language_model_unittest #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -25 lines) Patch
M components/ntp_snippets/content_suggestion.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/ntp_snippets/content_suggestion.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/ntp_snippets/offline_pages/recent_tab_suggestions_provider.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M components/ntp_snippets/remote/ntp_snippets_database.h View 1 chunk +1 line, -1 line 0 comments Download
M components/ntp_snippets/remote/ntp_snippets_database.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M components/ntp_snippets/remote/ntp_snippets_fetcher.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M components/ntp_snippets/remote/request_throttler.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/translate/core/browser/language_model.h View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M components/translate/core/browser/language_model.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/translate/core/browser/language_model_unittest.cc View 1 2 3 3 chunks +13 lines, -4 lines 0 comments Download

Messages

Total messages: 33 (22 generated)
Marc Treib
PTAL! https://codereview.chromium.org/2449873003/diff/1/components/ntp_snippets/remote/ntp_snippets_fetcher.h File components/ntp_snippets/remote/ntp_snippets_fetcher.h (right): https://codereview.chromium.org/2449873003/diff/1/components/ntp_snippets/remote/ntp_snippets_fetcher.h#newcode183 components/ntp_snippets/remote/ntp_snippets_fetcher.h:183: 0.0f}; All this isn't completely clang-tidy-mandated - it ...
4 years, 1 month ago (2016-10-26 08:23:55 UTC) #6
Bernhard Bauer
https://codereview.chromium.org/2449873003/diff/1/components/ntp_snippets/remote/ntp_snippets_fetcher.h File components/ntp_snippets/remote/ntp_snippets_fetcher.h (right): https://codereview.chromium.org/2449873003/diff/1/components/ntp_snippets/remote/ntp_snippets_fetcher.h#newcode181 components/ntp_snippets/remote/ntp_snippets_fetcher.h:181: translate::LanguageModel::LanguageInfo ui_language = {std::string(), 0.0f}; Hm. I'd be tempted ...
4 years, 1 month ago (2016-10-26 08:52:05 UTC) #7
Marc Treib
https://codereview.chromium.org/2449873003/diff/1/components/ntp_snippets/remote/ntp_snippets_fetcher.h File components/ntp_snippets/remote/ntp_snippets_fetcher.h (right): https://codereview.chromium.org/2449873003/diff/1/components/ntp_snippets/remote/ntp_snippets_fetcher.h#newcode181 components/ntp_snippets/remote/ntp_snippets_fetcher.h:181: translate::LanguageModel::LanguageInfo ui_language = {std::string(), 0.0f}; On 2016/10/26 08:52:04, Bernhard ...
4 years, 1 month ago (2016-10-26 09:19:19 UTC) #8
Marc Treib
+droger for components/translate, PTAL! https://codereview.chromium.org/2449873003/diff/20001/components/translate/core/browser/language_model.h File components/translate/core/browser/language_model.h (right): https://codereview.chromium.org/2449873003/diff/20001/components/translate/core/browser/language_model.h#newcode38 components/translate/core/browser/language_model.h:38: float frequency = 0.0f; Uninitialized ...
4 years, 1 month ago (2016-10-26 09:21:05 UTC) #10
Bernhard Bauer
lgtm https://codereview.chromium.org/2449873003/diff/20001/components/translate/core/browser/language_model.h File components/translate/core/browser/language_model.h (right): https://codereview.chromium.org/2449873003/diff/20001/components/translate/core/browser/language_model.h#newcode27 components/translate/core/browser/language_model.h:27: LanguageInfo() = default; So, is there a rule ...
4 years, 1 month ago (2016-10-26 09:24:03 UTC) #11
Marc Treib
https://codereview.chromium.org/2449873003/diff/20001/components/translate/core/browser/language_model.h File components/translate/core/browser/language_model.h (right): https://codereview.chromium.org/2449873003/diff/20001/components/translate/core/browser/language_model.h#newcode27 components/translate/core/browser/language_model.h:27: LanguageInfo() = default; On 2016/10/26 09:24:02, Bernhard Bauer wrote: ...
4 years, 1 month ago (2016-10-26 09:29:40 UTC) #12
Marc Treib
Ping droger@ - please look at components/translate, thanks!
4 years, 1 month ago (2016-10-27 13:17:48 UTC) #22
droger
lgtm
4 years, 1 month ago (2016-10-27 14:14:06 UTC) #23
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/2449873003/100001
4 years, 1 month ago (2016-10-27 16:20:50 UTC) #30
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 1 month ago (2016-10-27 16:25:25 UTC) #31
commit-bot: I haz the power
4 years, 1 month ago (2016-10-27 16:29:53 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8d5ceb5cfc41d728714bc94750d28062e0f491e3
Cr-Commit-Position: refs/heads/master@{#428045}

Powered by Google App Engine
This is Rietveld 408576698