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_NET_ONC_UTILS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_NET_ONC_UTILS_H_ |
6 #define CHROME_BROWSER_CHROMEOS_NET_ONC_UTILS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_NET_ONC_UTILS_H_ |
7 | 7 |
| 8 #include <memory> |
8 #include <string> | 9 #include <string> |
9 | 10 |
10 #include "base/memory/scoped_ptr.h" | |
11 #include "components/onc/onc_constants.h" | 11 #include "components/onc/onc_constants.h" |
12 | 12 |
13 class PrefService; | 13 class PrefService; |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class DictionaryValue; | 16 class DictionaryValue; |
17 class ListValue; | 17 class ListValue; |
18 } | 18 } |
19 | 19 |
20 namespace user_manager { | 20 namespace user_manager { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 67 |
68 // Convenience function to check only whether a policy for a network exists. | 68 // Convenience function to check only whether a policy for a network exists. |
69 bool HasPolicyForNetwork(const PrefService* profile_prefs, | 69 bool HasPolicyForNetwork(const PrefService* profile_prefs, |
70 const PrefService* local_state_prefs, | 70 const PrefService* local_state_prefs, |
71 const NetworkState& network); | 71 const NetworkState& network); |
72 | 72 |
73 } // namespace onc | 73 } // namespace onc |
74 } // namespace chromeos | 74 } // namespace chromeos |
75 | 75 |
76 #endif // CHROME_BROWSER_CHROMEOS_NET_ONC_UTILS_H_ | 76 #endif // CHROME_BROWSER_CHROMEOS_NET_ONC_UTILS_H_ |
OLD | NEW |