Chromium Code Reviews| 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 ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_H_ | 5 #ifndef ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_H_ |
| 6 #define ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_H_ | 6 #define ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 37 const std::string& network_type); | 37 const std::string& network_type); |
| 38 | 38 |
| 39 // Gets the image for a disconnected network type. | 39 // Gets the image for a disconnected network type. |
| 40 gfx::ImageSkia GetImageForDisconnectedNetwork(IconType icon_type, | 40 gfx::ImageSkia GetImageForDisconnectedNetwork(IconType icon_type, |
| 41 const std::string& network_type); | 41 const std::string& network_type); |
| 42 | 42 |
| 43 // Returns the label for |network| based on |icon_type|. |network| can be NULL. | 43 // Returns the label for |network| based on |icon_type|. |network| can be NULL. |
| 44 string16 GetLabelForNetwork(const chromeos::NetworkState* network, | 44 string16 GetLabelForNetwork(const chromeos::NetworkState* network, |
| 45 IconType icon_type); | 45 IconType icon_type); |
| 46 | 46 |
| 47 // Updates and returns the appropriate message id if the cellular network | |
| 48 // is uninitialized. | |
| 49 int GetCellularUninitializedMsg(); | |
|
stevenjb
2013/03/02 03:14:45
Since network_icon handles most other network rela
| |
| 50 | |
| 47 } // namespace network_icon | 51 } // namespace network_icon |
| 48 } // namespace ash | 52 } // namespace ash |
| 49 | 53 |
| 50 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_H_ | 54 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_H_ |
| OLD | NEW |