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

Unified Diff: components/ntp_snippets/content_suggestions_service.cc

Issue 2744253004: NTP: clang-format (Closed)
Patch Set: 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
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 48098c7afe3b63466064f45a9af81c2f4253790a..ff1b19aed0f71c30dbaac6a524f0a9120180b3ad 100644
--- a/components/ntp_snippets/content_suggestions_service.cc
+++ b/components/ntp_snippets/content_suggestions_service.cc
@@ -360,11 +360,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.

Powered by Google App Engine
This is Rietveld 408576698