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_NETWORK_NETWORK_OBSERVER_H | 5 #ifndef ASH_SYSTEM_NETWORK_NETWORK_OBSERVER_H |
6 #define ASH_SYSTEM_NETWORK_NETWORK_OBSERVER_H | 6 #define ASH_SYSTEM_NETWORK_NETWORK_OBSERVER_H |
7 #pragma once | |
8 | 7 |
9 #include "base/string16.h" | 8 #include "base/string16.h" |
10 | 9 |
11 namespace ash { | 10 namespace ash { |
12 | 11 |
13 struct NetworkIconInfo; | 12 struct NetworkIconInfo; |
14 class NetworkTrayDelegate; | 13 class NetworkTrayDelegate; |
15 | 14 |
16 class NetworkTrayDelegate { | 15 class NetworkTrayDelegate { |
17 public: | 16 public: |
(...skipping 23 matching lines...) Expand all Loading... |
41 const string16& title, | 40 const string16& title, |
42 const string16& message, | 41 const string16& message, |
43 const string16& link_text) = 0; | 42 const string16& link_text) = 0; |
44 // Clears the error notification for |error_type|. | 43 // Clears the error notification for |error_type|. |
45 virtual void ClearNetworkError(ErrorType error_type) = 0; | 44 virtual void ClearNetworkError(ErrorType error_type) = 0; |
46 }; | 45 }; |
47 | 46 |
48 } // namespace ash | 47 } // namespace ash |
49 | 48 |
50 #endif // ASH_SYSTEM_NETWORK_NETWORK_OBSERVER_H | 49 #endif // ASH_SYSTEM_NETWORK_NETWORK_OBSERVER_H |
OLD | NEW |