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

Unified Diff: webkit/browser/appcache/appcache.cc

Issue 22314003: NavigationController prototype Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: NavController prototype - chrome side Created 7 years, 3 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 | « webkit/browser/appcache/appcache.h ('k') | webkit/browser/appcache/appcache_backend_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/appcache/appcache.cc
diff --git a/webkit/browser/appcache/appcache.cc b/webkit/browser/appcache/appcache.cc
index 2014298547ab62e33e532346b55f21b66c52a9c6..75720947762842620cc73cab8f3254fc4adb673a 100644
--- a/webkit/browser/appcache/appcache.cc
+++ b/webkit/browser/appcache/appcache.cc
@@ -93,7 +93,7 @@ AppCacheExecutableHandler* AppCache::GetExecutableHandler(int64 response_id) {
}
AppCacheExecutableHandler* AppCache::GetOrCreateExecutableHandler(
- int64 response_id, net::IOBuffer* handler_source) {
+ int64 response_id, const std::string& raw_handler_source) {
AppCacheExecutableHandler* handler = GetExecutableHandler(response_id);
if (handler)
return handler;
@@ -104,10 +104,10 @@ AppCacheExecutableHandler* AppCache::GetOrCreateExecutableHandler(
if (!entry || !entry->IsExecutable())
return NULL;
- DCHECK(storage_->service()->handler_factory());
+ DCHECK(storage_->service()->executable_handler_factory());
scoped_ptr<AppCacheExecutableHandler> own_ptr =
- storage_->service()->handler_factory()->
- CreateHandler(handler_url, handler_source);
+ storage_->service()->executable_handler_factory()->
+ CreateHandler(cache_id_, handler_url, raw_handler_source);
handler = own_ptr.release();
if (!handler)
return NULL;
@@ -304,6 +304,7 @@ void AppCache::ToResourceInfoVector(AppCacheResourceInfoVector* infos) const {
info.is_fallback = iter->second.IsFallback();
info.is_foreign = iter->second.IsForeign();
info.is_explicit = iter->second.IsExplicit();
+ info.is_executable = iter->second.IsExecutable();
info.size = iter->second.response_size();
info.response_id = iter->second.response_id();
}
« no previous file with comments | « webkit/browser/appcache/appcache.h ('k') | webkit/browser/appcache/appcache_backend_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698