Lines Matching defs:ActivityLog
341 static base::LazyInstance<BrowserContextKeyedAPIFactory<ActivityLog> >
344 BrowserContextKeyedAPIFactory<ActivityLog>* ActivityLog::GetFactoryInstance() {
349 ActivityLog* ActivityLog::GetInstance(content::BrowserContext* context) {
350 return ActivityLog::GetFactoryInstance()->Get(
354 // Use GetInstance instead of directly creating an ActivityLog.
355 ActivityLog::ActivityLog(content::BrowserContext* context)
395 base::Bind(&ActivityLog::StartObserving, base::Unretained(this)));
408 void ActivityLog::SetDatabasePolicy(
440 ActivityLog::~ActivityLog() {
449 void ActivityLog::StartObserving() {
453 void ActivityLog::ChooseDatabasePolicy() {
462 bool ActivityLog::IsDatabaseEnabled() {
468 bool ActivityLog::IsWatchdogAppActive() {
472 void ActivityLog::SetWatchdogAppActiveForTesting(bool active) {
476 void ActivityLog::OnExtensionLoaded(content::BrowserContext* browser_context,
488 void ActivityLog::OnExtensionUnloaded(content::BrowserContext* browser_context,
503 void ActivityLog::OnExtensionUninstalled(
516 void ActivityLog::AddObserver(ActivityLog::Observer* observer) {
520 void ActivityLog::RemoveObserver(ActivityLog::Observer* observer) {
525 void ActivityLog::RegisterProfilePrefs(
539 void ActivityLog::LogAction(scoped_refptr<Action> action) {
569 void ActivityLog::OnScriptsExecuted(
613 void ActivityLog::OnApiEventDispatched(const std::string& extension_id,
625 void ActivityLog::OnApiFunctionCalled(const std::string& extension_id,
639 void ActivityLog::GetFilteredActions(
656 void ActivityLog::RemoveActions(const std::vector<int64>& action_ids) {
662 void ActivityLog::RemoveURLs(const std::vector<GURL>& restrict_urls) {
668 void ActivityLog::RemoveURLs(const std::set<GURL>& restrict_urls) {
680 void ActivityLog::RemoveURL(const GURL& url) {
688 void ActivityLog::DeleteDatabase() {
695 void BrowserContextKeyedAPIFactory<ActivityLog>::DeclareFactoryDependencies() {