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

Side by Side Diff: chrome/browser/browsing_data/browsing_data_database_helper.cc

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 "chrome/browser/browsing_data/browsing_data_database_helper.h" 5 #include "chrome/browser/browsing_data/browsing_data_database_helper.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "chrome/browser/browsing_data/browsing_data_helper.h" 13 #include "chrome/browser/browsing_data/browsing_data_helper.h"
14 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
16 #include "content/public/browser/storage_partition.h" 16 #include "content/public/browser/storage_partition.h"
17 #include "net/base/completion_callback.h" 17 #include "net/base/completion_callback.h"
18 #include "net/base/net_errors.h" 18 #include "net/base/net_errors.h"
19 #include "webkit/common/database/database_identifier.h" 19 #include "storage/common/database/database_identifier.h"
20 20
21 using content::BrowserContext; 21 using content::BrowserContext;
22 using content::BrowserThread; 22 using content::BrowserThread;
23 using webkit_database::DatabaseIdentifier; 23 using webkit_database::DatabaseIdentifier;
24 24
25 BrowsingDataDatabaseHelper::DatabaseInfo::DatabaseInfo( 25 BrowsingDataDatabaseHelper::DatabaseInfo::DatabaseInfo(
26 const DatabaseIdentifier& identifier, 26 const DatabaseIdentifier& identifier,
27 const std::string& database_name, 27 const std::string& database_name,
28 const std::string& description, 28 const std::string& description,
29 int64 size, 29 int64 size,
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 ++it) { 224 ++it) {
225 if (it->origin == origin && it->name == name) { 225 if (it->origin == origin && it->name == name) {
226 pending_database_info_.erase(it); 226 pending_database_info_.erase(it);
227 break; 227 break;
228 } 228 }
229 } 229 }
230 BrowsingDataDatabaseHelper::DeleteDatabase(origin_identifier, name); 230 BrowsingDataDatabaseHelper::DeleteDatabase(origin_identifier, name);
231 } 231 }
232 232
233 CannedBrowsingDataDatabaseHelper::~CannedBrowsingDataDatabaseHelper() {} 233 CannedBrowsingDataDatabaseHelper::~CannedBrowsingDataDatabaseHelper() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698