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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/updater/extension_downloader_delegate.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/updater/extension_downloader_delegate.cc
diff --git a/chrome/browser/extensions/updater/extension_downloader_delegate.cc b/extensions/browser/updater/extension_downloader_delegate.cc
similarity index 67%
rename from chrome/browser/extensions/updater/extension_downloader_delegate.cc
rename to extensions/browser/updater/extension_downloader_delegate.cc
index ab3f734dc3de5a7fe9753cf3ca3cf9b4f065e821..a82f5ca4fc29f1472b0d2cc6936c88af4bf39449 100644
--- a/chrome/browser/extensions/updater/extension_downloader_delegate.cc
+++ b/extensions/browser/updater/extension_downloader_delegate.cc
@@ -2,24 +2,28 @@
// 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 "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() : did_ping(false) {
+}
-ExtensionDownloaderDelegate::PingResult::~PingResult() {}
+ExtensionDownloaderDelegate::PingResult::~PingResult() {
+}
-ExtensionDownloaderDelegate::~ExtensionDownloaderDelegate() {}
+ExtensionDownloaderDelegate::~ExtensionDownloaderDelegate() {
+}
void ExtensionDownloaderDelegate::OnExtensionDownloadFailed(
const std::string& id,
ExtensionDownloaderDelegate::Error error,
const ExtensionDownloaderDelegate::PingResult& ping_result,
- const std::set<int>& request_id) {}
+ const std::set<int>& request_id) {
+}
bool ExtensionDownloaderDelegate::GetPingDataForExtension(
const std::string& id,
@@ -32,9 +36,8 @@ std::string ExtensionDownloaderDelegate::GetUpdateUrlData(
return std::string();
}
-bool ExtensionDownloaderDelegate::ShouldForceUpdate(
- const std::string& id,
- std::string* source) {
+bool ExtensionDownloaderDelegate::ShouldForceUpdate(const std::string& id,
+ std::string* source) {
return false;
}
« 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