#include "chrome/browser/enterprise/data_controls/reporting_service.h"
#include <memory>
#include "base/test/bind.h"
#include "chrome/browser/enterprise/connectors/test/deep_scanning_test_utils.h"
#include "chrome/test/base/testing_browser_process.h"
#include "chrome/test/base/testing_profile.h"
#include "chrome/test/base/testing_profile_manager.h"
#include "components/enterprise/data_controls/core/browser/prefs.h"
#include "components/enterprise/data_controls/core/browser/verdict.h"
#include "components/policy/core/common/cloud/mock_cloud_policy_client.h"
#include "components/policy/core/common/policy_types.h"
#include "content/public/browser/clipboard_types.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace data_controls {
namespace {
constexpr char kGoogleUrl[] = …;
constexpr char kChromiumUrl[] = …;
constexpr char kUserName[] = …;
class DataControlsReportingServiceTest : public testing::Test { … };
}
TEST_F(DataControlsReportingServiceTest, NoServiceInIncognito) { … }
TEST_F(DataControlsReportingServiceTest, NoReportInUnmanagedProfile) { … }
TEST_F(DataControlsReportingServiceTest, NoReportWithoutTriggeredRules) { … }
TEST_F(DataControlsReportingServiceTest,
PasteInManagedProfile_ManagedSourceProfile) { … }
TEST_F(DataControlsReportingServiceTest,
PasteInManagedProfile_IncognitoManagedSourceProfile) { … }
TEST_F(DataControlsReportingServiceTest,
PasteInManagedProfile_UnmanagedSourceProfile) { … }
TEST_F(DataControlsReportingServiceTest,
PasteInManagedProfile_UnmanagedSourceProfileOnManagedDevice) { … }
TEST_F(DataControlsReportingServiceTest, CopyInManagedProfile) { … }
TEST_F(DataControlsReportingServiceTest, GetClipboardSourceString) { … }
}