OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/prefs/preferences_manager.h" |
| 6 |
| 7 namespace chrome { |
| 8 |
| 9 PreferencesManager::PreferencesManager() {} |
| 10 PreferencesManager::~PreferencesManager() {} |
| 11 |
| 12 void PreferencesManager::AddObserver( |
| 13 const std::vector<std::string>& preferences, |
| 14 prefs::mojom::PreferencesObserverPtr client) { |
| 15 // TODO(jonross): Use PrefStore::Observer to begin observing the requested |
| 16 // |preferences|. Map these keys to |client|. On changed notifications |
| 17 // call prefs::mojom::PreferenceObserver::OnPreferencesChanged |
| 18 } |
| 19 |
| 20 void PreferencesManager::SetPreferences( |
| 21 const base::DictionaryValue& preferences) { |
| 22 // TODO(jonross): update the preference, if changed, ignore |
| 23 // PrefStore::Observer |
| 24 // notificaitons that are the result of us. |
| 25 } |
| 26 |
| 27 } // namespace chrome |
OLD | NEW |