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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 #include "net/cookies/cookie_store.h" | 58 #include "net/cookies/cookie_store.h" |
59 #include "net/disk_cache/disk_cache.h" | 59 #include "net/disk_cache/disk_cache.h" |
60 #include "net/http/http_cache.h" | 60 #include "net/http/http_cache.h" |
61 #include "net/http/transport_security_state.h" | 61 #include "net/http/transport_security_state.h" |
62 #include "net/ssl/server_bound_cert_service.h" | 62 #include "net/ssl/server_bound_cert_service.h" |
63 #include "net/ssl/server_bound_cert_store.h" | 63 #include "net/ssl/server_bound_cert_store.h" |
64 #include "net/url_request/url_request_context.h" | 64 #include "net/url_request/url_request_context.h" |
65 #include "net/url_request/url_request_context_getter.h" | 65 #include "net/url_request/url_request_context_getter.h" |
66 #include "webkit/browser/quota/quota_manager.h" | 66 #include "webkit/browser/quota/quota_manager.h" |
67 #include "webkit/browser/quota/special_storage_policy.h" | 67 #include "webkit/browser/quota/special_storage_policy.h" |
| 68 #include "webkit/common/dom_storage/dom_storage_types.h" |
68 #include "webkit/common/quota/quota_types.h" | 69 #include "webkit/common/quota/quota_types.h" |
69 #include "webkit/dom_storage/dom_storage_types.h" | |
70 | 70 |
71 using content::BrowserContext; | 71 using content::BrowserContext; |
72 using content::BrowserThread; | 72 using content::BrowserThread; |
73 using content::DOMStorageContext; | 73 using content::DOMStorageContext; |
74 using content::UserMetricsAction; | 74 using content::UserMetricsAction; |
75 | 75 |
76 bool BrowsingDataRemover::is_removing_ = false; | 76 bool BrowsingDataRemover::is_removing_ = false; |
77 | 77 |
78 BrowsingDataRemover::NotificationDetails::NotificationDetails() | 78 BrowsingDataRemover::NotificationDetails::NotificationDetails() |
79 : removal_begin(base::Time()), | 79 : removal_begin(base::Time()), |
(...skipping 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1092 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 1092 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
1093 waiting_for_clear_form_ = false; | 1093 waiting_for_clear_form_ = false; |
1094 NotifyAndDeleteIfDone(); | 1094 NotifyAndDeleteIfDone(); |
1095 } | 1095 } |
1096 | 1096 |
1097 void BrowsingDataRemover::OnClearedAutofillOriginURLs() { | 1097 void BrowsingDataRemover::OnClearedAutofillOriginURLs() { |
1098 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 1098 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
1099 waiting_for_clear_autofill_origin_urls_ = false; | 1099 waiting_for_clear_autofill_origin_urls_ = false; |
1100 NotifyAndDeleteIfDone(); | 1100 NotifyAndDeleteIfDone(); |
1101 } | 1101 } |
OLD | NEW |