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

Side by Side Diff: content/browser/download/save_package.h

Issue 1875463002: Remove unused fields from //content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scythe-root
Patch Set: Reverting not really needed changes under //gpu. Created 4 years, 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_
6 #define CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 373
374 // The title of the page the user wants to save. 374 // The title of the page the user wants to save.
375 base::string16 title_; 375 base::string16 title_;
376 376
377 // Used to calculate package download speed (in files per second). 377 // Used to calculate package download speed (in files per second).
378 base::TimeTicks start_tick_; 378 base::TimeTicks start_tick_;
379 379
380 // Indicates whether the actual saving job is finishing or not. 380 // Indicates whether the actual saving job is finishing or not.
381 bool finished_; 381 bool finished_;
382 382
383 // Indicates whether a call to Finish() has been scheduled.
384 bool mhtml_finishing_;
385
386 // Indicates whether user canceled the saving job. 383 // Indicates whether user canceled the saving job.
387 bool user_canceled_; 384 bool user_canceled_;
388 385
389 // Indicates whether user get disk error. 386 // Indicates whether user get disk error.
390 bool disk_error_occurred_; 387 bool disk_error_occurred_;
391 388
392 // Type about saving page as only-html or complete-html. 389 // Type about saving page as only-html or complete-html.
393 SavePageType save_type_; 390 SavePageType save_type_;
394 391
395 // Number of all need to be saved resources. 392 // Number of all need to be saved resources.
(...skipping 26 matching lines...) Expand all
422 friend class SavePackageTest; 419 friend class SavePackageTest;
423 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestSuggestedSaveNames); 420 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestSuggestedSaveNames);
424 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestLongSafePureFilename); 421 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestLongSafePureFilename);
425 422
426 DISALLOW_COPY_AND_ASSIGN(SavePackage); 423 DISALLOW_COPY_AND_ASSIGN(SavePackage);
427 }; 424 };
428 425
429 } // namespace content 426 } // namespace content
430 427
431 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ 428 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_
OLDNEW
« no previous file with comments | « content/browser/download/download_manager_impl.cc ('k') | content/browser/download/save_package.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698