| Index: webkit/browser/appcache/appcache_update_job.h
|
| diff --git a/webkit/browser/appcache/appcache_update_job.h b/webkit/browser/appcache/appcache_update_job.h
|
| index 3207fad34e98b9399f8b183bbe4502ece9f86ac1..86a487adf60a2b134e294e5c7154ae6e1ba5d377 100644
|
| --- a/webkit/browser/appcache/appcache_update_job.h
|
| +++ b/webkit/browser/appcache/appcache_update_job.h
|
| @@ -175,7 +175,11 @@ class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheUpdateJob
|
| virtual void OnServiceReinitialized(
|
| AppCacheStorageReference* old_storage) OVERRIDE;
|
|
|
| - void HandleCacheFailure(const std::string& error_message, ResultType result);
|
| + void HandleCacheFailure(const std::string& error_message,
|
| + ErrorReason reason,
|
| + const GURL& resource_url,
|
| + int resource_status,
|
| + ResultType result);
|
|
|
| void FetchManifest(bool is_first_fetch);
|
| void HandleManifestFetchCompleted(URLFetcher* fetcher);
|
| @@ -194,7 +198,10 @@ class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheUpdateJob
|
| void NotifyAllAssociatedHosts(EventID event_id);
|
| void NotifyAllProgress(const GURL& url);
|
| void NotifyAllFinalProgress();
|
| - void NotifyAllError(const std::string& error_message);
|
| + void NotifyAllError(const std::string& error_message,
|
| + ErrorReason reason,
|
| + const GURL& resource_url,
|
| + int resource_status);
|
| void AddAllAssociatedHostsToNotifier(HostNotifier* notifier);
|
|
|
| // Checks if manifest is byte for byte identical with the manifest
|
| @@ -221,7 +228,10 @@ class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheUpdateJob
|
| void AddMasterEntryToFetchList(AppCacheHost* host, const GURL& url,
|
| bool is_new);
|
| void FetchMasterEntries();
|
| - void CancelAllMasterEntryFetches(const std::string& error_message);
|
| + void CancelAllMasterEntryFetches(const std::string& error_message,
|
| + ErrorReason reason,
|
| + const GURL& resource_url,
|
| + int resource_status);
|
|
|
| // Asynchronously loads the entry from the newest complete cache if the
|
| // HTTP caching semantics allow.
|
|
|