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" |
11 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/platform_file.h" | |
15 #include "base/prefs/pref_service.h" | 14 #include "base/prefs/pref_service.h" |
16 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 15 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
17 #include "chrome/browser/browser_process.h" | 16 #include "chrome/browser/browser_process.h" |
18 #include "chrome/browser/browsing_data/browsing_data_helper.h" | 17 #include "chrome/browser/browsing_data/browsing_data_helper.h" |
19 #include "chrome/browser/chrome_notification_types.h" | 18 #include "chrome/browser/chrome_notification_types.h" |
20 #if defined(OS_CHROMEOS) | 19 #if defined(OS_CHROMEOS) |
21 #include "chrome/browser/chromeos/login/user.h" | 20 #include "chrome/browser/chromeos/login/user.h" |
22 #include "chrome/browser/chromeos/login/user_manager.h" | 21 #include "chrome/browser/chromeos/login/user_manager.h" |
23 #endif | 22 #endif |
24 #include "chrome/browser/content_settings/host_content_settings_map.h" | 23 #include "chrome/browser/content_settings/host_content_settings_map.h" |
(...skipping 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1147 waiting_for_clear_webrtc_logs_ = false; | 1146 waiting_for_clear_webrtc_logs_ = false; |
1148 NotifyAndDeleteIfDone(); | 1147 NotifyAndDeleteIfDone(); |
1149 } | 1148 } |
1150 #endif | 1149 #endif |
1151 | 1150 |
1152 void BrowsingDataRemover::OnClearedDomainReliabilityMonitor() { | 1151 void BrowsingDataRemover::OnClearedDomainReliabilityMonitor() { |
1153 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 1152 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
1154 waiting_for_clear_domain_reliability_monitor_ = false; | 1153 waiting_for_clear_domain_reliability_monitor_ = false; |
1155 NotifyAndDeleteIfDone(); | 1154 NotifyAndDeleteIfDone(); |
1156 } | 1155 } |
OLD | NEW |