summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/updater/extension_downloader_delegate.cc
blob: 2cddee306e93ed443c2f083103951771977ea911 (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
// 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 "chrome/browser/extensions/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