| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_CHROMEOS_NETWORK_NETWORK_INFO_H_ | 5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_INFO_H_ |
| 6 #define UI_CHROMEOS_NETWORK_NETWORK_INFO_H_ | 6 #define ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_INFO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 11 #include "ui/chromeos/ui_chromeos_export.h" | |
| 12 #include "ui/gfx/image/image_skia.h" | 11 #include "ui/gfx/image/image_skia.h" |
| 13 | 12 |
| 14 namespace gfx { | 13 namespace gfx { |
| 15 class ImageSkia; | 14 class ImageSkia; |
| 16 } | 15 } |
| 17 | 16 |
| 18 namespace ui { | 17 namespace ash { |
| 19 | 18 |
| 20 // Includes information necessary about a network for displaying the appropriate | 19 // Includes information necessary about a network for displaying the appropriate |
| 21 // UI to the user. | 20 // UI to the user. |
| 22 struct UI_CHROMEOS_EXPORT NetworkInfo { | 21 struct NetworkInfo { |
| 23 NetworkInfo(); | 22 NetworkInfo(); |
| 24 NetworkInfo(const std::string& path); | 23 NetworkInfo(const std::string& path); |
| 25 ~NetworkInfo(); | 24 ~NetworkInfo(); |
| 26 | 25 |
| 27 std::string service_path; | 26 std::string service_path; |
| 28 base::string16 label; | 27 base::string16 label; |
| 29 base::string16 tooltip; | 28 base::string16 tooltip; |
| 30 gfx::ImageSkia image; | 29 gfx::ImageSkia image; |
| 31 bool disable; | 30 bool disable; |
| 32 bool highlight; | 31 bool highlight; |
| 33 bool is_wifi; | 32 bool is_wifi; |
| 34 }; | 33 }; |
| 35 | 34 |
| 36 } // namespace ui | 35 } // namespace ash |
| 37 | 36 |
| 38 #endif // UI_CHROMEOS_NETWORK_NETWORK_INFO_H_ | 37 #endif // ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_INFO_H_ |
| OLD | NEW |