Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: chrome/browser/chromeos/cros/network_library.h

Issue 12279012: Change the modem reset command on cellular activation completion. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/network_library.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_CROS_NETWORK_LIBRARY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 CellularNetwork* network_; 868 CellularNetwork* network_;
869 }; 869 };
870 friend class TestApi; 870 friend class TestApi;
871 871
872 explicit CellularNetwork(const std::string& service_path); 872 explicit CellularNetwork(const std::string& service_path);
873 virtual ~CellularNetwork(); 873 virtual ~CellularNetwork();
874 874
875 // Starts device activation process. Returns false if the device state does 875 // Starts device activation process. Returns false if the device state does
876 // not permit activation. 876 // not permit activation.
877 virtual bool StartActivation(); 877 virtual bool StartActivation();
878 virtual void CompleteActivation();
878 879
879 bool activate_over_non_cellular_network() const { 880 bool activate_over_non_cellular_network() const {
880 return activate_over_non_cellular_network_; 881 return activate_over_non_cellular_network_;
881 } 882 }
882 const ActivationState activation_state() const { return activation_state_; } 883 const ActivationState activation_state() const { return activation_state_; }
883 bool activated() const { 884 bool activated() const {
884 return activation_state() == ACTIVATION_STATE_ACTIVATED; 885 return activation_state() == ACTIVATION_STATE_ACTIVATED;
885 } 886 }
886 const NetworkTechnology network_technology() const { 887 const NetworkTechnology network_technology() const {
887 return network_technology_; 888 return network_technology_;
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after
1738 const std::string& service_path) = 0; 1739 const std::string& service_path) = 0;
1739 1740
1740 // Factory function, creates a new instance and returns ownership. 1741 // Factory function, creates a new instance and returns ownership.
1741 // For normal usage, access the singleton via CrosLibrary::Get(). 1742 // For normal usage, access the singleton via CrosLibrary::Get().
1742 static NetworkLibrary* GetImpl(bool stub); 1743 static NetworkLibrary* GetImpl(bool stub);
1743 }; 1744 };
1744 1745
1745 } // namespace chromeos 1746 } // namespace chromeos
1746 1747
1747 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_ 1748 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/network_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698