OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/extensions/updater/extension_downloader_delegate.h" | 5 #include "chrome/browser/extensions/updater/extension_downloader_delegate.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/version.h" |
8 | 9 |
9 namespace extensions { | 10 namespace extensions { |
10 | 11 |
11 ExtensionDownloaderDelegate::PingResult::PingResult() : did_ping(false) {} | 12 ExtensionDownloaderDelegate::PingResult::PingResult() : did_ping(false) {} |
12 | 13 |
13 ExtensionDownloaderDelegate::PingResult::~PingResult() {} | 14 ExtensionDownloaderDelegate::PingResult::~PingResult() {} |
14 | 15 |
15 ExtensionDownloaderDelegate::~ExtensionDownloaderDelegate() {} | 16 ExtensionDownloaderDelegate::~ExtensionDownloaderDelegate() {} |
16 | 17 |
17 void ExtensionDownloaderDelegate::OnExtensionDownloadFailed( | 18 void ExtensionDownloaderDelegate::OnExtensionDownloadFailed( |
18 const std::string& id, | 19 const std::string& id, |
19 ExtensionDownloaderDelegate::Error error, | 20 ExtensionDownloaderDelegate::Error error, |
20 const ExtensionDownloaderDelegate::PingResult& ping_result, | 21 const ExtensionDownloaderDelegate::PingResult& ping_result, |
21 const std::set<int>& request_id) {} | 22 const std::set<int>& request_id) {} |
22 | 23 |
23 bool ExtensionDownloaderDelegate::GetPingDataForExtension( | 24 bool ExtensionDownloaderDelegate::GetPingDataForExtension( |
24 const std::string& id, | 25 const std::string& id, |
25 ManifestFetchData::PingData* ping) { | 26 ManifestFetchData::PingData* ping) { |
26 return false; | 27 return false; |
27 } | 28 } |
28 | 29 |
29 std::string ExtensionDownloaderDelegate::GetUpdateUrlData( | 30 std::string ExtensionDownloaderDelegate::GetUpdateUrlData( |
30 const std::string& id) { | 31 const std::string& id) { |
31 return std::string(); | 32 return std::string(); |
32 } | 33 } |
33 | 34 |
34 } // namespace extensions | 35 } // namespace extensions |
OLD | NEW |