blob: 86a59ed6e8e7bc44cee287fbf8fbbcea69fc37d9 [file] [log] [blame]
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SHILL_WIMAX_SERVICE_H_
#define SHILL_WIMAX_SERVICE_H_
#include <gtest/gtest_prod.h> // for FRIEND_TEST
#include "shill/refptr_types.h"
#include "shill/service.h"
namespace shill {
class WiMaxService : public Service {
public:
WiMaxService(ControlInterface *control,
EventDispatcher *dispatcher,
Metrics *metrics,
Manager *manager,
const WiMaxRefPtr &wimax);
virtual ~WiMaxService();
// Inherited from Service.
virtual bool TechnologyIs(const Technology::Identifier type) const;
virtual void Connect(Error *error);
virtual void Disconnect(Error *error);
virtual std::string GetStorageIdentifier() const;
private:
FRIEND_TEST(WiMaxServiceTest, GetDeviceRpcId);
virtual std::string GetDeviceRpcId(Error *error);
WiMaxRefPtr wimax_;
std::string storage_id_;
DISALLOW_COPY_AND_ASSIGN(WiMaxService);
};
} // namespace shill
#endif // SHILL_WIMAX_SERVICE_H_