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

Side by Side Diff: webkit/browser/database/database_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 "webkit/browser/database/database_quota_client.h" 5 #include "webkit/browser/database/database_quota_client.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 PostTaskAndReplyWithResult( 208 PostTaskAndReplyWithResult(
209 db_tracker_thread_.get(), 209 db_tracker_thread_.get(),
210 FROM_HERE, 210 FROM_HERE,
211 base::Bind(&DatabaseTracker::DeleteDataForOrigin, 211 base::Bind(&DatabaseTracker::DeleteDataForOrigin,
212 db_tracker_, 212 db_tracker_,
213 webkit_database::GetIdentifierFromOrigin(origin), 213 webkit_database::GetIdentifierFromOrigin(origin),
214 delete_callback), 214 delete_callback),
215 delete_callback); 215 delete_callback);
216 } 216 }
217 217
218 bool DatabaseQuotaClient::DoesSupport(quota::StorageType type) const {
219 return type == quota::kStorageTypeTemporary;
220 }
221
218 } // namespace webkit_database 222 } // namespace webkit_database
OLDNEW
« no previous file with comments | « webkit/browser/database/database_quota_client.h ('k') | webkit/browser/fileapi/file_system_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698