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

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

Issue 6904057: Schetch changes required to support URLFetcher saving response to a file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 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 3baaf2e81fc3c5d32a45cf0240d49dc7709ff8dd..e968cede886b7f484057315052d41446ed484257 100644
--- a/chrome/browser/extensions/extension_updater.h
+++ b/chrome/browser/extensions/extension_updater.h
@@ -236,12 +236,24 @@ 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 ResponseCookies& cookies,
- const std::string& data);
+ virtual void OnURLFetchComplete(
+ const URLFetcher* source,
+ const GURL& url,
+ const net::URLRequestStatus& status,
+ int response_code,
+ const ResponseCookies& cookies,
+ const std::string& data);
+
+ virtual void OnURLFetchCompleteNew(
+ const URLFetcher* source,
+ const GURL& url,
+ const net::URLRequestStatus& status,
+ int response_code,
+ const ResponseCookies& cookies,
+ const URLFetcher::ResponseBodyContainerInterface& response_body);
+
+ virtual URLFetcher::ResponseBodyContainerInterface*
+ CreateResponseBodyContainer();
// These do the actual work when a URL fetch completes.
virtual void OnManifestFetchComplete(const GURL& url,
« 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