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

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

Issue 3203008: Move prefs-related files under chrome/browser/ into a prefs/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/pref_set_observer.h" 5 #include "chrome/browser/prefs/pref_set_observer.h"
6 6
7 #include "chrome/common/notification_type.h" 7 #include "chrome/common/notification_type.h"
8 #include "chrome/common/pref_names.h" 8 #include "chrome/common/pref_names.h"
9 9
10 PrefSetObserver::PrefSetObserver(PrefService* pref_service, 10 PrefSetObserver::PrefSetObserver(PrefService* pref_service,
11 NotificationObserver* observer) 11 NotificationObserver* observer)
12 : pref_service_(pref_service), 12 : pref_service_(pref_service),
13 observer_(observer) { 13 observer_(observer) {
14 } 14 }
15 15
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 return pref_set; 58 return pref_set;
59 } 59 }
60 60
61 void PrefSetObserver::Observe(NotificationType type, 61 void PrefSetObserver::Observe(NotificationType type,
62 const NotificationSource& source, 62 const NotificationSource& source,
63 const NotificationDetails& details) { 63 const NotificationDetails& details) {
64 if (observer_) 64 if (observer_)
65 observer_->Observe(type, source, details); 65 observer_->Observe(type, source, details);
66 } 66 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698