chromium/extensions/browser/warning_service.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "extensions/browser/warning_service.h"

#include "base/observer_list.h"
#include "content/public/browser/browser_thread.h"
#include "extensions/browser/extensions_browser_client.h"
#include "extensions/browser/warning_service_factory.h"
#include "extensions/common/extension_id.h"
#include "extensions/common/extension_set.h"

BrowserThread;

namespace extensions {

WarningService::WarningService(content::BrowserContext* browser_context)
    :{}

WarningService::~WarningService() {}

// static
WarningService* WarningService::Get(content::BrowserContext* browser_context) {}

void WarningService::ClearWarnings(
    const std::set<Warning::WarningType>& types) {}

std::set<Warning::WarningType>
WarningService::GetWarningTypesAffectingExtension(
    const ExtensionId& extension_id) const {}

std::vector<std::string> WarningService::GetWarningMessagesForExtension(
    const ExtensionId& extension_id) const {}

void WarningService::AddWarnings(const WarningSet& warnings) {}

// static
void WarningService::NotifyWarningsOnUI(void* browser_context_id,
                                        const WarningSet& warnings) {}

void WarningService::AddObserver(Observer* observer) {}

void WarningService::RemoveObserver(Observer* observer) {}

void WarningService::NotifyWarningsChanged(
    const ExtensionIdSet& affected_extensions) {}

void WarningService::OnExtensionUnloaded(
    content::BrowserContext* browser_context,
    const Extension* extension,
    UnloadedExtensionReason reason) {}

}  // namespace extensions