Chromium Code Reviews| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 48 #include "chrome/common/pref_names.h" | 48 #include "chrome/common/pref_names.h" |
| 49 #include "chrome/common/url_constants.h" | 49 #include "chrome/common/url_constants.h" |
| 50 #include "content/public/browser/browser_thread.h" | 50 #include "content/public/browser/browser_thread.h" |
| 51 #include "content/public/browser/dom_storage_context.h" | 51 #include "content/public/browser/dom_storage_context.h" |
| 52 #include "content/public/browser/download_manager.h" | 52 #include "content/public/browser/download_manager.h" |
| 53 #include "content/public/browser/notification_service.h" | 53 #include "content/public/browser/notification_service.h" |
| 54 #include "content/public/browser/plugin_data_remover.h" | 54 #include "content/public/browser/plugin_data_remover.h" |
| 55 #include "content/public/browser/storage_partition.h" | 55 #include "content/public/browser/storage_partition.h" |
| 56 #include "content/public/browser/user_metrics.h" | 56 #include "content/public/browser/user_metrics.h" |
| 57 #include "net/base/net_errors.h" | 57 #include "net/base/net_errors.h" |
| 58 #include "net/base/server_bound_cert_service.h" | |
| 59 #include "net/base/server_bound_cert_store.h" | |
| 60 #include "net/base/transport_security_state.h" | |
| 61 #include "net/cookies/cookie_store.h" | 58 #include "net/cookies/cookie_store.h" |
| 62 #include "net/disk_cache/disk_cache.h" | 59 #include "net/disk_cache/disk_cache.h" |
| 63 #include "net/http/http_cache.h" | 60 #include "net/http/http_cache.h" |
| 64 #include "net/http/infinite_cache.h" | 61 #include "net/http/infinite_cache.h" |
| 62 #include "net/ssl/server_bound_cert_service.h" | |
| 63 #include "net/ssl/server_bound_cert_store.h" | |
| 64 #include "net/ssl/transport_security_state.h" | |
|
wtc
2013/03/12 23:14:37
transport_security_state.h could also be moved to
Paweł Hajdan Jr.
2013/03/13 22:59:52
Done.
| |
| 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/dom_storage/dom_storage_types.h" | 67 #include "webkit/dom_storage/dom_storage_types.h" |
| 68 #include "webkit/quota/quota_manager.h" | 68 #include "webkit/quota/quota_manager.h" |
| 69 #include "webkit/quota/quota_types.h" | 69 #include "webkit/quota/quota_types.h" |
| 70 #include "webkit/quota/special_storage_policy.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; |
| (...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1035 BrowserThread::UI, FROM_HERE, | 1035 BrowserThread::UI, FROM_HERE, |
| 1036 base::Bind(&BrowsingDataRemover::OnClearedFormData, | 1036 base::Bind(&BrowsingDataRemover::OnClearedFormData, |
| 1037 base::Unretained(this))); | 1037 base::Unretained(this))); |
| 1038 } | 1038 } |
| 1039 | 1039 |
| 1040 void BrowsingDataRemover::OnClearedFormData() { | 1040 void BrowsingDataRemover::OnClearedFormData() { |
| 1041 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 1041 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
| 1042 waiting_for_clear_form_ = false; | 1042 waiting_for_clear_form_ = false; |
| 1043 NotifyAndDeleteIfDone(); | 1043 NotifyAndDeleteIfDone(); |
| 1044 } | 1044 } |
| OLD | NEW |