chromium/components/metrics/cloned_install_detector_unittest.cc

// 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.

#include "components/metrics/cloned_install_detector.h"

#include "base/callback_list.h"
#include "base/test/bind.h"
#include "components/metrics/machine_id_provider.h"
#include "components/metrics/metrics_pref_names.h"
#include "components/prefs/testing_pref_service.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace metrics {

namespace {

const std::string kTestRawId =;
// Hashed machine id for |kTestRawId|.
const int kTestHashedId =;

}  // namespace

// TODO(jwd): Change these test to test the full flow and histogram outputs. It
// should also remove the need to make the test a friend of
// ClonedInstallDetector.
TEST(ClonedInstallDetectorTest, SaveId) {}

TEST(ClonedInstallDetectorTest, DetectClone) {}

TEST(ClonedInstallDetectorTest, ShouldResetClientIds) {}

TEST(ClonedInstallDetectorTest, ClonedInstallDetectedInCurrentSession) {}

TEST(ClonedInstallDetectorTest, ClonedInstallDetectedCallback) {}

}  // namespace metrics