| 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_MOBILE_MOBILE_ACTIVATOR_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_MOBILE_MOBILE_ACTIVATOR_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_MOBILE_MOBILE_ACTIVATOR_H_ | 6 #define CHROME_BROWSER_CHROMEOS_MOBILE_MOBILE_ACTIVATOR_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/singleton.h" | 14 #include "base/memory/singleton.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
| 17 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
| 18 #include "chromeos/network/network_handler_callbacks.h" | 18 #include "chromeos/network/network_handler_callbacks.h" |
| 19 #include "chromeos/network/network_state_handler_observer.h" | 19 #include "chromeos/network/network_state_handler_observer.h" |
| 20 | 20 |
| 21 namespace base { | 21 namespace base { |
| 22 class DictionaryValue; | 22 class DictionaryValue; |
| 23 } | 23 } |
| 24 | 24 |
| 25 namespace chromeos { | 25 namespace chromeos { |
| 26 | 26 |
| 27 class NetworkConnectionHandler; | |
| 28 class NetworkState; | 27 class NetworkState; |
| 29 class NetworkStateHandler; | |
| 30 class TestMobileActivator; | 28 class TestMobileActivator; |
| 31 | 29 |
| 32 // Cellular plan config document. | 30 // Cellular plan config document. |
| 33 class CellularConfigDocument | 31 class CellularConfigDocument |
| 34 : public base::RefCountedThreadSafe<CellularConfigDocument> { | 32 : public base::RefCountedThreadSafe<CellularConfigDocument> { |
| 35 public: | 33 public: |
| 36 CellularConfigDocument(); | 34 CellularConfigDocument(); |
| 37 | 35 |
| 38 // Return error message for a given code. | 36 // Return error message for a given code. |
| 39 std::string GetErrorMessage(const std::string& code); | 37 std::string GetErrorMessage(const std::string& code); |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 | 318 |
| 321 base::ObserverList<Observer> observers_; | 319 base::ObserverList<Observer> observers_; |
| 322 base::WeakPtrFactory<MobileActivator> weak_ptr_factory_; | 320 base::WeakPtrFactory<MobileActivator> weak_ptr_factory_; |
| 323 | 321 |
| 324 DISALLOW_COPY_AND_ASSIGN(MobileActivator); | 322 DISALLOW_COPY_AND_ASSIGN(MobileActivator); |
| 325 }; | 323 }; |
| 326 | 324 |
| 327 } // namespace chromeos | 325 } // namespace chromeos |
| 328 | 326 |
| 329 #endif // CHROME_BROWSER_CHROMEOS_MOBILE_MOBILE_ACTIVATOR_H_ | 327 #endif // CHROME_BROWSER_CHROMEOS_MOBILE_MOBILE_ACTIVATOR_H_ |
| OLD | NEW |