chromium/chrome/browser/extensions/api/identity/gaia_remote_consent_flow_unittest.cc

// Copyright 2020 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/api/identity/gaia_remote_consent_flow.h"

#include <memory>
#include <vector>

#include "base/test/metrics/histogram_tester.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace extensions {

const char kResultHistogramName[] =;

const char kGaiaId[] =;
const char kConsentResult[] =;

class FakeWebAuthFlow : public WebAuthFlow {};

class TestGaiaRemoteConsentFlow : public GaiaRemoteConsentFlow {};

class MockGaiaRemoteConsentFlowDelegate
    : public GaiaRemoteConsentFlow::Delegate {};

class IdentityGaiaRemoteConsentFlowTest : public testing::Test {};

TEST_F(IdentityGaiaRemoteConsentFlowTest, ConsentResult) {}

TEST_F(IdentityGaiaRemoteConsentFlowTest, ConsentResult_TwoWindows) {}

TEST_F(IdentityGaiaRemoteConsentFlowTest, InvalidConsentResult) {}

TEST_F(IdentityGaiaRemoteConsentFlowTest, NoGrant) {}

TEST_F(IdentityGaiaRemoteConsentFlowTest, WebAuthFlowFailure_WindowClosed) {}

TEST_F(IdentityGaiaRemoteConsentFlowTest, WebAuthFlowFailure_LoadFailed) {}

}  // namespace extensions