12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- #include "update_engine/connection_manager_android.h"
- #include <memory>
- namespace chromeos_update_engine {
- namespace connection_manager {
- std::unique_ptr<ConnectionManagerInterface> CreateConnectionManager(
- SystemState* system_state) {
- return std::unique_ptr<ConnectionManagerInterface>(
- new ConnectionManagerAndroid());
- }
- }
- bool ConnectionManagerAndroid::GetConnectionProperties(
- ConnectionType* out_type, ConnectionTethering* out_tethering) {
- return false;
- }
- bool ConnectionManagerAndroid::IsUpdateAllowedOver(
- ConnectionType type, ConnectionTethering tethering) const {
- return true;
- }
- bool ConnectionManagerAndroid::IsAllowedConnectionTypesForUpdateSet() const {
- return false;
- }
- }
|