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

Unified Diff: chrome/browser/supervised_user/supervised_user_whitelist_service.h

Issue 875423002: Don't notify existing observers in SupervisedUserWhitelistService::AddSiteListsChangedCallback(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: typo Created 5 years, 11 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/supervised_user/supervised_user_whitelist_service.h
diff --git a/chrome/browser/supervised_user/supervised_user_whitelist_service.h b/chrome/browser/supervised_user/supervised_user_whitelist_service.h
index 24adebb27bac3e204ecec30d7068035a2fb06a52..5c52c7734178e3439e2eb13c8c4c4f31c81411be 100644
--- a/chrome/browser/supervised_user/supervised_user_whitelist_service.h
+++ b/chrome/browser/supervised_user/supervised_user_whitelist_service.h
@@ -98,6 +98,9 @@ class SupervisedUserWhitelistService : public syncer::SyncableService {
const std::string& name,
bool new_installation);
+ void GetLoadedWhitelists(
+ std::vector<scoped_refptr<SupervisedUserSiteList>>* whitelists);
+
void NotifyWhitelistsChanged();
void OnWhitelistReady(const std::string& id,

Powered by Google App Engine
This is Rietveld 408576698