| 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 #ifndef CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ | 5 #ifndef CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ |
| 6 #define CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ | 6 #define CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/file_path.h" | 14 #include "base/file_path.h" |
| 15 #include "base/gfx/native_widget_types.h" | 15 #include "base/gfx/native_widget_types.h" |
| 16 #include "base/hash_tables.h" | 16 #include "base/hash_tables.h" |
| 17 #include "base/ref_counted.h" | 17 #include "base/ref_counted.h" |
| 18 #include "base/time.h" | |
| 19 #include "chrome/common/pref_member.h" | 18 #include "chrome/common/pref_member.h" |
| 20 #include "chrome/browser/download/save_item.h" | 19 #include "chrome/browser/download/save_item.h" |
| 21 #include "chrome/browser/download/save_types.h" | 20 #include "chrome/browser/download/save_types.h" |
| 22 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 21 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
| 23 | 22 |
| 24 class SaveFileManager; | 23 class SaveFileManager; |
| 25 class SavePackage; | 24 class SavePackage; |
| 26 class DownloadItem; | 25 class DownloadItem; |
| 27 class DownloadManager; | 26 class DownloadManager; |
| 28 class GURL; | 27 class GURL; |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 WaitState wait_state_; | 299 WaitState wait_state_; |
| 301 | 300 |
| 302 // Unique id for this SavePackage. | 301 // Unique id for this SavePackage. |
| 303 const int tab_id_; | 302 const int tab_id_; |
| 304 | 303 |
| 305 friend class SavePackageTest; | 304 friend class SavePackageTest; |
| 306 DISALLOW_COPY_AND_ASSIGN(SavePackage); | 305 DISALLOW_COPY_AND_ASSIGN(SavePackage); |
| 307 }; | 306 }; |
| 308 | 307 |
| 309 #endif // CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ | 308 #endif // CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ |
| OLD | NEW |