summaryrefslogtreecommitdiff
path: root/common_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'common_service.cc')
-rw-r--r--common_service.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/common_service.cc b/common_service.cc
index ade5349e..e284a934 100644
--- a/common_service.cc
+++ b/common_service.cc
@@ -273,9 +273,8 @@ bool UpdateEngineService::GetUpdateOverCellularPermission(ErrorPtr* /* error */,
// Return the current setting based on the same logic used while checking for
// updates. A log message could be printed as the result of this test.
LOG(INFO) << "Checking if updates over cellular networks are allowed:";
- *out_allowed = cm->IsUpdateAllowedOver(
- chromeos_update_engine::NetworkConnectionType::kCellular,
- chromeos_update_engine::NetworkTethering::kUnknown);
+ *out_allowed = cm->IsUpdateAllowedOver(ConnectionType::kCellular,
+ ConnectionTethering::kUnknown);
return true;
}