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

Unified Diff: components/ntp_snippets/remote/remote_suggestions_provider_unittest.cc

Issue 2520853002: [NTP] Cleanup: add brackets in components/ntp_snippets. [2/2] (Closed)
Patch Set: "else if". Created 4 years, 1 month 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/remote/remote_suggestions_provider_unittest.cc
diff --git a/components/ntp_snippets/remote/remote_suggestions_provider_unittest.cc b/components/ntp_snippets/remote/remote_suggestions_provider_unittest.cc
index a7021243716cc0f07bf4286a25cb9878d7f517b0..cd50664d7df5c453d96d88906f9db219e6450bdc 100644
--- a/components/ntp_snippets/remote/remote_suggestions_provider_unittest.cc
+++ b/components/ntp_snippets/remote/remote_suggestions_provider_unittest.cc
@@ -465,8 +465,9 @@ class RemoteSuggestionsProviderTest : public ::testing::Test {
// Add an initial fetch response, as the service tries to fetch when there
// is nothing in the DB.
- if (set_empty_response)
+ if (set_empty_response) {
SetUpFetchResponse(GetTestJson(std::vector<std::string>()));
+ }
// TODO(treib): Find a better way to wait for initialization to finish.
base::RunLoop().RunUntilIdle();
« no previous file with comments | « components/ntp_snippets/remote/remote_suggestions_provider.cc ('k') | components/ntp_snippets/remote/request_throttler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698