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

Side by Side Diff: chrome/browser/download/download_file.h

Issue 273017: Move native_widget_types and gtk_native_view_id_manager from base/gfx to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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/dock_info_gtk.cc ('k') | chrome/browser/download/download_util.h » ('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 // Objects that handle file operations for downloads, on the download thread. 5 // Objects that handle file operations for downloads, on the download thread.
6 // 6 //
7 // The DownloadFileManager owns a set of DownloadFile objects, each of which 7 // The DownloadFileManager owns a set of DownloadFile objects, each of which
8 // represent one in progress download and performs the disk IO for that 8 // represent one in progress download and performs the disk IO for that
9 // download. The DownloadFileManager itself is a singleton object owned by the 9 // download. The DownloadFileManager itself is a singleton object owned by the
10 // ResourceDispatcherHost. 10 // ResourceDispatcherHost.
(...skipping 26 matching lines...) Expand all
37 // during a download, the DownloadFileManager will continue to route data to the 37 // during a download, the DownloadFileManager will continue to route data to the
38 // appropriate DownloadManager. In progress downloads are cancelled for a 38 // appropriate DownloadManager. In progress downloads are cancelled for a
39 // DownloadManager that exits (such as when closing a profile). 39 // DownloadManager that exits (such as when closing a profile).
40 40
41 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_H_ 41 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_H_
42 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_H_ 42 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_H_
43 43
44 #include <map> 44 #include <map>
45 #include <vector> 45 #include <vector>
46 46
47 #include "app/gfx/native_widget_types.h"
47 #include "base/basictypes.h" 48 #include "base/basictypes.h"
48 #include "base/file_path.h" 49 #include "base/file_path.h"
49 #include "base/gfx/native_widget_types.h"
50 #include "base/hash_tables.h" 50 #include "base/hash_tables.h"
51 #include "base/lock.h" 51 #include "base/lock.h"
52 #include "base/ref_counted.h" 52 #include "base/ref_counted.h"
53 #include "base/timer.h" 53 #include "base/timer.h"
54 #include "googleurl/src/gurl.h" 54 #include "googleurl/src/gurl.h"
55 55
56 namespace net { 56 namespace net {
57 class IOBuffer; 57 class IOBuffer;
58 } 58 }
59 struct DownloadCreateInfo; 59 struct DownloadCreateInfo;
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 // Used for progress updates on the UI thread, mapping download->id() to bytes 284 // Used for progress updates on the UI thread, mapping download->id() to bytes
285 // received so far. Written to by the file thread and read by the UI thread. 285 // received so far. Written to by the file thread and read by the UI thread.
286 typedef base::hash_map<int, int64> ProgressMap; 286 typedef base::hash_map<int, int64> ProgressMap;
287 ProgressMap ui_progress_; 287 ProgressMap ui_progress_;
288 Lock progress_lock_; 288 Lock progress_lock_;
289 289
290 DISALLOW_COPY_AND_ASSIGN(DownloadFileManager); 290 DISALLOW_COPY_AND_ASSIGN(DownloadFileManager);
291 }; 291 };
292 292
293 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_H_ 293 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/dock_info_gtk.cc ('k') | chrome/browser/download/download_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698