HomeSort by relevance Sort by last modified time
    Searched refs:download_item_ (Results 1 - 11 of 11) sorted by null

  /external/chromium_org/chrome/browser/download/
download_shelf_context_menu.cc 43 : download_item_(download_item),
45 DCHECK(download_item_);
46 download_item_->AddObserver(this);
52 if (!download_item_)
55 DownloadItemModel download_model(download_item_);
62 else if (download_item_->GetState() == DownloadItem::COMPLETE)
64 else if (download_item_->GetState() == DownloadItem::INTERRUPTED)
72 if (!download_item_)
77 return download_item_->CanShowInFolder();
79 return download_item_->CanOpenDownload() &
    [all...]
download_shelf_unittest.cc 42 return download_item_.get();
67 scoped_ptr<content::MockDownloadItem> download_item_; member in class:__anon7137::DownloadShelfTest
76 download_item_.reset(new ::testing::NiceMock<content::MockDownloadItem>());
77 ON_CALL(*download_item_, GetAutoOpened()).WillByDefault(Return(false));
78 ON_CALL(*download_item_, GetMimeType()).WillByDefault(Return("text/plain"));
79 ON_CALL(*download_item_, GetOpenWhenComplete()).WillByDefault(Return(false));
80 ON_CALL(*download_item_, GetTargetDisposition())
82 ON_CALL(*download_item_, GetURL())
84 ON_CALL(*download_item_, GetState())
86 ON_CALL(*download_item_, IsTemporary()).WillByDefault(Return(false))
    [all...]
download_shelf_context_menu.h 41 content::DownloadItem* download_item() const { return download_item_; }
62 // Detaches self from |download_item_|. Called when the DownloadItem is
82 content::DownloadItem* download_item_; member in class:DownloadShelfContextMenu
download_path_reservation_tracker.cc 64 DownloadItem* download_item_; member in class:__anon7130::DownloadItemObserver
282 : download_item_(download_item),
285 download_item_->AddObserver(this);
289 download_item_->RemoveObserver(this);
  /external/chromium_org/chrome/browser/chromeos/drive/
download_handler_unittest.cc 77 EXPECT_CALL(download_item_, GetState())
93 content::MockDownloadItem download_item_; member in class:drive::DownloadHandlerTest
104 &download_item_,
110 EXPECT_FALSE(download_handler_->IsDriveDownload(&download_item_));
124 &download_item_,
130 ASSERT_TRUE(download_handler_->IsDriveDownload(&download_item_));
131 EXPECT_EQ(drive_path, download_handler_->GetTargetPath(&download_item_));
146 &download_item_,
166 &download_item_,
172 ASSERT_TRUE(download_handler_->IsDriveDownload(&download_item_));
    [all...]
  /external/chromium_org/content/browser/download/
drag_download_file.cc 47 download_item_(NULL),
76 if (download_item_)
77 download_item_->Cancel(true);
88 if (download_item_)
89 download_item_->RemoveObserver(this);
100 download_item_ = item;
101 download_item_->AddObserver(this);
107 DCHECK_EQ(download_item_, item);
108 DownloadItem::DownloadState state = download_item_->GetState();
117 download_item_->RemoveObserver(this)
143 DownloadItem* download_item_; member in class:content::DragDownloadFile::DragDownloadFileUI
    [all...]
  /external/chromium_org/chrome/browser/extensions/
webstore_installer.cc 209 download_item_(NULL),
260 if (extension == NULL && download_item_ != NULL &&
261 installer->download_url() == download_item_->GetURL() &&
308 if (download_item_) {
309 download_item_->RemoveObserver(this);
310 download_item_ = NULL;
323 download_item_ = item;
324 download_item_->AddObserver(this);
326 download_item_->SetUserData(kApprovalKey, approval_.release());
328 delegate_->OnExtensionDownloadStarted(id_, download_item_);
    [all...]
webstore_installer.h 193 content::DownloadItem* download_item_; member in class:extensions::WebstoreInstaller
  /external/chromium/chrome/browser/ui/gtk/
custom_drag.cc 80 download_item_(item) {
90 OnDragDataGetForDownloadItem(selection_data, target_type, download_item_);
custom_drag.h 79 const DownloadItem* download_item_; member in class:DownloadItemDrag
  /external/chromium/chrome/browser/ui/gtk/download/
download_item_gtk.cc 94 download_item_(download_item) {
117 download_item_->menu_showing_ = false;
118 gtk_widget_queue_draw(download_item_->menu_button_);
150 DownloadItemGtk* download_item_; member in class:DownloadShelfContextMenuGtk
    [all...]

Completed in 817 milliseconds