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

Side by Side Diff: webkit/common/appcache/appcache_interfaces.cc

Issue 16434010: Use a direct include of strings headers in webkit/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
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 #include "webkit/common/appcache/appcache_interfaces.h" 5 #include "webkit/common/appcache/appcache_interfaces.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
12 #include "net/url_request/url_request.h" 12 #include "net/url_request/url_request.h"
13 13
14 namespace { 14 namespace {
15 15
16 base::LazyInstance<std::set<std::string> >::Leaky g_supported_schemes = 16 base::LazyInstance<std::set<std::string> >::Leaky g_supported_schemes =
17 LAZY_INSTANCE_INITIALIZER; 17 LAZY_INSTANCE_INITIALIZER;
18 18
19 } // namespace 19 } // namespace
20 20
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 bool IsMethodSupported(const std::string& method) { 121 bool IsMethodSupported(const std::string& method) {
122 return (method == kHttpGETMethod) || (method == kHttpHEADMethod); 122 return (method == kHttpGETMethod) || (method == kHttpHEADMethod);
123 } 123 }
124 124
125 bool IsSchemeAndMethodSupported(const net::URLRequest* request) { 125 bool IsSchemeAndMethodSupported(const net::URLRequest* request) {
126 return IsSchemeSupported(request->url()) && 126 return IsSchemeSupported(request->url()) &&
127 IsMethodSupported(request->method()); 127 IsMethodSupported(request->method());
128 } 128 }
129 129
130 } // namespace appcache 130 } // namespace appcache
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/syncable/file_change.cc ('k') | webkit/common/database/database_connections.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698