OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROMEOS_NETWORK_NETWORK_ACTIVATION_HANDLER_H_ | 5 #ifndef CHROMEOS_NETWORK_NETWORK_ACTIVATION_HANDLER_H_ |
6 #define CHROMEOS_NETWORK_NETWORK_ACTIVATION_HANDLER_H_ | 6 #define CHROMEOS_NETWORK_NETWORK_ACTIVATION_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "chromeos/chromeos_export.h" | 12 #include "chromeos/chromeos_export.h" |
13 #include "chromeos/network/network_handler_callbacks.h" | 13 #include "chromeos/network/network_handler_callbacks.h" |
14 | 14 |
15 namespace chromeos { | 15 namespace chromeos { |
16 | 16 |
17 // The NetworkActivationHandler class allows making service specific | 17 // The NetworkActivationHandler class allows making service specific |
18 // calls required for activation on mobile networks. | 18 // calls required for activation on mobile networks. |
19 class CHROMEOS_EXPORT NetworkActivationHandler | 19 class CHROMEOS_EXPORT NetworkActivationHandler |
20 : public base::SupportsWeakPtr<NetworkActivationHandler> { | 20 : public base::SupportsWeakPtr<NetworkActivationHandler> { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // Shill.Service.CompleteCellularActivation. | 69 // Shill.Service.CompleteCellularActivation. |
70 void HandleShillSuccess(const std::string& service_path, | 70 void HandleShillSuccess(const std::string& service_path, |
71 const base::Closure& success_callback); | 71 const base::Closure& success_callback); |
72 | 72 |
73 DISALLOW_COPY_AND_ASSIGN(NetworkActivationHandler); | 73 DISALLOW_COPY_AND_ASSIGN(NetworkActivationHandler); |
74 }; | 74 }; |
75 | 75 |
76 } // namespace chromeos | 76 } // namespace chromeos |
77 | 77 |
78 #endif // CHROMEOS_NETWORK_NETWORK_ACTIVATION_HANDLER_H_ | 78 #endif // CHROMEOS_NETWORK_NETWORK_ACTIVATION_HANDLER_H_ |
OLD | NEW |