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_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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 // any dependencies on the chrome library, so we can't use them in here. | 162 // any dependencies on the chrome library, so we can't use them in here. |
163 extern const char kHttpScheme[]; | 163 extern const char kHttpScheme[]; |
164 extern const char kHttpsScheme[]; | 164 extern const char kHttpsScheme[]; |
165 extern const char kHttpGETMethod[]; | 165 extern const char kHttpGETMethod[]; |
166 extern const char kHttpHEADMethod[]; | 166 extern const char kHttpHEADMethod[]; |
167 | 167 |
168 bool IsSchemeSupported(const GURL& url); | 168 bool IsSchemeSupported(const GURL& url); |
169 bool IsMethodSupported(const std::string& method); | 169 bool IsMethodSupported(const std::string& method); |
170 bool IsSchemeAndMethodSupported(const net::URLRequest* request); | 170 bool IsSchemeAndMethodSupported(const net::URLRequest* request); |
171 | 171 |
172 WEBKIT_STORAGE_EXPORT extern const FilePath::CharType kAppCacheDatabaseName[]; | 172 WEBKIT_STORAGE_EXPORT extern const base::FilePath::CharType |
| 173 kAppCacheDatabaseName[]; |
173 | 174 |
174 } // namespace | 175 } // namespace |
175 | 176 |
176 #endif // WEBKIT_APPCACHE_APPCACHE_INTERFACES_H_ | 177 #endif // WEBKIT_APPCACHE_APPCACHE_INTERFACES_H_ |
OLD | NEW |