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

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: After code review #2 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..b45c30b62637a9098b220f967873ddbd548be259 100644
--- a/chrome/browser/ui/webui/snippets_internals_message_handler.h
+++ b/chrome/browser/ui/webui/snippets_internals_message_handler.h
@@ -51,7 +51,10 @@ class SnippetsInternalsMessageHandler
ScopedObserver<ntp_snippets::NTPSnippetsService,
ntp_snippets::NTPSnippetsServiceObserver> observer_;
+
+ // Tracks whether we can already send messages to the page.
bool dom_loaded_;
+
ntp_snippets::NTPSnippetsService* ntp_snippets_service_;
DISALLOW_COPY_AND_ASSIGN(SnippetsInternalsMessageHandler);
« no previous file with comments | « chrome/browser/resources/snippets_internals.js ('k') | chrome/browser/ui/webui/snippets_internals_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698