OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SaveItem
(Results
1 - 4
of
4
) sorted by null
/external/chromium/chrome/browser/download/
save_item.cc
14
// Constructor for
SaveItem
when creating each saving job.
15
SaveItem
::
SaveItem
(const GURL& url,
32
SaveItem
::~
SaveItem
() {
36
void
SaveItem
::Start() {
43
void
SaveItem
::UpdateSize(int64 bytes_so_far) {
52
void
SaveItem
::Update(int64 bytes_so_far) {
61
// this command. The SavePackage will each in-progress
SaveItem
's cancel
63
void
SaveItem
::Cancel()
[
all
...]
save_item.h
16
// One
SaveItem
per save file. This is the model class that stores all the
18
class
SaveItem
{
27
SaveItem
(const GURL& url,
32
~
SaveItem
();
49
// Update path for
SaveItem
, the actual file is renamed on the file thread.
101
// Flag indicates whether
SaveItem
has error while in saving process.
109
DISALLOW_COPY_AND_ASSIGN(
SaveItem
);
save_package.h
31
class
SaveItem
;
55
// saved. Each file is represented by a
SaveItem
, and all SaveItems are owned
116
void SaveCanceled(
SaveItem
* save_item);
195
SaveItem
* LookupItemInProcessBySaveId(int32 save_id);
196
void PutInProgressItemToSavedMap(
SaveItem
* save_item);
218
typedef base::hash_map<std::string,
SaveItem
*> SaveUrlItemMap;
259
typedef std::queue<
SaveItem
*> SaveItemQueue;
263
typedef base::hash_map<int32,
SaveItem
*> SavedItemMap;
save_package.cc
240
SaveItem
* save_item = waiting_item_queue_.front();
340
SaveItem
* save_item = new
SaveItem
(page_url_,
513
// create a
SaveItem
and store it in our in_progress list.
523
SaveItem
* save_item = it->second;
545
// We can not generate file name for this
SaveItem
, so we cancel the
547
// Otherwise, it means this
SaveItem
is sub-resource type, we treat it
558
// When saving page as only-HTML, we only have a
SaveItem
whose url
564
// rename the
SaveItem
.
573
// corresponding file to the file path which this
SaveItem
specifies
[
all
...]
Completed in 69 milliseconds