chromium/chrome/browser/extensions/activity_log/fullstream_ui_policy.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 <stddef.h>

#include <string>

#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/json/json_reader.h"
#include "base/json/json_string_value_serializer.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "base/memory/scoped_refptr.h"
#include "base/strings/strcat.h"
#include "base/strings/stringprintf.h"
#include "chrome/browser/extensions/activity_log/activity_action_constants.h"
#include "chrome/browser/extensions/activity_log/activity_database.h"
#include "chrome/browser/extensions/activity_log/activity_log_task_runner.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_switches.h"
#include "extensions/common/dom_action_types.h"
#include "extensions/common/extension.h"
#include "sql/statement.h"
#include "sql/transaction.h"
#include "url/gurl.h"

FilePath;
Unretained;
BrowserThread;

constants;

namespace extensions {

const char* const FullStreamUIPolicy::kTableContentFields[] =;
const char* const FullStreamUIPolicy::kTableFieldTypes[] =;
const int FullStreamUIPolicy::kTableFieldCount =;

FullStreamUIPolicy::FullStreamUIPolicy(Profile* profile)
    :{}

FullStreamUIPolicy::~FullStreamUIPolicy() {}

bool FullStreamUIPolicy::InitDatabase(sql::Database* db) {}

bool FullStreamUIPolicy::FlushDatabase(sql::Database* db) {}

std::unique_ptr<Action::ActionVector> FullStreamUIPolicy::DoReadFilteredData(
    const std::string& extension_id,
    const Action::ActionType type,
    const std::string& api_name,
    const std::string& page_url,
    const std::string& arg_url,
    const int days_ago) {}

void FullStreamUIPolicy::DoRemoveActions(
    const std::vector<int64_t>& action_ids) {}

void FullStreamUIPolicy::DoRemoveURLs(const std::vector<GURL>& restrict_urls) {}

void FullStreamUIPolicy::DoRemoveExtensionData(
    const std::string& extension_id) {}

void FullStreamUIPolicy::DoDeleteDatabase() {}

void FullStreamUIPolicy::OnDatabaseFailure() {}

void FullStreamUIPolicy::OnDatabaseClose() {}

void FullStreamUIPolicy::Close() {}

void FullStreamUIPolicy::ReadFilteredData(
    const std::string& extension_id,
    const Action::ActionType type,
    const std::string& api_name,
    const std::string& page_url,
    const std::string& arg_url,
    const int days_ago,
    base::OnceCallback<void(std::unique_ptr<Action::ActionVector>)> callback) {}

void FullStreamUIPolicy::RemoveActions(const std::vector<int64_t>& action_ids) {}

void FullStreamUIPolicy::RemoveURLs(const std::vector<GURL>& restrict_urls) {}

void FullStreamUIPolicy::RemoveExtensionData(const std::string& extension_id) {}

void FullStreamUIPolicy::DeleteDatabase() {}

scoped_refptr<Action> FullStreamUIPolicy::ProcessArguments(
    scoped_refptr<Action> action) const {}

void FullStreamUIPolicy::ProcessAction(scoped_refptr<Action> action) {}

void FullStreamUIPolicy::QueueAction(scoped_refptr<Action> action) {}

}  // namespace extensions