#include "chrome/browser/extensions/api/activity_log_private/activity_log_private_api.h"
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/lazy_instance.h"
#include "base/strings/string_number_conversions.h"
#include "base/values.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/extensions/event_router_forwarder.h"
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/common/extensions/api/activity_log_private.h"
#include "components/prefs/pref_service.h"
#include "content/public/browser/browser_context.h"
#include "extensions/browser/extension_system_provider.h"
#include "extensions/browser/extensions_browser_client.h"
namespace extensions {
activity_log_private;
ActivityResultSet;
ExtensionActivity;
Filter;
static base::LazyInstance<BrowserContextKeyedAPIFactory<ActivityLogAPI>>::
DestructorAtExit g_activity_log_private_api_factory = …;
BrowserContextKeyedAPIFactory<ActivityLogAPI>*
ActivityLogAPI::GetFactoryInstance() { … }
template <>
void
BrowserContextKeyedAPIFactory<ActivityLogAPI>::DeclareFactoryDependencies() { … }
ActivityLogAPI::ActivityLogAPI(content::BrowserContext* context)
: … { … }
void ActivityLogAPI::Shutdown() { … }
void ActivityLogAPI::OnListenerAdded(const EventListenerInfo& details) { … }
void ActivityLogAPI::OnListenerRemoved(const EventListenerInfo& details) { … }
void ActivityLogAPI::StartOrStopListeningForExtensionActivities() { … }
void ActivityLogAPI::OnExtensionActivity(scoped_refptr<Action> activity) { … }
ExtensionFunction::ResponseAction
ActivityLogPrivateGetExtensionActivitiesFunction::Run() { … }
void ActivityLogPrivateGetExtensionActivitiesFunction::OnLookupCompleted(
std::unique_ptr<std::vector<scoped_refptr<Action>>> activities) { … }
ExtensionFunction::ResponseAction
ActivityLogPrivateDeleteActivitiesFunction::Run() { … }
ExtensionFunction::ResponseAction
ActivityLogPrivateDeleteActivitiesByExtensionFunction::Run() { … }
ExtensionFunction::ResponseAction
ActivityLogPrivateDeleteDatabaseFunction::Run() { … }
ExtensionFunction::ResponseAction ActivityLogPrivateDeleteUrlsFunction::Run() { … }
}