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

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

Issue 1980033002: [NTP Snippets] Clear the snippets when the user signs out (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix double we Created 4 years, 7 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.cc
diff --git a/chrome/browser/ui/webui/snippets_internals_message_handler.cc b/chrome/browser/ui/webui/snippets_internals_message_handler.cc
index a0f4ad8eefcbb704455c9a7bcb155771368334a5..efd0d5b6c2c1bc77551fd3bb67593b427d7275bc 100644
--- a/chrome/browser/ui/webui/snippets_internals_message_handler.cc
+++ b/chrome/browser/ui/webui/snippets_internals_message_handler.cc
@@ -78,6 +78,8 @@ void SnippetsInternalsMessageHandler::NTPSnippetsServiceLoaded() {
base::StringValue(ntp_snippets_service_->last_json()));
}
+void SnippetsInternalsMessageHandler::NTPSnippetsServiceCleared() {}
+
void SnippetsInternalsMessageHandler::RegisterMessages() {
// additional initialization (web_ui() does not work from the constructor)
ntp_snippets_service_ = NTPSnippetsServiceFactory::GetInstance()->

Powered by Google App Engine
This is Rietveld 408576698