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

Unified Diff: chrome/browser/ui/webui/snippets_internals_message_handler.h

Issue 1927993002: Allow dumping raw json fetched from the server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some fixes 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
Index: chrome/browser/ui/webui/snippets_internals_message_handler.h
diff --git a/chrome/browser/ui/webui/snippets_internals_message_handler.h b/chrome/browser/ui/webui/snippets_internals_message_handler.h
index 1b6bcf51ade1b9e26e0d34220a341fa7c5aa7566..8ff2f3867d1c41ba5549504e4c5658fa26513e31 100644
--- a/chrome/browser/ui/webui/snippets_internals_message_handler.h
+++ b/chrome/browser/ui/webui/snippets_internals_message_handler.h
@@ -51,7 +51,12 @@ class SnippetsInternalsMessageHandler
ScopedObserver<ntp_snippets::NTPSnippetsService,
ntp_snippets::NTPSnippetsServiceObserver> observer_;
+
+ // Tracks whether we can already send messages to the page.
bool dom_loaded_;
+ // Should the current fetching request be dumped to a file as well?
Bernhard Bauer 2016/04/29 12:02:22 Nit: empty line before comments.
jkrcal 2016/04/29 13:11:48 Deleted the member :)
+ bool dump_current_fetch_;
+
ntp_snippets::NTPSnippetsService* ntp_snippets_service_;
DISALLOW_COPY_AND_ASSIGN(SnippetsInternalsMessageHandler);

Powered by Google App Engine
This is Rietveld 408576698