Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Side by Side Diff: extensions/browser/updater/extension_downloader_delegate.cc

Issue 654363002: Move ExtensionDownloader to //extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/browser/updater/extension_downloader_delegate.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "extensions/browser/updater/extension_downloader_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/version.h" 8 #include "base/version.h"
9 9
10 namespace extensions { 10 namespace extensions {
11 11
12 ExtensionDownloaderDelegate::PingResult::PingResult() : did_ping(false) {} 12 ExtensionDownloaderDelegate::PingResult::PingResult() : did_ping(false) {
13 }
13 14
14 ExtensionDownloaderDelegate::PingResult::~PingResult() {} 15 ExtensionDownloaderDelegate::PingResult::~PingResult() {
16 }
15 17
16 ExtensionDownloaderDelegate::~ExtensionDownloaderDelegate() {} 18 ExtensionDownloaderDelegate::~ExtensionDownloaderDelegate() {
19 }
17 20
18 void ExtensionDownloaderDelegate::OnExtensionDownloadFailed( 21 void ExtensionDownloaderDelegate::OnExtensionDownloadFailed(
19 const std::string& id, 22 const std::string& id,
20 ExtensionDownloaderDelegate::Error error, 23 ExtensionDownloaderDelegate::Error error,
21 const ExtensionDownloaderDelegate::PingResult& ping_result, 24 const ExtensionDownloaderDelegate::PingResult& ping_result,
22 const std::set<int>& request_id) {} 25 const std::set<int>& request_id) {
26 }
23 27
24 bool ExtensionDownloaderDelegate::GetPingDataForExtension( 28 bool ExtensionDownloaderDelegate::GetPingDataForExtension(
25 const std::string& id, 29 const std::string& id,
26 ManifestFetchData::PingData* ping) { 30 ManifestFetchData::PingData* ping) {
27 return false; 31 return false;
28 } 32 }
29 33
30 std::string ExtensionDownloaderDelegate::GetUpdateUrlData( 34 std::string ExtensionDownloaderDelegate::GetUpdateUrlData(
31 const std::string& id) { 35 const std::string& id) {
32 return std::string(); 36 return std::string();
33 } 37 }
34 38
35 bool ExtensionDownloaderDelegate::ShouldForceUpdate( 39 bool ExtensionDownloaderDelegate::ShouldForceUpdate(const std::string& id,
36 const std::string& id, 40 std::string* source) {
37 std::string* source) {
38 return false; 41 return false;
39 } 42 }
40 43
41 } // namespace extensions 44 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/updater/extension_downloader_delegate.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698