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

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: Rebase for commit 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_updater.cc » ('j') | chrome/common/net/url_fetcher.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_updater.h
diff --git a/chrome/browser/extensions/extension_updater.h b/chrome/browser/extensions/extension_updater.h
index 9de1391c33c2fc2ef339e219c3d10e1bbe1c1172..f6806f745950cf72153599ce08517ef2777a7f4b 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/common/net/url_fetcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698