// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_METRICS_MACHINE_ID_PROVIDER_H_ #define COMPONENTS_METRICS_MACHINE_ID_PROVIDER_H_ #include <string> namespace metrics { // Provides machine characteristics used as a machine id. The implementation is // platform specific. GetMachineId() must be called on a thread which allows // I/O. GetMachineId() must not be called if HasId() returns false on this // platform. class MachineIdProvider { … }; } // namespace metrics #endif // COMPONENTS_METRICS_MACHINE_ID_PROVIDER_H_