| 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_LOGIN_SCREENS_NETWORK_SCREEN_ACTOR_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_ACTOR_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_ACTOR_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_ACTOR_H_ |
| 7 | 7 |
| 8 #include "base/string16.h" | 8 #include "base/strings/string16.h" |
| 9 | 9 |
| 10 namespace chromeos { | 10 namespace chromeos { |
| 11 | 11 |
| 12 // Interface for dependency injection between NetworkScreen and its actual | 12 // Interface for dependency injection between NetworkScreen and its actual |
| 13 // representation, either views based or WebUI. Owned by NetworkScreen. | 13 // representation, either views based or WebUI. Owned by NetworkScreen. |
| 14 class NetworkScreenActor { | 14 class NetworkScreenActor { |
| 15 public: | 15 public: |
| 16 class Delegate { | 16 class Delegate { |
| 17 public: | 17 public: |
| 18 virtual ~Delegate() {} | 18 virtual ~Delegate() {} |
| (...skipping 26 matching lines...) Expand all Loading... |
| 45 bool connecting, | 45 bool connecting, |
| 46 const string16& network_id) = 0; | 46 const string16& network_id) = 0; |
| 47 | 47 |
| 48 // Sets whether continue control is enabled. | 48 // Sets whether continue control is enabled. |
| 49 virtual void EnableContinue(bool enabled) = 0; | 49 virtual void EnableContinue(bool enabled) = 0; |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace chromeos | 52 } // namespace chromeos |
| 53 | 53 |
| 54 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_ACTOR_H_ | 54 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_ACTOR_H_ |
| OLD | NEW |