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

Side by Side Diff: webkit/appcache/appcache_interfaces.cc

Issue 8566020: No longer check for a specific mime-type on appcache manifest files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/appcache/appcache_interfaces.h ('k') | webkit/appcache/appcache_update_job.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/appcache/appcache_interfaces.h" 5 #include "webkit/appcache/appcache_interfaces.h"
6 6
7 #include "googleurl/src/gurl.h" 7 #include "googleurl/src/gurl.h"
8 #include "net/url_request/url_request.h" 8 #include "net/url_request/url_request.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebApplicationCacheHo st.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebApplicationCacheHo st.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h"
11 11
12 using WebKit::WebApplicationCacheHost; 12 using WebKit::WebApplicationCacheHost;
13 using WebKit::WebConsoleMessage; 13 using WebKit::WebConsoleMessage;
14 14
15 namespace appcache { 15 namespace appcache {
16 16
17 const char kManifestMimeType[] = "text/cache-manifest";
18
19 const char kHttpScheme[] = "http"; 17 const char kHttpScheme[] = "http";
20 const char kHttpsScheme[] = "https"; 18 const char kHttpsScheme[] = "https";
21 const char kHttpGETMethod[] = "GET"; 19 const char kHttpGETMethod[] = "GET";
22 const char kHttpHEADMethod[] = "HEAD"; 20 const char kHttpHEADMethod[] = "HEAD";
23 21
24 const FilePath::CharType kAppCacheDatabaseName[] = FILE_PATH_LITERAL("Index"); 22 const FilePath::CharType kAppCacheDatabaseName[] = FILE_PATH_LITERAL("Index");
25 23
26 AppCacheInfo::AppCacheInfo() 24 AppCacheInfo::AppCacheInfo()
27 : cache_id(kNoCacheId), 25 : cache_id(kNoCacheId),
28 group_id(0), 26 group_id(0),
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 COMPILE_ASSERT((int)WebConsoleMessage::LevelTip == 102 COMPILE_ASSERT((int)WebConsoleMessage::LevelTip ==
105 (int)LOG_TIP, LevelTip); 103 (int)LOG_TIP, LevelTip);
106 COMPILE_ASSERT((int)WebConsoleMessage::LevelLog == 104 COMPILE_ASSERT((int)WebConsoleMessage::LevelLog ==
107 (int)LOG_INFO, LevelLog); 105 (int)LOG_INFO, LevelLog);
108 COMPILE_ASSERT((int)WebConsoleMessage::LevelWarning == 106 COMPILE_ASSERT((int)WebConsoleMessage::LevelWarning ==
109 (int)LOG_WARNING, LevelWarning); 107 (int)LOG_WARNING, LevelWarning);
110 COMPILE_ASSERT((int)WebConsoleMessage::LevelError == 108 COMPILE_ASSERT((int)WebConsoleMessage::LevelError ==
111 (int)LOG_ERROR, LevelError); 109 (int)LOG_ERROR, LevelError);
112 110
113 } // namespace appcache 111 } // namespace appcache
OLDNEW
« no previous file with comments | « webkit/appcache/appcache_interfaces.h ('k') | webkit/appcache/appcache_update_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698