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_remover.h" | 5 #include "chrome/browser/browsing_data/browsing_data_remover.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 #include "content/public/browser/user_metrics.h" | 57 #include "content/public/browser/user_metrics.h" |
58 #include "net/base/net_errors.h" | 58 #include "net/base/net_errors.h" |
59 #include "net/cookies/cookie_store.h" | 59 #include "net/cookies/cookie_store.h" |
60 #include "net/disk_cache/disk_cache.h" | 60 #include "net/disk_cache/disk_cache.h" |
61 #include "net/http/http_cache.h" | 61 #include "net/http/http_cache.h" |
62 #include "net/http/transport_security_state.h" | 62 #include "net/http/transport_security_state.h" |
63 #include "net/ssl/server_bound_cert_service.h" | 63 #include "net/ssl/server_bound_cert_service.h" |
64 #include "net/ssl/server_bound_cert_store.h" | 64 #include "net/ssl/server_bound_cert_store.h" |
65 #include "net/url_request/url_request_context.h" | 65 #include "net/url_request/url_request_context.h" |
66 #include "net/url_request/url_request_context_getter.h" | 66 #include "net/url_request/url_request_context_getter.h" |
| 67 #include "webkit/browser/quota/quota_manager.h" |
| 68 #include "webkit/browser/quota/special_storage_policy.h" |
| 69 #include "webkit/common/quota/quota_types.h" |
67 #include "webkit/dom_storage/dom_storage_types.h" | 70 #include "webkit/dom_storage/dom_storage_types.h" |
68 #include "webkit/quota/quota_manager.h" | |
69 #include "webkit/quota/quota_types.h" | |
70 #include "webkit/quota/special_storage_policy.h" | |
71 | 71 |
72 using content::BrowserContext; | 72 using content::BrowserContext; |
73 using content::BrowserThread; | 73 using content::BrowserThread; |
74 using content::DOMStorageContext; | 74 using content::DOMStorageContext; |
75 using content::DownloadManager; | 75 using content::DownloadManager; |
76 using content::UserMetricsAction; | 76 using content::UserMetricsAction; |
77 | 77 |
78 bool BrowsingDataRemover::is_removing_ = false; | 78 bool BrowsingDataRemover::is_removing_ = false; |
79 | 79 |
80 BrowsingDataRemover::NotificationDetails::NotificationDetails() | 80 BrowsingDataRemover::NotificationDetails::NotificationDetails() |
(...skipping 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1097 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 1097 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
1098 waiting_for_clear_form_ = false; | 1098 waiting_for_clear_form_ = false; |
1099 NotifyAndDeleteIfDone(); | 1099 NotifyAndDeleteIfDone(); |
1100 } | 1100 } |
1101 | 1101 |
1102 void BrowsingDataRemover::OnClearedAutofillOriginURLs() { | 1102 void BrowsingDataRemover::OnClearedAutofillOriginURLs() { |
1103 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 1103 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
1104 waiting_for_clear_autofill_origin_urls_ = false; | 1104 waiting_for_clear_autofill_origin_urls_ = false; |
1105 NotifyAndDeleteIfDone(); | 1105 NotifyAndDeleteIfDone(); |
1106 } | 1106 } |
OLD | NEW |