chromium/components/password_manager/content/browser/password_manager_log_router_factory_unittest.cc

// Copyright 2014 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/password_manager/content/browser/password_manager_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"

LogRouter;
PasswordManagerLogRouterFactory;

namespace {

const char kTestText[] =;

class MockLogReceiver : public autofill::LogReceiver {};

}  // namespace

class PasswordManagerLogRouterFactoryTest : public testing::Test {};

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

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