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

Side by Side Diff: components/offline_pages/downloads/download_ui_item.h

Issue 2489143002: Use new download notification strings (Closed)
Patch Set: merge waiting and pending state Created 4 years, 1 month 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 COMPONENTS_OFFLINE_PAGES_DOWNLOADS_DOWNLOAD_UI_ITEM_H_ 5 #ifndef COMPONENTS_OFFLINE_PAGES_DOWNLOADS_DOWNLOAD_UI_ITEM_H_
6 #define COMPONENTS_OFFLINE_PAGES_DOWNLOADS_DOWNLOAD_UI_ITEM_H_ 6 #define COMPONENTS_OFFLINE_PAGES_DOWNLOADS_DOWNLOAD_UI_ITEM_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 26 matching lines...) Expand all
37 base::string16 title; 37 base::string16 title;
38 38
39 // The file path to the archive with a local copy of the page. 39 // The file path to the archive with a local copy of the page.
40 base::FilePath target_path; 40 base::FilePath target_path;
41 41
42 // The time when the offline archive was created. 42 // The time when the offline archive was created.
43 base::Time start_time; 43 base::Time start_time;
44 44
45 // The size of the offline copy. 45 // The size of the offline copy.
46 int64_t total_bytes; 46 int64_t total_bytes;
47
48 // Whether the page is currently being offlined.
49 bool is_offlining;
47 }; 50 };
48 51
49 } // namespace offline_pages 52 } // namespace offline_pages
50 53
51 #endif // COMPONENTS_OFFLINE_PAGES_DOWNLOADS_DOWNLOAD_UI_ITEM_H_ 54 #endif // COMPONENTS_OFFLINE_PAGES_DOWNLOADS_DOWNLOAD_UI_ITEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698