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

Unified Diff: chrome/browser/extensions/api/autofill_private/autofill_private_event_router.h

Issue 1957043002: Separate the listeners and getters for the Autofill Private API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@autofill-lists.gitbr
Patch Set: update histogram.xml and test 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/extensions/api/autofill_private/autofill_private_event_router.h
diff --git a/chrome/browser/extensions/api/autofill_private/autofill_private_event_router.h b/chrome/browser/extensions/api/autofill_private/autofill_private_event_router.h
index 2c435aed5ff9c5a9ed7e4516efb00bbcac36def7..ae00019a47bbba73ae8590b84e6a8c1e1586027c 100644
--- a/chrome/browser/extensions/api/autofill_private/autofill_private_event_router.h
+++ b/chrome/browser/extensions/api/autofill_private/autofill_private_event_router.h
@@ -38,18 +38,10 @@ class AutofillPrivateEventRouter :
// KeyedService overrides:
void Shutdown() override;
- // EventRouter::Observer overrides:
- void OnListenerAdded(const EventListenerInfo& details) override;
- void OnListenerRemoved(const EventListenerInfo& details) override;
-
// PersonalDataManagerObserver implementation.
void OnPersonalDataChanged() override;
private:
- // Either listens or unlistens for changes to |personal_data_|, depending on
- // whether clients are listening to the autofillPrivate API events.
- void StartOrStopListeningForChanges();
-
content::BrowserContext* context_;
EventRouter* event_router_;

Powered by Google App Engine
This is Rietveld 408576698