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

Side by Side Diff: content/common/appcache_interfaces.h

Issue 803813003: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 12 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
OLDNEW
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_APPCACHE_INTERFACES_H_ 5 #ifndef CONTENT_COMMON_APPCACHE_APPCACHE_INTERFACES_H_
6 #define CONTENT_COMMON_APPCACHE_APPCACHE_INTERFACES_H_ 6 #define CONTENT_COMMON_APPCACHE_APPCACHE_INTERFACES_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 // Useful string constants. 165 // Useful string constants.
166 // Note: These are also defined elsewhere in the chrome code base in 166 // Note: These are also defined elsewhere in the chrome code base in
167 // url_contants.h .cc, however the content library can not have 167 // url_contants.h .cc, however the content library can not have
168 // any dependencies on the chrome library, so we can't use them in here. 168 // any dependencies on the chrome library, so we can't use them in here.
169 CONTENT_EXPORT extern const char kHttpScheme[]; 169 CONTENT_EXPORT extern const char kHttpScheme[];
170 CONTENT_EXPORT extern const char kHttpsScheme[]; 170 CONTENT_EXPORT extern const char kHttpsScheme[];
171 CONTENT_EXPORT extern const char kHttpGETMethod[]; 171 CONTENT_EXPORT extern const char kHttpGETMethod[];
172 CONTENT_EXPORT extern const char kHttpHEADMethod[]; 172 CONTENT_EXPORT extern const char kHttpHEADMethod[];
173 173
174 // CommandLine flag to turn this experimental feature on. 174 // base::CommandLine flag to turn this experimental feature on.
175 CONTENT_EXPORT extern const char kEnableExecutableHandlers[]; 175 CONTENT_EXPORT extern const char kEnableExecutableHandlers[];
176 176
177 CONTENT_EXPORT bool IsSchemeSupportedForAppCache(const GURL& url); 177 CONTENT_EXPORT bool IsSchemeSupportedForAppCache(const GURL& url);
178 CONTENT_EXPORT bool IsMethodSupportedForAppCache( 178 CONTENT_EXPORT bool IsMethodSupportedForAppCache(
179 const std::string& method); 179 const std::string& method);
180 CONTENT_EXPORT bool IsSchemeAndMethodSupportedForAppCache( 180 CONTENT_EXPORT bool IsSchemeAndMethodSupportedForAppCache(
181 const net::URLRequest* request); 181 const net::URLRequest* request);
182 182
183 CONTENT_EXPORT extern const base::FilePath::CharType 183 CONTENT_EXPORT extern const base::FilePath::CharType
184 kAppCacheDatabaseName[]; 184 kAppCacheDatabaseName[];
185 185
186 } // namespace 186 } // namespace
187 187
188 #endif // CONTENT_COMMON_APPCACHE_APPCACHE_INTERFACES_H_ 188 #endif // CONTENT_COMMON_APPCACHE_APPCACHE_INTERFACES_H_
OLDNEW
« no previous file with comments | « content/child/web_url_loader_impl_unittest.cc ('k') | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698