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

Unified Diff: webkit/appcache/appcache_interfaces.h

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_interfaces.h
===================================================================
--- webkit/appcache/appcache_interfaces.h (revision 194203)
+++ webkit/appcache/appcache_interfaces.h (working copy)
@@ -100,6 +100,8 @@
Namespace(); // Type is set to FALLBACK_NAMESPACE by default.
Namespace(NamespaceType type, const GURL& url, const GURL& target,
bool is_pattern);
+ Namespace(NamespaceType type, const GURL& url, const GURL& target,
+ bool is_pattern, bool is_executable);
~Namespace();
bool IsMatch(const GURL& url) const;
@@ -108,6 +110,7 @@
GURL namespace_url;
GURL target_url;
bool is_pattern;
+ bool is_executable;
};
typedef std::vector<Namespace> NamespaceVector;
@@ -171,6 +174,9 @@
extern const char kHttpGETMethod[];
extern const char kHttpHEADMethod[];
+// CommandLine flag to turn this experimental feature on.
+extern const char kEnableExecutableHandlers[];
+
WEBKIT_STORAGE_EXPORT void AddSupportedScheme(const char* scheme);
bool IsSchemeSupported(const GURL& url);

Powered by Google App Engine
This is Rietveld 408576698