| 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 CONTENT_COMMON_APPCACHE_INTERFACES_H_ | 5 #ifndef CONTENT_COMMON_APPCACHE_INTERFACES_H_ |
| 6 #define CONTENT_COMMON_APPCACHE_INTERFACES_H_ | 6 #define CONTENT_COMMON_APPCACHE_INTERFACES_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 // Useful string constants. | 166 // Useful string constants. |
| 167 CONTENT_EXPORT extern const char kHttpGETMethod[]; | 167 CONTENT_EXPORT extern const char kHttpGETMethod[]; |
| 168 CONTENT_EXPORT extern const char kHttpHEADMethod[]; | 168 CONTENT_EXPORT extern const char kHttpHEADMethod[]; |
| 169 | 169 |
| 170 // base::CommandLine flag to turn this experimental feature on. | 170 // base::CommandLine flag to turn this experimental feature on. |
| 171 CONTENT_EXPORT extern const char kEnableExecutableHandlers[]; | 171 CONTENT_EXPORT extern const char kEnableExecutableHandlers[]; |
| 172 | 172 |
| 173 CONTENT_EXPORT bool IsSchemeSupportedForAppCache(const GURL& url); | 173 CONTENT_EXPORT bool IsSchemeSupportedForAppCache(const GURL& url); |
| 174 CONTENT_EXPORT bool IsMethodSupportedForAppCache( | 174 CONTENT_EXPORT bool IsMethodSupportedForAppCache( |
| 175 const std::string& method); | 175 const std::string& method); |
| 176 CONTENT_EXPORT bool IsSchemeAndMethodSupportedForAppCache( | |
| 177 const net::URLRequest* request); | |
| 178 | 176 |
| 179 CONTENT_EXPORT extern const base::FilePath::CharType | 177 CONTENT_EXPORT extern const base::FilePath::CharType |
| 180 kAppCacheDatabaseName[]; | 178 kAppCacheDatabaseName[]; |
| 181 | 179 |
| 182 } // namespace | 180 } // namespace |
| 183 | 181 |
| 184 #endif // CONTENT_COMMON_APPCACHE_INTERFACES_H_ | 182 #endif // CONTENT_COMMON_APPCACHE_INTERFACES_H_ |
| OLD | NEW |