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

Unified Diff: components/ntp_snippets/content_suggestions_service.cc

Issue 2744253004: NTP: clang-format (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/ntp_snippets/content_suggestions_provider.h ('k') | components/ntp_snippets/features.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_snippets/content_suggestions_service.cc
diff --git a/components/ntp_snippets/content_suggestions_service.cc b/components/ntp_snippets/content_suggestions_service.cc
index 2815c5292ab4d3178cdeb705ddde02ee97532a29..3e274ff22a9ba03b263f0d5f716718e721ebb9fa 100644
--- a/components/ntp_snippets/content_suggestions_service.cc
+++ b/components/ntp_snippets/content_suggestions_service.cc
@@ -362,11 +362,10 @@ void ContentSuggestionsService::OnURLsDeleted(
for (const history::URLRow& row : deleted_rows) {
deleted_urls.insert(row.url());
}
- base::Callback<bool(const GURL& url)> filter = base::Bind(
- [](const std::set<GURL>& set, const GURL& url) {
- return set.count(url) != 0;
- },
- deleted_urls);
+ base::Callback<bool(const GURL& url)> filter =
+ base::Bind([](const std::set<GURL>& set,
+ const GURL& url) { return set.count(url) != 0; },
+ deleted_urls);
// We usually don't have any time-related information (the URLRow objects
// usually don't provide a |last_visit()| timestamp. Hence we simply clear
// the whole history for the selected URLs.
« no previous file with comments | « components/ntp_snippets/content_suggestions_provider.h ('k') | components/ntp_snippets/features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698