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

Side by Side Diff: webkit/appcache/appcache_storage.cc

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/appcache/appcache_storage.h" 5 #include "webkit/appcache/appcache_storage.h"
6 6
7 #include "base/stl_util-inl.h" 7 #include "base/stl_util.h"
8 #include "webkit/appcache/appcache_response.h" 8 #include "webkit/appcache/appcache_response.h"
9 #include "webkit/appcache/appcache_service.h" 9 #include "webkit/appcache/appcache_service.h"
10 #include "webkit/quota/quota_client.h" 10 #include "webkit/quota/quota_client.h"
11 #include "webkit/quota/quota_manager.h" 11 #include "webkit/quota/quota_manager.h"
12 12
13 namespace appcache { 13 namespace appcache {
14 14
15 // static 15 // static
16 const int64 AppCacheStorage::kUnitializedId = -1; 16 const int64 AppCacheStorage::kUnitializedId = -1;
17 17
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 void AppCacheStorage::NotifyStorageAccessed(const GURL& origin) { 122 void AppCacheStorage::NotifyStorageAccessed(const GURL& origin) {
123 if (service()->quota_manager_proxy() && 123 if (service()->quota_manager_proxy() &&
124 usage_map_.find(origin) != usage_map_.end()) 124 usage_map_.find(origin) != usage_map_.end())
125 service()->quota_manager_proxy()->NotifyStorageAccessed( 125 service()->quota_manager_proxy()->NotifyStorageAccessed(
126 quota::QuotaClient::kAppcache, 126 quota::QuotaClient::kAppcache,
127 origin, quota::kStorageTypeTemporary); 127 origin, quota::kStorageTypeTemporary);
128 } 128 }
129 129
130 } // namespace appcache 130 } // namespace appcache
131 131
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698