chromium/chrome/browser/extensions/activity_log/activity_log_enabled_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 "base/command_line.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/scoped_command_line.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_switches.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "chrome/test/base/testing_profile.h"
#include "components/prefs/pref_service.h"
#include "extensions/browser/uninstall_reason.h"
#include "extensions/common/extension_builder.h"

namespace extensions {

const char kExtensionID[] =;

class ActivityLogEnabledTest : public ChromeRenderViewHostTestHarness {};

TEST_F(ActivityLogEnabledTest, NoSwitch) {}

TEST_F(ActivityLogEnabledTest, CommandLineSwitch) {}

TEST_F(ActivityLogEnabledTest, PrefSwitch) {}

TEST_F(ActivityLogEnabledTest, WatchdogSwitch) {}

TEST_F(ActivityLogEnabledTest, AppAndCommandLine) {}

// Tests that if the cached count in the profile preferences is incorrect, the
// activity log will correct itself.
TEST_F(ActivityLogEnabledTest, IncorrectPrefsRecovery) {}

}  // namespace extensions