| Index: chrome/browser/protector/protector_service.cc
|
| diff --git a/chrome/browser/protector/protector_service.cc b/chrome/browser/protector/protector_service.cc
|
| index 488fc6a4e3e1bdc202a251b8f9a9f274ae641a6c..1bc2685b3553b3daf1e3c7a0ce9ee9d843f219ee 100644
|
| --- a/chrome/browser/protector/protector_service.cc
|
| +++ b/chrome/browser/protector/protector_service.cc
|
| @@ -10,6 +10,7 @@
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/protector/settings_change_global_error.h"
|
| #include "chrome/browser/protector/keys.h"
|
| +#include "chrome/browser/protector/protected_prefs_watcher.h"
|
| #include "chrome/browser/ui/browser.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/chrome_switches.h"
|
| @@ -21,6 +22,9 @@ namespace protector {
|
|
|
| ProtectorService::ProtectorService(Profile* profile)
|
| : profile_(profile) {
|
| + // Start observing pref changes.
|
| + prefs_watcher_.reset(new ProtectedPrefsWatcher(profile));
|
| + prefs_watcher_->CheckForPrefChanges();
|
| }
|
|
|
| ProtectorService::~ProtectorService() {
|
|
|