OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNED_SETTINGS_HELPER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SETTINGS_SIGNED_SETTINGS_HELPER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNED_SETTINGS_HELPER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_SIGNED_SETTINGS_HELPER_H_ |
7 | 7 |
8 #include "chrome/browser/chromeos/login/signed_settings.h" | 8 #include "chrome/browser/chromeos/settings/signed_settings.h" |
9 | 9 |
10 namespace enterprise_management { | 10 namespace enterprise_management { |
11 class PolicyFetchResponse; | 11 class PolicyFetchResponse; |
12 } // namespace enterprise_management | 12 } // namespace enterprise_management |
13 | 13 |
14 namespace chromeos { | 14 namespace chromeos { |
15 | 15 |
16 // Helper to serialize signed settings ops, provide unified callback interface, | 16 // Helper to serialize signed settings ops, provide unified callback interface, |
17 // and handle callbacks destruction before ops completion. | 17 // and handle callbacks destruction before ops completion. |
18 class SignedSettingsHelper { | 18 class SignedSettingsHelper { |
(...skipping 29 matching lines...) Expand all Loading... |
48 | 48 |
49 protected: | 49 protected: |
50 SignedSettingsHelper() : test_delegate_(NULL) { | 50 SignedSettingsHelper() : test_delegate_(NULL) { |
51 } | 51 } |
52 | 52 |
53 TestDelegate* test_delegate_; | 53 TestDelegate* test_delegate_; |
54 }; | 54 }; |
55 | 55 |
56 } // namespace chromeos | 56 } // namespace chromeos |
57 | 57 |
58 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNED_SETTINGS_HELPER_H_ | 58 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_SIGNED_SETTINGS_HELPER_H_ |
OLD | NEW |