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

Unified Diff: webkit/appcache/appcache_update_job.cc

Issue 13881003: AppCacheExecutableHandlers - parse manifest file and store the 'bit' indicating executable. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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
Index: webkit/appcache/appcache_update_job.cc
===================================================================
--- webkit/appcache/appcache_update_job.cc (revision 194203)
+++ webkit/appcache/appcache_update_job.cc (working copy)
@@ -892,7 +892,10 @@
manifest.intercept_namespaces;
for (std::vector<Namespace>::const_iterator it = intercepts.begin();
it != intercepts.end(); ++it) {
- AddUrlToFileList(it->target_url, AppCacheEntry::INTERCEPT);
+ int flags = AppCacheEntry::INTERCEPT;
+ if (it->is_executable)
+ flags |= AppCacheEntry::EXECUTABLE;
+ AddUrlToFileList(it->target_url, flags);
}
const std::vector<Namespace>& fallbacks =

Powered by Google App Engine
This is Rietveld 408576698