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

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

Issue 16739011: Use a direct include of strings headers in chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « chromeos/ime/xkeyboard.cc ('k') | chromeos/network/geolocation_handler.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 #include "chromeos/network/device_state.h" 5 #include "chromeos/network/device_state.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "third_party/cros_system_api/dbus/service_constants.h" 10 #include "third_party/cros_system_api/dbus/service_constants.h"
11 11
12 namespace chromeos { 12 namespace chromeos {
13 13
14 DeviceState::DeviceState(const std::string& path) 14 DeviceState::DeviceState(const std::string& path)
15 : ManagedState(MANAGED_TYPE_DEVICE, path), 15 : ManagedState(MANAGED_TYPE_DEVICE, path),
16 provider_requires_roaming_(false), 16 provider_requires_roaming_(false),
17 support_network_scan_(false), 17 support_network_scan_(false),
18 scanning_(false), 18 scanning_(false),
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 return GetBooleanValue(key, value, &sim_present_); 72 return GetBooleanValue(key, value, &sim_present_);
73 } 73 }
74 return false; 74 return false;
75 } 75 }
76 76
77 bool DeviceState::IsSimAbsent() const { 77 bool DeviceState::IsSimAbsent() const {
78 return technology_family_ == flimflam::kTechnologyFamilyGsm && !sim_present_; 78 return technology_family_ == flimflam::kTechnologyFamilyGsm && !sim_present_;
79 } 79 }
80 80
81 } // namespace chromeos 81 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/ime/xkeyboard.cc ('k') | chromeos/network/geolocation_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698