chromium/chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc

// Copyright 2013 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/activity_log/fullstream_ui_policy.h"

#include <stdint.h>

#include <memory>
#include <utility>

#include "base/cancelable_callback.h"
#include "base/command_line.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/location.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/strings/stringprintf.h"
#include "base/synchronization/waitable_event.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/simple_test_clock.h"
#include "base/test/test_timeouts.h"
#include "base/values.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/extensions/activity_log/activity_log.h"
#include "chrome/browser/extensions/activity_log/activity_log_task_runner.h"
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/extensions/test_extension_system.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/browser_task_environment.h"
#include "extensions/common/extension_builder.h"
#include "testing/gtest/include/gtest/gtest.h"

#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "chrome/browser/ash/login/users/chrome_user_manager_impl.h"
#include "chrome/browser/ash/settings/scoped_cros_settings_test_helper.h"
#include "components/user_manager/scoped_user_manager.h"
#endif

namespace extensions {

class FullStreamUIPolicyTest : public testing::Test {};

TEST_F(FullStreamUIPolicyTest, Construct) {}

TEST_F(FullStreamUIPolicyTest, LogAndFetchActions) {}

TEST_F(FullStreamUIPolicyTest, LogAndFetchFilteredActions) {}

TEST_F(FullStreamUIPolicyTest, LogWithArguments) {}

TEST_F(FullStreamUIPolicyTest, GetTodaysActions) {}

// Check that we can read back less recent actions in the db.
TEST_F(FullStreamUIPolicyTest, GetOlderActions) {}

TEST_F(FullStreamUIPolicyTest, RemoveAllURLs) {}

TEST_F(FullStreamUIPolicyTest, RemoveSpecificURLs) {}

TEST_F(FullStreamUIPolicyTest, RemoveExtensionData) {}

TEST_F(FullStreamUIPolicyTest, CapReturns) {}

TEST_F(FullStreamUIPolicyTest, DeleteDatabase) {}

TEST_F(FullStreamUIPolicyTest, RemoveActions) {}

}  // namespace extensions