OLD | NEW |
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/chromeos/login/signed_settings_temp_storage.h" | 5 #include "chrome/browser/chromeos/login/signed_settings_temp_storage.h" |
6 | 6 |
7 #include "base/values.h" | 7 #include "base/values.h" |
8 #include "chrome/browser/browser_process.h" | |
9 #include "chrome/browser/chromeos/login/ownership_service.h" | 8 #include "chrome/browser/chromeos/login/ownership_service.h" |
10 #include "chrome/browser/chromeos/login/signed_settings.h" | 9 #include "chrome/browser/chromeos/login/signed_settings.h" |
11 #include "chrome/browser/prefs/pref_service.h" | 10 #include "chrome/browser/prefs/pref_service.h" |
12 #include "chrome/common/pref_names.h" | 11 #include "chrome/common/pref_names.h" |
13 | 12 |
14 namespace chromeos { | 13 namespace chromeos { |
15 | 14 |
16 // static | 15 // static |
17 void SignedSettingsTempStorage::RegisterPrefs(PrefService* local_state) { | 16 void SignedSettingsTempStorage::RegisterPrefs(PrefService* local_state) { |
18 local_state->RegisterDictionaryPref(prefs::kSignedSettingsTempStorage); | 17 local_state->RegisterDictionaryPref(prefs::kSignedSettingsTempStorage); |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 SignedSettings::CreateStorePropertyOp( | 67 SignedSettings::CreateStorePropertyOp( |
69 *it, value, | 68 *it, value, |
70 Singleton< SignedSettings::Delegate<bool> >::get())->Execute(); | 69 Singleton< SignedSettings::Delegate<bool> >::get())->Execute(); |
71 } | 70 } |
72 local_state->ClearPref(prefs::kSignedSettingsTempStorage); | 71 local_state->ClearPref(prefs::kSignedSettingsTempStorage); |
73 } | 72 } |
74 } | 73 } |
75 } | 74 } |
76 | 75 |
77 } // namespace chromeos | 76 } // namespace chromeos |
OLD | NEW |