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

Unified Diff: components/ntp_snippets/ntp_snippets_service.h

Issue 1869023002: [NTP Snippets] SnippetsBridge: register as SnippetsObserver only when we get a Java observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@snippets_service_cleanup
Patch Set: rebase 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 | « chrome/browser/android/ntp/ntp_snippets_bridge.cc ('k') | components/ntp_snippets/ntp_snippets_service.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 ea0aabab27cd05e6f1edf4e07f41382d869b9351..07ad7a42e5afe52aaddd99730bfdfcac3a9d9991 100644
--- a/components/ntp_snippets/ntp_snippets_service.h
+++ b/components/ntp_snippets/ntp_snippets_service.h
@@ -178,9 +178,9 @@ class NTPSnippetsService : public KeyedService {
class NTPSnippetsServiceObserver {
public:
// Sent every time the service loads a new set of data.
- virtual void NTPSnippetsServiceLoaded(NTPSnippetsService* service) = 0;
+ virtual void NTPSnippetsServiceLoaded() = 0;
// Sent when the service is shutting down.
- virtual void NTPSnippetsServiceShutdown(NTPSnippetsService* service) = 0;
+ virtual void NTPSnippetsServiceShutdown() = 0;
protected:
virtual ~NTPSnippetsServiceObserver() {}
« no previous file with comments | « chrome/browser/android/ntp/ntp_snippets_bridge.cc ('k') | components/ntp_snippets/ntp_snippets_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698