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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 #include <queue> | 10 #include <queue> |
(...skipping 11 matching lines...) Expand all Loading... |
22 class SaveFileManager; | 22 class SaveFileManager; |
23 class SavePackage; | 23 class SavePackage; |
24 class DownloadItem; | 24 class DownloadItem; |
25 class GURL; | 25 class GURL; |
26 class MessageLoop; | 26 class MessageLoop; |
27 class PrefService; | 27 class PrefService; |
28 class Profile; | 28 class Profile; |
29 class WebContents; | 29 class WebContents; |
30 class URLRequestContext; | 30 class URLRequestContext; |
31 class WebContents; | 31 class WebContents; |
32 class Time; | |
33 | 32 |
34 namespace base { | 33 namespace base { |
35 class Thread; | 34 class Thread; |
| 35 class Time; |
36 } | 36 } |
37 | 37 |
38 // The SavePackage object manages the process of saving a page as only-html or | 38 // The SavePackage object manages the process of saving a page as only-html or |
39 // complete-html and providing the information for displaying saving status. | 39 // complete-html and providing the information for displaying saving status. |
40 // Saving page as only-html means means that we save web page to a single HTML | 40 // Saving page as only-html means means that we save web page to a single HTML |
41 // file regardless internal sub resources and sub frames. | 41 // file regardless internal sub resources and sub frames. |
42 // Saving page as complete-html page means we save not only the main html file | 42 // Saving page as complete-html page means we save not only the main html file |
43 // the user told it to save but also a directory for the auxiliary files such | 43 // the user told it to save but also a directory for the auxiliary files such |
44 // as all sub-frame html files, image files, css files and js files. | 44 // as all sub-frame html files, image files, css files and js files. |
45 // | 45 // |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 // from outside. | 307 // from outside. |
308 WaitState wait_state_; | 308 WaitState wait_state_; |
309 | 309 |
310 // Unique id for this SavePackage. | 310 // Unique id for this SavePackage. |
311 const int tab_id_; | 311 const int tab_id_; |
312 | 312 |
313 DISALLOW_COPY_AND_ASSIGN(SavePackage); | 313 DISALLOW_COPY_AND_ASSIGN(SavePackage); |
314 }; | 314 }; |
315 | 315 |
316 #endif // CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ | 316 #endif // CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ |
OLD | NEW |