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

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

Issue 2569663004: [NTPSnippets] Switch from TickClock to Clock for storing the last background fetched time. (Closed)
Patch Set: Created 4 years 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_ui.cc
diff --git a/chrome/browser/ui/webui/snippets_internals_ui.cc b/chrome/browser/ui/webui/snippets_internals_ui.cc
index 24f185a0a20c8aeac9c8a0397e4523e62c507828..e3e15d261e16dd98a87dc5ea4ac6a31269d17ecd 100644
--- a/chrome/browser/ui/webui/snippets_internals_ui.cc
+++ b/chrome/browser/ui/webui/snippets_internals_ui.cc
@@ -31,7 +31,8 @@ SnippetsInternalsUI::SnippetsInternalsUI(content::WebUI* web_ui)
Profile* profile = Profile::FromWebUI(web_ui);
content::WebUIDataSource::Add(profile, CreateSnippetsInternalsHTMLSource());
- web_ui->AddMessageHandler(new SnippetsInternalsMessageHandler);
+ web_ui->AddMessageHandler(
+ new SnippetsInternalsMessageHandler(profile->GetPrefs()));
}
SnippetsInternalsUI::~SnippetsInternalsUI() {}

Powered by Google App Engine
This is Rietveld 408576698