summaryrefslogtreecommitdiffstats
path: root/extensions/browser/updater/extension_downloader_delegate.cc
blob: 5ccf9c96a88e5f3d4be5d878941b9a3d3377c6b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "extensions/browser/updater/extension_downloader_delegate.h"

#include "base/logging.h"
#include "base/version.h"

namespace extensions {

ExtensionDownloaderDelegate::PingResult::PingResult() : did_ping(false) {
}

ExtensionDownloaderDelegate::PingResult::~PingResult() {
}

ExtensionDownloaderDelegate::~ExtensionDownloaderDelegate() {
}

void ExtensionDownloaderDelegate::OnExtensionDownloadFailed(
    const std::string& id,
    ExtensionDownloaderDelegate::Error error,
    const ExtensionDownloaderDelegate::PingResult& ping_result,
    const std::set<int>& request_id) {
}

bool ExtensionDownloaderDelegate::GetPingDataForExtension(
    const std::string& id,
    ManifestFetchData::PingData* ping) {
  return false;
}

std::string ExtensionDownloaderDelegate::GetUpdateUrlData(
    const std::string& id) {
  return std::string();
}

}  // namespace extensions