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

Side by Side Diff: chrome/browser/prefs/preferences_manager.cc

Issue 2474653003: PreferencesManager (Closed)
Patch Set: Ash example Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
(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
OLDNEW
« ash/common/shelf/shelf_controller.cc ('K') | « chrome/browser/prefs/preferences_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698