blob: 169e71708161f2c97d584dff63672f74f6259f3d [file] [log] [blame]
Darin Petkovdaf43862011-10-27 11:37:28 +02001// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "shill/cellular_capability_gsm.h"
6
7#include <base/logging.h>
8
9#include "shill/cellular.h"
10#include "shill/proxy_factory.h"
11
12namespace shill {
13
14CellularCapabilityGSM::CellularCapabilityGSM(Cellular *cellular)
15 : CellularCapability(cellular) {}
16
17void CellularCapabilityGSM::InitProxies() {
18 VLOG(2) << __func__;
19 // TODO(petkov): Move GSM-specific proxy ownership from Cellular to this.
20 cellular()->set_modem_gsm_card_proxy(
21 proxy_factory()->CreateModemGSMCardProxy(cellular(),
22 cellular()->dbus_path(),
23 cellular()->dbus_owner()));
24 cellular()->set_modem_gsm_network_proxy(
25 proxy_factory()->CreateModemGSMNetworkProxy(cellular(),
26 cellular()->dbus_path(),
27 cellular()->dbus_owner()));
28}
29
30} // namespace shill