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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 #include "chrome/common/url_constants.h" | 47 #include "chrome/common/url_constants.h" |
48 #include "components/autofill/browser/personal_data_manager.h" | 48 #include "components/autofill/browser/personal_data_manager.h" |
49 #include "content/public/browser/browser_thread.h" | 49 #include "content/public/browser/browser_thread.h" |
50 #include "content/public/browser/dom_storage_context.h" | 50 #include "content/public/browser/dom_storage_context.h" |
51 #include "content/public/browser/download_manager.h" | 51 #include "content/public/browser/download_manager.h" |
52 #include "content/public/browser/notification_service.h" | 52 #include "content/public/browser/notification_service.h" |
53 #include "content/public/browser/plugin_data_remover.h" | 53 #include "content/public/browser/plugin_data_remover.h" |
54 #include "content/public/browser/storage_partition.h" | 54 #include "content/public/browser/storage_partition.h" |
55 #include "content/public/browser/user_metrics.h" | 55 #include "content/public/browser/user_metrics.h" |
56 #include "net/base/net_errors.h" | 56 #include "net/base/net_errors.h" |
57 #include "net/base/server_bound_cert_service.h" | |
58 #include "net/base/server_bound_cert_store.h" | |
59 #include "net/base/transport_security_state.h" | |
60 #include "net/cookies/cookie_store.h" | 57 #include "net/cookies/cookie_store.h" |
61 #include "net/disk_cache/disk_cache.h" | 58 #include "net/disk_cache/disk_cache.h" |
62 #include "net/http/http_cache.h" | 59 #include "net/http/http_cache.h" |
63 #include "net/http/infinite_cache.h" | 60 #include "net/http/infinite_cache.h" |
| 61 #include "net/http/transport_security_state.h" |
| 62 #include "net/ssl/server_bound_cert_service.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/dom_storage/dom_storage_types.h" | 66 #include "webkit/dom_storage/dom_storage_types.h" |
67 #include "webkit/quota/quota_manager.h" | 67 #include "webkit/quota/quota_manager.h" |
68 #include "webkit/quota/quota_types.h" | 68 #include "webkit/quota/quota_types.h" |
69 #include "webkit/quota/special_storage_policy.h" | 69 #include "webkit/quota/special_storage_policy.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; |
(...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1023 BrowserThread::UI, FROM_HERE, | 1023 BrowserThread::UI, FROM_HERE, |
1024 base::Bind(&BrowsingDataRemover::OnClearedFormData, | 1024 base::Bind(&BrowsingDataRemover::OnClearedFormData, |
1025 base::Unretained(this))); | 1025 base::Unretained(this))); |
1026 } | 1026 } |
1027 | 1027 |
1028 void BrowsingDataRemover::OnClearedFormData() { | 1028 void BrowsingDataRemover::OnClearedFormData() { |
1029 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 1029 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
1030 waiting_for_clear_form_ = false; | 1030 waiting_for_clear_form_ = false; |
1031 NotifyAndDeleteIfDone(); | 1031 NotifyAndDeleteIfDone(); |
1032 } | 1032 } |
OLD | NEW |