#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 {
constexpr char kTestExtensionId[] = …;
}
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) { … }
}