| Index: content/browser/appcache/chrome_appcache_service.cc
|
| diff --git a/content/browser/appcache/chrome_appcache_service.cc b/content/browser/appcache/chrome_appcache_service.cc
|
| index 6fa5ebc613d5bbb366d3fbbd60578c2b8f9084c5..9db8588df1527521299e7d009d40463b1322fe38 100644
|
| --- a/content/browser/appcache/chrome_appcache_service.cc
|
| +++ b/content/browser/appcache/chrome_appcache_service.cc
|
| @@ -8,7 +8,9 @@
|
| #include "base/file_util.h"
|
| #include "content/public/browser/content_browser_client.h"
|
| #include "content/public/browser/resource_context.h"
|
| +#include "content/public/common/content_url_request_user_data.h"
|
| #include "net/base/net_errors.h"
|
| +#include "net/url_request/url_request.h"
|
| #include "webkit/quota/quota_manager.h"
|
|
|
| using content::BrowserThread;
|
| @@ -65,3 +67,10 @@ bool ChromeAppCacheService::CanCreateAppCache(
|
| return content::GetContentClient()->browser()->AllowAppCache(
|
| manifest_url, first_party, resource_context_);
|
| }
|
| +
|
| +void ChromeAppCacheService::InitializeUpdateRequest(net::URLRequest* request) {
|
| + // TODO(jochen): Do cookie audit.
|
| + request->SetUserData(
|
| + content::ContentURLRequestUserData::kUserDataKey,
|
| + new content::ContentURLRequestUserData());
|
| +}
|
|
|