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

Side by Side Diff: chromeos/network/device_state.h

Issue 108603005: Update uses of Value in chromeos/, cloud_print/, components/, content/ to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 12 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
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 CHROMEOS_NETWORK_DEVICE_STATE_H_ 5 #ifndef CHROMEOS_NETWORK_DEVICE_STATE_H_
6 #define CHROMEOS_NETWORK_DEVICE_STATE_H_ 6 #define CHROMEOS_NETWORK_DEVICE_STATE_H_
7 7
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chromeos/network/managed_state.h" 9 #include "chromeos/network/managed_state.h"
10 #include "chromeos/network/network_util.h" 10 #include "chromeos/network/network_util.h"
(...skipping 29 matching lines...) Expand all
40 const std::string& technology_family() const { return technology_family_; } 40 const std::string& technology_family() const { return technology_family_; }
41 const std::string& carrier() const { return carrier_; } 41 const std::string& carrier() const { return carrier_; }
42 const std::string& sim_lock_type() const { return sim_lock_type_; } 42 const std::string& sim_lock_type() const { return sim_lock_type_; }
43 uint32 sim_retries_left() const { return sim_retries_left_; } 43 uint32 sim_retries_left() const { return sim_retries_left_; }
44 bool sim_lock_enabled() const { return sim_lock_enabled_; } 44 bool sim_lock_enabled() const { return sim_lock_enabled_; }
45 const std::string& meid() const { return meid_; } 45 const std::string& meid() const { return meid_; }
46 const std::string& imei() const { return imei_; } 46 const std::string& imei() const { return imei_; }
47 const std::string& iccid() const { return iccid_; } 47 const std::string& iccid() const { return iccid_; }
48 const std::string& mdn() const { return mdn_; } 48 const std::string& mdn() const { return mdn_; }
49 const CellularScanResults& scan_results() const { return scan_results_; } 49 const CellularScanResults& scan_results() const { return scan_results_; }
50 const DictionaryValue& properties() const { return properties_; } 50 const base::DictionaryValue& properties() const { return properties_; }
51 51
52 // Ethernet specific accessors 52 // Ethernet specific accessors
53 bool eap_authentication_completed() const { 53 bool eap_authentication_completed() const {
54 return eap_authentication_completed_; 54 return eap_authentication_completed_;
55 } 55 }
56 56
57 // Returns true if the technology family is GSM and sim_present_ is false. 57 // Returns true if the technology family is GSM and sim_present_ is false.
58 bool IsSimAbsent() const; 58 bool IsSimAbsent() const;
59 59
60 private: 60 private:
(...skipping 15 matching lines...) Expand all
76 std::string imei_; 76 std::string imei_;
77 std::string iccid_; 77 std::string iccid_;
78 std::string mdn_; 78 std::string mdn_;
79 CellularScanResults scan_results_; 79 CellularScanResults scan_results_;
80 80
81 // Ethernet specific properties 81 // Ethernet specific properties
82 bool eap_authentication_completed_; 82 bool eap_authentication_completed_;
83 83
84 // Keep all Device properties in a dictionary. Devices are limited and should 84 // Keep all Device properties in a dictionary. Devices are limited and should
85 // change rarely if ever, so the overhead for this is small. 85 // change rarely if ever, so the overhead for this is small.
86 DictionaryValue properties_; 86 base::DictionaryValue properties_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(DeviceState); 88 DISALLOW_COPY_AND_ASSIGN(DeviceState);
89 }; 89 };
90 90
91 } // namespace chromeos 91 } // namespace chromeos
92 92
93 #endif // CHROMEOS_NETWORK_DEVICE_STATE_H_ 93 #endif // CHROMEOS_NETWORK_DEVICE_STATE_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/nfc_tag_client.cc ('k') | chromeos/network/network_configuration_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698