#include "chrome/browser/policy/messaging_layer/upload/upload_provider.h"
#include <list>
#include <memory>
#include <utility>
#include "base/memory/ref_counted.h"
#include "base/task/thread_pool.h"
#include "base/test/protobuf_matchers.h"
#include "base/test/task_environment.h"
#include "chrome/browser/policy/messaging_layer/upload/fake_upload_client.h"
#include "chrome/browser/policy/messaging_layer/upload/upload_client.h"
#include "chrome/browser/policy/messaging_layer/util/reporting_server_connector.h"
#include "chrome/browser/policy/messaging_layer/util/reporting_server_connector_test_util.h"
#include "chrome/browser/policy/messaging_layer/util/test_request_payload.h"
#include "chrome/browser/policy/messaging_layer/util/test_response_payload.h"
#include "chrome/browser/policy/messaging_layer/util/upload_declarations.h"
#include "components/policy/core/common/cloud/dm_token.h"
#include "components/policy/core/common/cloud/mock_cloud_policy_client.h"
#include "components/reporting/resources/resource_manager.h"
#include "components/reporting/util/status.h"
#include "components/reporting/util/status_macros.h"
#include "components/reporting/util/test_support_callbacks.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
EqualsProto;
_;
ElementsAre;
Eq;
Invoke;
SizeIs;
WithArgs;
namespace reporting {
namespace {
class TestEncryptedReportingUploadProvider
: public EncryptedReportingUploadProvider { … };
class EncryptedReportingUploadProviderTest : public ::testing::Test { … };
TEST_F(EncryptedReportingUploadProviderTest,
DISABLED_SuccessfullyUploadsRecord) { … }
}
}