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

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

Issue 201070: Implementation of application cache update algorithm.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/appcache/appcache_group_unittest.cc ('k') | webkit/appcache/appcache_interfaces.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #ifndef WEBKIT_APPCACHE_APPCACHE_INTERFACES_H_ 5 #ifndef WEBKIT_APPCACHE_APPCACHE_INTERFACES_H_
6 #define WEBKIT_APPCACHE_APPCACHE_INTERFACES_H_ 6 #define WEBKIT_APPCACHE_APPCACHE_INTERFACES_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 11
12 class GURL; 12 class GURL;
13 class URLRequest; 13 class URLRequest;
14 14
15 namespace appcache { 15 namespace appcache {
16 16
17 // Defines constants, types, and abstract classes used in the main 17 // Defines constants, types, and abstract classes used in the main
18 // process and in child processes. 18 // process and in child processes.
19 extern const char kManifestMimeType[];
19 20
20 static const int kNoHostId = 0; 21 static const int kNoHostId = 0;
21 static const int64 kNoCacheId = 0; 22 static const int64 kNoCacheId = 0;
22 static const int64 kUnknownCacheId = -1; 23 static const int64 kUnknownCacheId = -1;
23 24
24 enum Status { 25 enum Status {
25 UNCACHED, 26 UNCACHED,
26 IDLE, 27 IDLE,
27 CHECKING, 28 CHECKING,
28 DOWNLOADING, 29 DOWNLOADING,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 extern const char kHttpGETMethod[]; 82 extern const char kHttpGETMethod[];
82 extern const char kHttpHEADMethod[]; 83 extern const char kHttpHEADMethod[];
83 84
84 bool IsSchemeSupported(const GURL& url); 85 bool IsSchemeSupported(const GURL& url);
85 bool IsMethodSupported(const std::string& method); 86 bool IsMethodSupported(const std::string& method);
86 bool IsSchemeAndMethodSupported(const URLRequest* request); 87 bool IsSchemeAndMethodSupported(const URLRequest* request);
87 88
88 } // namespace 89 } // namespace
89 90
90 #endif // WEBKIT_APPCACHE_APPCACHE_INTERFACES_H_ 91 #endif // WEBKIT_APPCACHE_APPCACHE_INTERFACES_H_
OLDNEW
« no previous file with comments | « webkit/appcache/appcache_group_unittest.cc ('k') | webkit/appcache/appcache_interfaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698