OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_remover.h" | 5 #include "chrome/browser/browsing_data_remover.h" |
6 | 6 |
7 #include "chrome/browser/chrome_thread.h" | 7 #include "chrome/browser/chrome_thread.h" |
8 #include "chrome/browser/browser_process.h" | 8 #include "chrome/browser/browser_process.h" |
9 #include "chrome/browser/download_manager.h" | 9 #include "chrome/browser/download/download_manager.h" |
10 #include "chrome/browser/profile.h" | 10 #include "chrome/browser/profile.h" |
11 #include "chrome/browser/session_service.h" | 11 #include "chrome/browser/session_service.h" |
12 #include "chrome/browser/tab_restore_service.h" | 12 #include "chrome/browser/tab_restore_service.h" |
13 #include "chrome/browser/template_url_model.h" | 13 #include "chrome/browser/template_url_model.h" |
14 #include "chrome/browser/user_metrics.h" | 14 #include "chrome/browser/user_metrics.h" |
15 #include "chrome/browser/webdata/web_data_service.h" | 15 #include "chrome/browser/webdata/web_data_service.h" |
16 #include "chrome/common/notification_service.h" | 16 #include "chrome/common/notification_service.h" |
17 #include "net/base/cookie_monster.h" | 17 #include "net/base/cookie_monster.h" |
18 #include "net/disk_cache/disk_cache.h" | 18 #include "net/disk_cache/disk_cache.h" |
19 #include "net/http/http_cache.h" | 19 #include "net/http/http_cache.h" |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 cache->DoomAllEntries(); | 194 cache->DoomAllEntries(); |
195 else | 195 else |
196 cache->DoomEntriesBetween(delete_begin, delete_end); | 196 cache->DoomEntriesBetween(delete_begin, delete_end); |
197 } | 197 } |
198 | 198 |
199 // Notify the UI thread that we are done. | 199 // Notify the UI thread that we are done. |
200 ui_loop->PostTask(FROM_HERE, NewRunnableMethod( | 200 ui_loop->PostTask(FROM_HERE, NewRunnableMethod( |
201 this, &BrowsingDataRemover::ClearedCache)); | 201 this, &BrowsingDataRemover::ClearedCache)); |
202 } | 202 } |
203 | 203 |
OLD | NEW |