chromium/components/sync/service/sync_session_durations_metrics_recorder_unittest.cc

// Copyright 2019 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/sync/service/sync_session_durations_metrics_recorder.h"

#include <memory>
#include <string>
#include <vector>

#include "base/test/metrics/histogram_tester.h"
#include "base/test/task_environment.h"
#include "base/timer/timer.h"
#include "components/signin/public/identity_manager/identity_test_environment.h"
#include "components/sync/test/test_sync_service.h"
#include "services/network/test/test_url_loader_factory.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace syncer {
namespace {

constexpr base::TimeDelta kSessionTime =;

class SyncSessionDurationsMetricsRecorderTest : public testing::Test {};

TEST_F(SyncSessionDurationsMetricsRecorderTest, WebSignedOut) {}

TEST_F(SyncSessionDurationsMetricsRecorderTest, WebSignedIn) {}

TEST_F(SyncSessionDurationsMetricsRecorderTest, NotOptedInToSync) {}

TEST_F(SyncSessionDurationsMetricsRecorderTest, OptedInToSync_SyncActive) {}

TEST_F(SyncSessionDurationsMetricsRecorderTest,
       OptedInToSync_SyncDisabledByEnterprisePolicy) {}

TEST_F(SyncSessionDurationsMetricsRecorderTest,
       OptedInToSync_PrimaryAccountInAuthError) {}

TEST_F(SyncSessionDurationsMetricsRecorderTest,
       SyncDisabled_PrimaryAccountInAuthError) {}

TEST_F(SyncSessionDurationsMetricsRecorderTest,
       NotOptedInToSync_SecondaryAccountInAuthError) {}

TEST_F(SyncSessionDurationsMetricsRecorderTest, SyncUnknownOnStartup) {}

TEST_F(SyncSessionDurationsMetricsRecorderTest,
       SyncUnknownOnStartupThenStarts) {}

TEST_F(SyncSessionDurationsMetricsRecorderTest, EnableSync) {}

TEST_F(SyncSessionDurationsMetricsRecorderTest, EnterAuthError) {}

TEST_F(SyncSessionDurationsMetricsRecorderTest, FixedAuthError) {}

}  // namespace
}  // namespace syncer