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

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

Issue 5298008: net: Add namespace net to URLRequest and URLRequestJob classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: some chromeos fixes Created 10 years 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "base/file_path.h" 11 #include "base/file_path.h"
12 #include "base/time.h" 12 #include "base/time.h"
13 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
14 14
15 namespace net {
15 class URLRequest; 16 class URLRequest;
17 } // namespace net
16 18
17 namespace appcache { 19 namespace appcache {
18 20
19 // Defines constants, types, and abstract classes used in the main 21 // Defines constants, types, and abstract classes used in the main
20 // process and in child processes. 22 // process and in child processes.
21 extern const char kManifestMimeType[]; 23 extern const char kManifestMimeType[];
22 24
23 static const int kNoHostId = 0; 25 static const int kNoHostId = 0;
24 static const int64 kNoCacheId = 0; 26 static const int64 kNoCacheId = 0;
25 static const int64 kNoResponseId = 0; 27 static const int64 kNoResponseId = 0;
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // Note: These are also defined elsewhere in the chrome code base in 136 // Note: These are also defined elsewhere in the chrome code base in
135 // url_contants.h .cc, however the appcache library doesn't not have 137 // url_contants.h .cc, however the appcache library doesn't not have
136 // any dependencies on the chrome library, so we can't use them in here. 138 // any dependencies on the chrome library, so we can't use them in here.
137 extern const char kHttpScheme[]; 139 extern const char kHttpScheme[];
138 extern const char kHttpsScheme[]; 140 extern const char kHttpsScheme[];
139 extern const char kHttpGETMethod[]; 141 extern const char kHttpGETMethod[];
140 extern const char kHttpHEADMethod[]; 142 extern const char kHttpHEADMethod[];
141 143
142 bool IsSchemeSupported(const GURL& url); 144 bool IsSchemeSupported(const GURL& url);
143 bool IsMethodSupported(const std::string& method); 145 bool IsMethodSupported(const std::string& method);
144 bool IsSchemeAndMethodSupported(const URLRequest* request); 146 bool IsSchemeAndMethodSupported(const net::URLRequest* request);
145 147
146 extern const FilePath::CharType kAppCacheDatabaseName[]; 148 extern const FilePath::CharType kAppCacheDatabaseName[];
147 149
148 } // namespace 150 } // namespace
149 151
150 #endif // WEBKIT_APPCACHE_APPCACHE_INTERFACES_H_ 152 #endif // WEBKIT_APPCACHE_APPCACHE_INTERFACES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698