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 #ifndef CHROME_BROWSER_CHROMEOS_CROS_NETWORK_UI_DATA_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_NETWORK_UI_DATA_H_ |
6 #define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_UI_DATA_H_ | 6 #define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_UI_DATA_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/values.h" | 13 #include "base/values.h" |
14 #include "chrome/browser/chromeos/cros/network_parser.h" | 14 #include "chrome/browser/chromeos/cros/enum_mapper.h" |
15 | 15 |
16 namespace chromeos { | 16 namespace chromeos { |
17 | 17 |
18 class Network; | 18 class Network; |
19 class NetworkPropertyUIData; | 19 class NetworkPropertyUIData; |
20 | 20 |
21 // Helper for accessing and setting values in the network's UI data dictionary. | 21 // Helper for accessing and setting values in the network's UI data dictionary. |
22 // Accessing values is done via static members that take the network as an | 22 // Accessing values is done via static members that take the network as an |
23 // argument. In order to fill a UI data dictionary, construct an instance, set | 23 // argument. In order to fill a UI data dictionary, construct an instance, set |
24 // up your data members, and call FillDictionary(). For example, if you have a | 24 // up your data members, and call FillDictionary(). For example, if you have a |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 | 156 |
157 // So it can access the kKeyXYZ constants. | 157 // So it can access the kKeyXYZ constants. |
158 friend class NetworkUIDataTest; | 158 friend class NetworkUIDataTest; |
159 | 159 |
160 DISALLOW_COPY_AND_ASSIGN(NetworkPropertyUIData); | 160 DISALLOW_COPY_AND_ASSIGN(NetworkPropertyUIData); |
161 }; | 161 }; |
162 | 162 |
163 } // namespace chromeos | 163 } // namespace chromeos |
164 | 164 |
165 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_UI_DATA_H_ | 165 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_UI_DATA_H_ |
OLD | NEW |