chromium/chrome/browser/extensions/omaha_attributes_handler_unittest.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/extensions/omaha_attributes_handler.h"

#include "base/test/metrics/histogram_tester.h"
#include "base/values.h"
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/extensions/extension_service_test_base.h"
#include "chrome/browser/profiles/profile.h"
#include "extensions/browser/blocklist_extension_prefs.h"
#include "extensions/browser/disable_reason.h"
#include "extensions/browser/extension_prefs.h"
#include "extensions/test/extension_state_tester.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace extensions {

namespace {

// Extension ids used during testing.
constexpr char kTestExtensionId[] =;

}  // namespace

// Test suite to test Omaha attribute handler.
OmahaAttributesHandlerUnitTest;

TEST_F(OmahaAttributesHandlerUnitTest, LogPolicyViolationUWSMetrics) {}

TEST_F(OmahaAttributesHandlerUnitTest, LogMalwareMetrics) {}

TEST_F(OmahaAttributesHandlerUnitTest, DisableRemotelyForPolicyViolation) {}

TEST_F(OmahaAttributesHandlerUnitTest, DisableRemotelyForPotentiallyUws) {}

TEST_F(OmahaAttributesHandlerUnitTest, MultipleGreylistStates) {}

TEST_F(OmahaAttributesHandlerUnitTest, KeepDisabledWhenMalwareRemoved) {}

TEST_F(OmahaAttributesHandlerUnitTest, ExtensionUninstalledBeforeNotified) {}

}  // namespace extensions