make use of media_use_ffmpeg in BUILD.gn
[chromium-blink-merge.git] / extensions / browser / updater / extension_downloader_delegate.cc
bloba82f5ca4fc29f1472b0d2cc6936c88af4bf39449
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "extensions/browser/updater/extension_downloader_delegate.h"
7 #include "base/logging.h"
8 #include "base/version.h"
10 namespace extensions {
12 ExtensionDownloaderDelegate::PingResult::PingResult() : did_ping(false) {
15 ExtensionDownloaderDelegate::PingResult::~PingResult() {
18 ExtensionDownloaderDelegate::~ExtensionDownloaderDelegate() {
21 void ExtensionDownloaderDelegate::OnExtensionDownloadFailed(
22 const std::string& id,
23 ExtensionDownloaderDelegate::Error error,
24 const ExtensionDownloaderDelegate::PingResult& ping_result,
25 const std::set<int>& request_id) {
28 bool ExtensionDownloaderDelegate::GetPingDataForExtension(
29 const std::string& id,
30 ManifestFetchData::PingData* ping) {
31 return false;
34 std::string ExtensionDownloaderDelegate::GetUpdateUrlData(
35 const std::string& id) {
36 return std::string();
39 bool ExtensionDownloaderDelegate::ShouldForceUpdate(const std::string& id,
40 std::string* source) {
41 return false;
44 } // namespace extensions