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

Side by Side Diff: content/browser/indexed_db/indexed_db_quota_client.cc

Issue 23545016: Not creating ClientUsageTracker for unsupported storage type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | 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 "content/browser/indexed_db/indexed_db_quota_client.h" 5 #include "content/browser/indexed_db/indexed_db_quota_client.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "content/browser/indexed_db/indexed_db_context_impl.h" 10 #include "content/browser/indexed_db/indexed_db_context_impl.h"
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 } 168 }
169 169
170 base::PostTaskAndReplyWithResult( 170 base::PostTaskAndReplyWithResult(
171 indexed_db_context_->TaskRunner(), 171 indexed_db_context_->TaskRunner(),
172 FROM_HERE, 172 FROM_HERE,
173 base::Bind( 173 base::Bind(
174 &DeleteOriginDataOnIndexedDBThread, indexed_db_context_, origin), 174 &DeleteOriginDataOnIndexedDBThread, indexed_db_context_, origin),
175 callback); 175 callback);
176 } 176 }
177 177
178 bool IndexedDBQuotaClient::DoesSupport(quota::StorageType type) const {
179 return type == quota::kStorageTypeTemporary;
180 }
181
178 } // namespace content 182 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_quota_client.h ('k') | webkit/browser/appcache/appcache_quota_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698