OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "base/prefs/scoped_user_pref_update.h" | 5 #include "base/prefs/scoped_user_pref_update.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/prefs/pref_notifier.h" | 8 #include "base/prefs/pref_notifier.h" |
9 #include "base/prefs/pref_service.h" | 9 #include "base/prefs/pref_service.h" |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 } | 28 } |
29 | 29 |
30 void ScopedUserPrefUpdateBase::Notify() { | 30 void ScopedUserPrefUpdateBase::Notify() { |
31 if (value_) { | 31 if (value_) { |
32 service_->ReportUserPrefChanged(path_); | 32 service_->ReportUserPrefChanged(path_); |
33 value_ = NULL; | 33 value_ = NULL; |
34 } | 34 } |
35 } | 35 } |
36 | 36 |
37 } // namespace subtle | 37 } // namespace subtle |
OLD | NEW |