Index: chromeos/components/tether/local_device_data_provider.h |
diff --git a/chromeos/components/tether/local_device_data_provider.h b/chromeos/components/tether/local_device_data_provider.h |
deleted file mode 100644 |
index a4e713dd586d899eb219993c6b779ddd3c40fff8..0000000000000000000000000000000000000000 |
--- a/chromeos/components/tether/local_device_data_provider.h |
+++ /dev/null |
@@ -1,51 +0,0 @@ |
-// Copyright 2016 The Chromium 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 CHROMEOS_COMPONENTS_TETHER_LOCAL_DEVICE_DATA_PROVIDER_H_ |
-#define CHROMEOS_COMPONENTS_TETHER_LOCAL_DEVICE_DATA_PROVIDER_H_ |
- |
-#include <memory> |
-#include <string> |
-#include <vector> |
- |
-#include "base/macros.h" |
-#include "base/memory/ptr_util.h" |
- |
-namespace cryptauth { |
-class BeaconSeed; |
-class CryptAuthService; |
-} |
- |
-namespace chromeos { |
- |
-namespace tether { |
- |
-// Fetches CryptAuth data about the local device (i.e., the device on which this |
-// code is running) for the current user (i.e., the one which is logged-in). |
-class LocalDeviceDataProvider { |
- public: |
- explicit LocalDeviceDataProvider( |
- cryptauth::CryptAuthService* cryptauth_service); |
- virtual ~LocalDeviceDataProvider(); |
- |
- // Fetches the public key and/or the beacon seeds for the local device. |
- // Returns whether the operation succeeded. If |nullptr| is passed as a |
- // parameter, the associated data will not be fetched. |
- virtual bool GetLocalDeviceData( |
- std::string* public_key_out, |
- std::vector<cryptauth::BeaconSeed>* beacon_seeds_out) const; |
- |
- private: |
- friend class LocalDeviceDataProviderTest; |
- |
- cryptauth::CryptAuthService* cryptauth_service_; |
- |
- DISALLOW_COPY_AND_ASSIGN(LocalDeviceDataProvider); |
-}; |
- |
-} // namespace tether |
- |
-} // namespace chromeos |
- |
-#endif // CHROMEOS_COMPONENTS_TETHER_LOCAL_DEVICE_DATA_PROVIDER_H_ |