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

Side by Side Diff: content/browser/appcache/appcache_storage.cc

Issue 559063002: Remove webkit/browser/, point everything to storage/browser/ instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up DEPS per feedback Created 6 years, 3 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) 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 "content/browser/appcache/appcache_storage.h" 5 #include "content/browser/appcache/appcache_storage.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/stl_util.h" 9 #include "base/stl_util.h"
10 #include "content/browser/appcache/appcache_response.h" 10 #include "content/browser/appcache/appcache_response.h"
11 #include "content/browser/appcache/appcache_service_impl.h" 11 #include "content/browser/appcache/appcache_service_impl.h"
12 #include "webkit/browser/quota/quota_client.h" 12 #include "storage/browser/quota/quota_client.h"
13 #include "webkit/browser/quota/quota_manager_proxy.h" 13 #include "storage/browser/quota/quota_manager_proxy.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 // static 17 // static
18 const int64 AppCacheStorage::kUnitializedId = -1; 18 const int64 AppCacheStorage::kUnitializedId = -1;
19 19
20 AppCacheStorage::AppCacheStorage(AppCacheServiceImpl* service) 20 AppCacheStorage::AppCacheStorage(AppCacheServiceImpl* service)
21 : last_cache_id_(kUnitializedId), last_group_id_(kUnitializedId), 21 : last_cache_id_(kUnitializedId), last_group_id_(kUnitializedId),
22 last_response_id_(kUnitializedId), service_(service) { 22 last_response_id_(kUnitializedId), service_(service) {
23 } 23 }
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 if (service()->quota_manager_proxy() && 130 if (service()->quota_manager_proxy() &&
131 usage_map_.find(origin) != usage_map_.end()) 131 usage_map_.find(origin) != usage_map_.end())
132 service()->quota_manager_proxy()->NotifyStorageAccessed( 132 service()->quota_manager_proxy()->NotifyStorageAccessed(
133 storage::QuotaClient::kAppcache, 133 storage::QuotaClient::kAppcache,
134 origin, 134 origin,
135 storage::kStorageTypeTemporary); 135 storage::kStorageTypeTemporary);
136 } 136 }
137 137
138 } // namespace content 138 } // namespace content
139 139
OLDNEW
« no previous file with comments | « content/browser/appcache/appcache_service_impl.cc ('k') | content/browser/appcache/appcache_storage_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698