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

Unified Diff: chrome/browser/extensions/extension_updater.h

Issue 6969067: Allow URLFetcher to save results in a file. Have CRX updates use this capability. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests Created 9 years, 7 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
Index: chrome/browser/extensions/extension_updater.h
diff --git a/chrome/browser/extensions/extension_updater.h b/chrome/browser/extensions/extension_updater.h
index 2cc736796c801b4726ca8c0941327de78a11f448..c71340263feeb2ef3c55dcf2882d3f1227ae5270 100644
--- a/chrome/browser/extensions/extension_updater.h
+++ b/chrome/browser/extensions/extension_updater.h
@@ -28,7 +28,6 @@
class Extension;
class ExtensionPrefs;
class ExtensionUpdaterTest;
-class ExtensionUpdaterFileHandler;
class PrefService;
class Profile;
class SafeManifestParser;
@@ -236,22 +235,18 @@ class ExtensionUpdater : public URLFetcher::Delegate {
base::TimeDelta DetermineFirstCheckDelay();
// URLFetcher::Delegate interface.
- virtual void OnURLFetchComplete(const URLFetcher* source,
- const GURL& url,
- const net::URLRequestStatus& status,
- int response_code,
- const net::ResponseCookies& cookies,
- const std::string& data);
+ virtual void OnURLFetchComplete(const URLFetcher* source);
// These do the actual work when a URL fetch completes.
virtual void OnManifestFetchComplete(const GURL& url,
const net::URLRequestStatus& status,
int response_code,
const std::string& data);
- virtual void OnCRXFetchComplete(const GURL& url,
+
+ virtual void OnCRXFetchComplete(const URLFetcher* source,
+ const GURL& url,
const net::URLRequestStatus& status,
- int response_code,
- const std::string& data);
+ int response_code);
// Called when a crx file has been written into a temp file, and is ready
// to be installed.
@@ -348,8 +343,6 @@ class ExtensionUpdater : public URLFetcher::Delegate {
ExtensionPrefs* extension_prefs_;
PrefService* prefs_;
Profile* profile_;
-
- scoped_refptr<ExtensionUpdaterFileHandler> file_handler_;
bool blacklist_checks_enabled_;
// The ids of extensions that have in-progress update checks.
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_updater.cc » ('j') | chrome/browser/extensions/extension_updater.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698