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

Unified Diff: webkit/appcache/appcache_interfaces.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_interfaces.cc
===================================================================
--- webkit/appcache/appcache_interfaces.cc (revision 194203)
+++ webkit/appcache/appcache_interfaces.cc (working copy)
@@ -30,6 +30,8 @@
const char kHttpGETMethod[] = "GET";
const char kHttpHEADMethod[] = "HEAD";
+const char kEnableExecutableHandlers[] = "enable-appcache-executable-handlers";
+
const base::FilePath::CharType kAppCacheDatabaseName[] =
FILE_PATH_LITERAL("Index");
@@ -61,7 +63,8 @@
Namespace::Namespace()
: type(FALLBACK_NAMESPACE),
- is_pattern(false) {
+ is_pattern(false),
+ is_executable(false) {
}
Namespace::Namespace(
@@ -69,9 +72,20 @@
: type(type),
namespace_url(url),
target_url(target),
- is_pattern(is_pattern) {
+ is_pattern(is_pattern),
+ is_executable(false) {
alecflett 2013/04/16 22:28:56 Seems like its worth keeping a single constructor
michaeln 2013/04/16 22:43:02 thought about it, certainly if/when we decide to k
}
+Namespace::Namespace(
+ NamespaceType type, const GURL& url, const GURL& target,
+ bool is_pattern, bool is_executable)
+ : type(type),
+ namespace_url(url),
+ target_url(target),
+ is_pattern(is_pattern),
+ is_executable(is_executable) {
+}
+
Namespace::~Namespace() {
}

Powered by Google App Engine
This is Rietveld 408576698