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

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

Issue 8343018: More groundwork for flat file based response storage. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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_host.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) 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 #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"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 struct APPCACHE_EXPORT AppCacheInfo { 58 struct APPCACHE_EXPORT AppCacheInfo {
59 AppCacheInfo(); 59 AppCacheInfo();
60 ~AppCacheInfo(); 60 ~AppCacheInfo();
61 61
62 GURL manifest_url; 62 GURL manifest_url;
63 base::Time creation_time; 63 base::Time creation_time;
64 base::Time last_update_time; 64 base::Time last_update_time;
65 base::Time last_access_time; 65 base::Time last_access_time;
66 int64 cache_id; 66 int64 cache_id;
67 int64 group_id;
67 Status status; 68 Status status;
68 int64 size; 69 int64 size;
69 bool is_complete; 70 bool is_complete;
70 }; 71 };
71 72
72 typedef std::vector<AppCacheInfo> AppCacheInfoVector; 73 typedef std::vector<AppCacheInfo> AppCacheInfoVector;
73 74
74 // Type to hold information about a single appcache resource. 75 // Type to hold information about a single appcache resource.
75 struct APPCACHE_EXPORT AppCacheResourceInfo { 76 struct APPCACHE_EXPORT AppCacheResourceInfo {
76 AppCacheResourceInfo(); 77 AppCacheResourceInfo();
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 149
149 bool IsSchemeSupported(const GURL& url); 150 bool IsSchemeSupported(const GURL& url);
150 bool IsMethodSupported(const std::string& method); 151 bool IsMethodSupported(const std::string& method);
151 bool IsSchemeAndMethodSupported(const net::URLRequest* request); 152 bool IsSchemeAndMethodSupported(const net::URLRequest* request);
152 153
153 APPCACHE_EXPORT extern const FilePath::CharType kAppCacheDatabaseName[]; 154 APPCACHE_EXPORT extern const FilePath::CharType kAppCacheDatabaseName[];
154 155
155 } // namespace 156 } // namespace
156 157
157 #endif // WEBKIT_APPCACHE_APPCACHE_INTERFACES_H_ 158 #endif // WEBKIT_APPCACHE_APPCACHE_INTERFACES_H_
OLDNEW
« no previous file with comments | « webkit/appcache/appcache_host.cc ('k') | webkit/appcache/appcache_interfaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698