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

Unified Diff: components/ntp_snippets/ntp_snippets_service.h

Issue 1889783002: [NTP Snippets] Add tests for invalid or incomplete json (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@snippets_tests_cleanup
Patch Set: Created 4 years, 8 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 | « no previous file | components/ntp_snippets/ntp_snippets_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_snippets/ntp_snippets_service.h
diff --git a/components/ntp_snippets/ntp_snippets_service.h b/components/ntp_snippets/ntp_snippets_service.h
index d6ab94c7f476981938ea99aa637bbf7dcdba7623..0ba1efb611d99b8eff305813c9f85b89753ee114 100644
--- a/components/ntp_snippets/ntp_snippets_service.h
+++ b/components/ntp_snippets/ntp_snippets_service.h
@@ -172,7 +172,7 @@ class NTPSnippetsService : public KeyedService {
// Timer that calls us back when the next snippet expires.
base::OneShotTimer expiry_timer_;
- const ParseJSONCallback parse_json_callback_;
+ ParseJSONCallback parse_json_callback_;
base::WeakPtrFactory<NTPSnippetsService> weak_ptr_factory_;
« no previous file with comments | « no previous file | components/ntp_snippets/ntp_snippets_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698