chromium/components/autofill/content/browser/autofill_internals_log_router_unittest.cc

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

#include "components/autofill/content/browser/autofill_log_router_factory.h"

#include "components/autofill/core/browser/logging/log_receiver.h"
#include "components/autofill/core/browser/logging/log_router.h"
#include "components/keyed_service/content/browser_context_dependency_manager.h"
#include "content/public/test/browser_task_environment.h"
#include "content/public/test/test_browser_context.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

AutofillLogRouterFactory;
LogRouter;

namespace {

const char kTestText[] =;

class MockLogReceiver : public autofill::LogReceiver {};

}  // namespace

class AutofillLogRouterFactoryTest : public testing::Test {};

// When the profile is not incognito, it should be possible to activate the
// service.
TEST_F(AutofillLogRouterFactoryTest, ServiceActiveNonIncognito) {}

// When the browser profile is incognito, it should not be possible to activate
// the service.
TEST_F(AutofillLogRouterFactoryTest, ServiceNotActiveIncognito) {}