OLD | NEW |
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/files/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 "webkit/common/database/database_identifier.h" |
20 | 20 |
21 using content::BrowserContext; | 21 using content::BrowserContext; |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 ++it) { | 226 ++it) { |
227 if (it->origin == origin && it->name == name) { | 227 if (it->origin == origin && it->name == name) { |
228 pending_database_info_.erase(it); | 228 pending_database_info_.erase(it); |
229 break; | 229 break; |
230 } | 230 } |
231 } | 231 } |
232 BrowsingDataDatabaseHelper::DeleteDatabase(origin_identifier, name); | 232 BrowsingDataDatabaseHelper::DeleteDatabase(origin_identifier, name); |
233 } | 233 } |
234 | 234 |
235 CannedBrowsingDataDatabaseHelper::~CannedBrowsingDataDatabaseHelper() {} | 235 CannedBrowsingDataDatabaseHelper::~CannedBrowsingDataDatabaseHelper() {} |
OLD | NEW |