| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/policy/configuration_policy_pref_store.h" | 5 #include "chrome/browser/policy/configuration_policy_pref_store.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1013 ++pref) { | 1013 ++pref) { |
| 1014 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, | 1014 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, |
| 1015 OnPrefValueChanged(*pref)); | 1015 OnPrefValueChanged(*pref)); |
| 1016 } | 1016 } |
| 1017 | 1017 |
| 1018 // Update the initialization flag. | 1018 // Update the initialization flag. |
| 1019 if (!initialization_complete_ && | 1019 if (!initialization_complete_ && |
| 1020 provider_->IsInitializationComplete()) { | 1020 provider_->IsInitializationComplete()) { |
| 1021 initialization_complete_ = true; | 1021 initialization_complete_ = true; |
| 1022 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, | 1022 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, |
| 1023 OnInitializationCompleted()); | 1023 OnInitializationCompleted(true)); |
| 1024 } | 1024 } |
| 1025 } | 1025 } |
| 1026 | 1026 |
| 1027 } // namespace policy | 1027 } // namespace policy |
| OLD | NEW |