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. 4 5 #include "chrome/browser/extensions/updater/extension_downloader_delegate.h" 6 7 #include "base/logging.h" 8 #include "base/version.h" 9 10 namespace extensions { 11 PingResult()12ExtensionDownloaderDelegate::PingResult::PingResult() : did_ping(false) {} 13 ~PingResult()14ExtensionDownloaderDelegate::PingResult::~PingResult() {} 15 ~ExtensionDownloaderDelegate()16ExtensionDownloaderDelegate::~ExtensionDownloaderDelegate() {} 17 OnExtensionDownloadFailed(const std::string & id,ExtensionDownloaderDelegate::Error error,const ExtensionDownloaderDelegate::PingResult & ping_result,const std::set<int> & request_id)18void ExtensionDownloaderDelegate::OnExtensionDownloadFailed( 19 const std::string& id, 20 ExtensionDownloaderDelegate::Error error, 21 const ExtensionDownloaderDelegate::PingResult& ping_result, 22 const std::set<int>& request_id) {} 23 GetPingDataForExtension(const std::string & id,ManifestFetchData::PingData * ping)24bool ExtensionDownloaderDelegate::GetPingDataForExtension( 25 const std::string& id, 26 ManifestFetchData::PingData* ping) { 27 return false; 28 } 29 GetUpdateUrlData(const std::string & id)30std::string ExtensionDownloaderDelegate::GetUpdateUrlData( 31 const std::string& id) { 32 return std::string(); 33 } 34 35 } // namespace extensions 36