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 27 matching lines...) Expand all Loading... |
38 #include "chrome/browser/safe_browsing/safe_browsing_service.h" | 38 #include "chrome/browser/safe_browsing/safe_browsing_service.h" |
39 #include "chrome/browser/search_engines/template_url_service.h" | 39 #include "chrome/browser/search_engines/template_url_service.h" |
40 #include "chrome/browser/search_engines/template_url_service_factory.h" | 40 #include "chrome/browser/search_engines/template_url_service_factory.h" |
41 #include "chrome/browser/sessions/session_service.h" | 41 #include "chrome/browser/sessions/session_service.h" |
42 #include "chrome/browser/sessions/session_service_factory.h" | 42 #include "chrome/browser/sessions/session_service_factory.h" |
43 #include "chrome/browser/sessions/tab_restore_service.h" | 43 #include "chrome/browser/sessions/tab_restore_service.h" |
44 #include "chrome/browser/sessions/tab_restore_service_factory.h" | 44 #include "chrome/browser/sessions/tab_restore_service_factory.h" |
45 #include "chrome/common/chrome_notification_types.h" | 45 #include "chrome/common/chrome_notification_types.h" |
46 #include "chrome/common/pref_names.h" | 46 #include "chrome/common/pref_names.h" |
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/core/browser/personal_data_manager.h" |
49 #include "components/autofill/browser/webdata/autofill_webdata_service.h" | 49 #include "components/autofill/core/browser/webdata/autofill_webdata_service.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/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" |
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1091 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 1091 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
1092 waiting_for_clear_form_ = false; | 1092 waiting_for_clear_form_ = false; |
1093 NotifyAndDeleteIfDone(); | 1093 NotifyAndDeleteIfDone(); |
1094 } | 1094 } |
1095 | 1095 |
1096 void BrowsingDataRemover::OnClearedAutofillOriginURLs() { | 1096 void BrowsingDataRemover::OnClearedAutofillOriginURLs() { |
1097 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 1097 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
1098 waiting_for_clear_autofill_origin_urls_ = false; | 1098 waiting_for_clear_autofill_origin_urls_ = false; |
1099 NotifyAndDeleteIfDone(); | 1099 NotifyAndDeleteIfDone(); |
1100 } | 1100 } |
OLD | NEW |