Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: chrome/browser/browsing_data_remover.cc

Issue 2826: Move the download code to new directories: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/download/download_exe.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/download/download_exe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698