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

Side by Side Diff: webkit/browser/appcache/appcache.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/browser/appcache/appcache.h" 5 #include "webkit/browser/appcache/appcache.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "webkit/browser/appcache/appcache_group.h" 11 #include "webkit/browser/appcache/appcache_group.h"
12 #include "webkit/browser/appcache/appcache_host.h" 12 #include "webkit/browser/appcache/appcache_host.h"
13 #include "webkit/browser/appcache/appcache_storage.h" 13 #include "webkit/browser/appcache/appcache_storage.h"
14 #include "webkit/common/appcache/appcache_interfaces.h" 14 #include "webkit/common/appcache/appcache_interfaces.h"
15 15
16 namespace appcache { 16 namespace appcache {
17 17
18 AppCache::AppCache(AppCacheStorage* storage, int64 cache_id) 18 AppCache::AppCache(AppCacheStorage* storage, int64 cache_id)
19 : cache_id_(cache_id), 19 : cache_id_(cache_id),
20 owning_group_(NULL), 20 owning_group_(NULL),
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 const GURL& url) { 278 const GURL& url) {
279 size_t count = namespaces.size(); 279 size_t count = namespaces.size();
280 for (size_t i = 0; i < count; ++i) { 280 for (size_t i = 0; i < count; ++i) {
281 if (namespaces[i].IsMatch(url)) 281 if (namespaces[i].IsMatch(url))
282 return &namespaces[i]; 282 return &namespaces[i];
283 } 283 }
284 return NULL; 284 return NULL;
285 } 285 }
286 286
287 } // namespace appcache 287 } // namespace appcache
OLDNEW
« no previous file with comments | « webkit/base/origin_url_conversions.h ('k') | webkit/browser/appcache/appcache_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698