| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "ios/chrome/browser/browsing_data/ios_chrome_browsing_data_remover.h" | 5 #include "ios/chrome/browser/browsing_data/ios_chrome_browsing_data_remover.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett
ings.h" | 21 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett
ings.h" |
| 22 #include "components/history/core/browser/history_service.h" | 22 #include "components/history/core/browser/history_service.h" |
| 23 #include "components/keyed_service/core/service_access_type.h" | 23 #include "components/keyed_service/core/service_access_type.h" |
| 24 #include "components/omnibox/browser/omnibox_pref_names.h" | 24 #include "components/omnibox/browser/omnibox_pref_names.h" |
| 25 #include "components/password_manager/core/browser/password_store.h" | 25 #include "components/password_manager/core/browser/password_store.h" |
| 26 #include "components/prefs/pref_service.h" | 26 #include "components/prefs/pref_service.h" |
| 27 #include "components/search_engines/template_url_service.h" | 27 #include "components/search_engines/template_url_service.h" |
| 28 #include "components/sessions/core/tab_restore_service.h" | 28 #include "components/sessions/core/tab_restore_service.h" |
| 29 #include "ios/chrome/browser/application_context.h" | 29 #include "ios/chrome/browser/application_context.h" |
| 30 #include "ios/chrome/browser/autofill/personal_data_manager_factory.h" | 30 #include "ios/chrome/browser/autofill/personal_data_manager_factory.h" |
| 31 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" |
| 31 #include "ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_prox
y_settings.h" | 32 #include "ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_prox
y_settings.h" |
| 32 #include "ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_prox
y_settings_factory.h" | 33 #include "ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_prox
y_settings_factory.h" |
| 33 #include "ios/chrome/browser/history/history_service_factory.h" | 34 #include "ios/chrome/browser/history/history_service_factory.h" |
| 34 #include "ios/chrome/browser/history/web_history_service_factory.h" | 35 #include "ios/chrome/browser/history/web_history_service_factory.h" |
| 35 #include "ios/chrome/browser/ios_chrome_io_thread.h" | 36 #include "ios/chrome/browser/ios_chrome_io_thread.h" |
| 36 #include "ios/chrome/browser/passwords/ios_chrome_password_store_factory.h" | 37 #include "ios/chrome/browser/passwords/ios_chrome_password_store_factory.h" |
| 37 #include "ios/chrome/browser/search_engines/template_url_service_factory.h" | 38 #include "ios/chrome/browser/search_engines/template_url_service_factory.h" |
| 38 #include "ios/chrome/browser/sessions/ios_chrome_tab_restore_service_factory.h" | 39 #include "ios/chrome/browser/sessions/ios_chrome_tab_restore_service_factory.h" |
| 39 #include "ios/chrome/browser/web_data_service_factory.h" | 40 #include "ios/chrome/browser/web_data_service_factory.h" |
| 40 #include "ios/net/http_cache_helper.h" | 41 #include "ios/net/http_cache_helper.h" |
| 41 #include "ios/public/provider/chrome/browser/browser_state/chrome_browser_state.
h" | |
| 42 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h" | 42 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h" |
| 43 #include "ios/web/public/user_metrics.h" | 43 #include "ios/web/public/user_metrics.h" |
| 44 #include "ios/web/public/web_thread.h" | 44 #include "ios/web/public/web_thread.h" |
| 45 #include "net/base/net_errors.h" | 45 #include "net/base/net_errors.h" |
| 46 #include "net/cookies/cookie_store.h" | 46 #include "net/cookies/cookie_store.h" |
| 47 #include "net/http/transport_security_state.h" | 47 #include "net/http/transport_security_state.h" |
| 48 #include "net/ssl/channel_id_service.h" | 48 #include "net/ssl/channel_id_service.h" |
| 49 #include "net/ssl/channel_id_store.h" | 49 #include "net/ssl/channel_id_store.h" |
| 50 #include "net/url_request/url_request_context.h" | 50 #include "net/url_request/url_request_context.h" |
| 51 #include "net/url_request/url_request_context_getter.h" | 51 #include "net/url_request/url_request_context_getter.h" |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 waiting_for_clear_autofill_origin_urls_ = false; | 553 waiting_for_clear_autofill_origin_urls_ = false; |
| 554 NotifyAndDeleteIfDone(); | 554 NotifyAndDeleteIfDone(); |
| 555 } | 555 } |
| 556 | 556 |
| 557 // static | 557 // static |
| 558 IOSChromeBrowsingDataRemover::CallbackSubscription | 558 IOSChromeBrowsingDataRemover::CallbackSubscription |
| 559 IOSChromeBrowsingDataRemover::RegisterOnBrowsingDataRemovedCallback( | 559 IOSChromeBrowsingDataRemover::RegisterOnBrowsingDataRemovedCallback( |
| 560 const IOSChromeBrowsingDataRemover::Callback& callback) { | 560 const IOSChromeBrowsingDataRemover::Callback& callback) { |
| 561 return GetOnBrowsingDataRemovedCallbacks()->Add(callback); | 561 return GetOnBrowsingDataRemovedCallbacks()->Add(callback); |
| 562 } | 562 } |
| OLD | NEW |