| 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/file_util.h" |   13 #include "base/file_util.h" | 
|   14 #include "base/logging.h" |   14 #include "base/logging.h" | 
|   15 #include "base/platform_file.h" |   15 #include "base/platform_file.h" | 
 |   16 #include "chrome/browser/api/prefs/pref_member.h" | 
|   16 #include "chrome/browser/autofill/personal_data_manager.h" |   17 #include "chrome/browser/autofill/personal_data_manager.h" | 
|   17 #include "chrome/browser/autofill/personal_data_manager_factory.h" |   18 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 
|   18 #include "chrome/browser/browser_process.h" |   19 #include "chrome/browser/browser_process.h" | 
|   19 #include "chrome/browser/browsing_data/browsing_data_helper.h" |   20 #include "chrome/browser/browsing_data/browsing_data_helper.h" | 
|   20 #include "chrome/browser/download/chrome_download_manager_delegate.h" |   21 #include "chrome/browser/download/chrome_download_manager_delegate.h" | 
|   21 #include "chrome/browser/download/download_service.h" |   22 #include "chrome/browser/download/download_service.h" | 
|   22 #include "chrome/browser/download/download_service_factory.h" |   23 #include "chrome/browser/download/download_service_factory.h" | 
|   23 #include "chrome/browser/extensions/extension_service.h" |   24 #include "chrome/browser/extensions/extension_service.h" | 
|   24 #include "chrome/browser/extensions/extension_special_storage_policy.h" |   25 #include "chrome/browser/extensions/extension_special_storage_policy.h" | 
|   25 #include "chrome/browser/history/history.h" |   26 #include "chrome/browser/history/history.h" | 
|   26 #include "chrome/browser/history/history_service_factory.h" |   27 #include "chrome/browser/history/history_service_factory.h" | 
|   27 #include "chrome/browser/io_thread.h" |   28 #include "chrome/browser/io_thread.h" | 
|   28 #include "chrome/browser/nacl_host/nacl_browser.h" |   29 #include "chrome/browser/nacl_host/nacl_browser.h" | 
|   29 #include "chrome/browser/net/chrome_url_request_context.h" |   30 #include "chrome/browser/net/chrome_url_request_context.h" | 
|   30 #include "chrome/browser/net/predictor.h" |   31 #include "chrome/browser/net/predictor.h" | 
|   31 #include "chrome/browser/password_manager/password_store.h" |   32 #include "chrome/browser/password_manager/password_store.h" | 
|   32 #include "chrome/browser/password_manager/password_store_factory.h" |   33 #include "chrome/browser/password_manager/password_store_factory.h" | 
|   33 #include "chrome/browser/prefs/pref_member.h" |  | 
|   34 #include "chrome/browser/prerender/prerender_manager.h" |   34 #include "chrome/browser/prerender/prerender_manager.h" | 
|   35 #include "chrome/browser/prerender/prerender_manager_factory.h" |   35 #include "chrome/browser/prerender/prerender_manager_factory.h" | 
|   36 #include "chrome/browser/profiles/profile.h" |   36 #include "chrome/browser/profiles/profile.h" | 
|   37 #include "chrome/browser/renderer_host/web_cache_manager.h" |   37 #include "chrome/browser/renderer_host/web_cache_manager.h" | 
|   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" | 
| (...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  898       BrowserThread::UI, FROM_HERE, |  898       BrowserThread::UI, FROM_HERE, | 
|  899       base::Bind(&BrowsingDataRemover::OnClearedServerBoundCerts, |  899       base::Bind(&BrowsingDataRemover::OnClearedServerBoundCerts, | 
|  900                  base::Unretained(this))); |  900                  base::Unretained(this))); | 
|  901 } |  901 } | 
|  902  |  902  | 
|  903 void BrowsingDataRemover::OnClearedServerBoundCerts() { |  903 void BrowsingDataRemover::OnClearedServerBoundCerts() { | 
|  904   DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |  904   DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 
|  905   waiting_for_clear_server_bound_certs_ = false; |  905   waiting_for_clear_server_bound_certs_ = false; | 
|  906   NotifyAndDeleteIfDone(); |  906   NotifyAndDeleteIfDone(); | 
|  907 } |  907 } | 
| OLD | NEW |