| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_COMMON_APPCACHE_APPCACHE_INTERFACES_H_ | 5 #ifndef WEBKIT_COMMON_APPCACHE_APPCACHE_INTERFACES_H_ |
| 6 #define WEBKIT_COMMON_APPCACHE_APPCACHE_INTERFACES_H_ | 6 #define WEBKIT_COMMON_APPCACHE_APPCACHE_INTERFACES_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 |
| 10 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 11 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 12 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 13 #include "googleurl/src/gurl.h" | 14 #include "url/gurl.h" |
| 14 #include "webkit/common/webkit_storage_common_export.h" | 15 #include "webkit/common/webkit_storage_common_export.h" |
| 15 | 16 |
| 16 namespace net { | 17 namespace net { |
| 17 class URLRequest; | 18 class URLRequest; |
| 18 } // namespace net | 19 } |
| 19 | 20 |
| 20 namespace appcache { | 21 namespace appcache { |
| 21 | 22 |
| 22 // Defines constants, types, and abstract classes used in the main | 23 // Defines constants, types, and abstract classes used in the main |
| 23 // process and in child processes. | 24 // process and in child processes. |
| 24 | 25 |
| 25 static const int kNoHostId = 0; | 26 static const int kNoHostId = 0; |
| 26 static const int64 kNoCacheId = 0; | 27 static const int64 kNoCacheId = 0; |
| 27 static const int64 kNoResponseId = 0; | 28 static const int64 kNoResponseId = 0; |
| 28 static const int64 kUnknownCacheId = -1; | 29 static const int64 kUnknownCacheId = -1; |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 WEBKIT_STORAGE_COMMON_EXPORT bool IsMethodSupported(const std::string& method); | 184 WEBKIT_STORAGE_COMMON_EXPORT bool IsMethodSupported(const std::string& method); |
| 184 WEBKIT_STORAGE_COMMON_EXPORT bool IsSchemeAndMethodSupported( | 185 WEBKIT_STORAGE_COMMON_EXPORT bool IsSchemeAndMethodSupported( |
| 185 const net::URLRequest* request); | 186 const net::URLRequest* request); |
| 186 | 187 |
| 187 WEBKIT_STORAGE_COMMON_EXPORT extern const base::FilePath::CharType | 188 WEBKIT_STORAGE_COMMON_EXPORT extern const base::FilePath::CharType |
| 188 kAppCacheDatabaseName[]; | 189 kAppCacheDatabaseName[]; |
| 189 | 190 |
| 190 } // namespace | 191 } // namespace |
| 191 | 192 |
| 192 #endif // WEBKIT_COMMON_APPCACHE_APPCACHE_INTERFACES_H_ | 193 #endif // WEBKIT_COMMON_APPCACHE_APPCACHE_INTERFACES_H_ |
| OLD | NEW |