/external/chromium_org/chrome/browser/extensions/api/image_writer_private/ |
write_from_url_operation.h | 43 virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE;
|
write_from_url_operation.cc | 88 DVLOG(1) << "Starting download of URL: " << url_; 133 "Download failed: *", 140 void WriteFromUrlOperation::OnDownloadUpdated(content::DownloadItem* download) { 147 SetProgress(download->PercentComplete()); 149 if (download->GetState() == content::DownloadItem::COMPLETE) { 160 } else if (download->GetState() == content::DownloadItem::INTERRUPTED) { 162 } else if (download->GetState() == content::DownloadItem::CANCELLED) { 169 DVLOG(1) << "Download complete."; 209 DVLOG(1) << "Download verification started."; 250 DVLOG(1) << "Download verification complete." [all...] |
/external/chromium_org/chrome/browser/extensions/ |
webstore_installer.cc | 24 #include "chrome/browser/download/download_crx_util.h" 25 #include "chrome/browser/download/download_prefs.h" 26 #include "chrome/browser/download/download_stats.h" 75 const char kDownloadDirectoryError[] = "Could not create download directory"; 76 const char kDownloadCanceledError[] = "Download canceled"; 78 const char kDownloadInterruptedError[] = "Download interrupted"; 80 "Download was not a valid extension or user script"; 109 // Ensure the download directory exists. TODO(asargent) - make this use 120 // filename and when the download starts writing to it (think concurrently 249 const DownloadItem& download) { [all...] |
webstore_installer.h | 50 // is different, download referrers are the item's page in the gallery). 92 // download was initiated by WebstoreInstaller. The Approval instance should 131 // installation, the dialog is shown earlier, before any download is done, 161 // Gets the Approval associated with the |download|, or NULL if there's none. 162 // Note that the Approval is owned by |download|. 164 const content::DownloadItem& download); 169 // use the specified |controller| to download the extension. Only one 192 // Instead of using the default download directory, use |directory| instead. 211 virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE; 212 virtual void OnDownloadDestroyed(content::DownloadItem* download) OVERRIDE [all...] |
/external/chromium_org/chrome/browser/ui/gtk/download/ |
download_shelf_context_menu_gtk.cc | 5 #include "chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.h" 8 #include "chrome/browser/download/download_item_model.h" 9 #include "chrome/browser/ui/gtk/download/download_item_gtk.h" 16 : DownloadShelfContextMenu(download_item->download(), navigator),
|
download_item_gtk.cc | 5 #include "chrome/browser/ui/gtk/download/download_item_gtk.h" 16 #include "chrome/browser/download/chrome_download_manager_delegate.h" 17 #include "chrome/browser/download/download_item_model.h" 18 #include "chrome/browser/download/download_stats.h" 21 #include "chrome/browser/ui/gtk/download/download_item_drag.h" 22 #include "chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.h" 23 #include "chrome/browser/ui/gtk/download/download_shelf_gtk.h" 48 // Padding on left and right of items in dangerous download prompt. 51 // Minimum width of the dangerous download message at which we will start 62 // The minimum width we will ever draw the download item. Used as a lower boun [all...] |
/external/chromium_org/content/shell/browser/ |
shell_download_manager_delegate.h | 26 DownloadItem* download, 33 // Inhibits prompting and sets the default download path.
|
/external/chromium_org/sync/engine/ |
syncer.cc | 16 #include "sync/engine/download.h" 65 base::Bind(&download::BuildNormalDownloadUpdates, 90 base::Bind(&download::BuildDownloadUpdatesForConfigure, 105 base::Bind(&download::BuildDownloadUpdatesForPoll, 139 download::ExecuteDownloadUpdates(request_types, session, &msg);
|
/external/qemu/android/ |
android.h | 39 int download; member in struct:__anon24619
|
/ndk/build/tools/ |
make-release.sh | 202 # Step 1, If needed, download toolchain sources into a temporary directory 205 timestamp_set toolchain-download-sources 207 if timestamp_check toolchain-download-sources; then 211 run $ANDROID_NDK_ROOT/build/tools/download-toolchain-sources.sh "$TOOLCHAIN_SRCDIR" 213 dump "ERROR: Could not download toolchain sources" 216 timestamp_set toolchain-download-sources
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DownloadUtils.java | 38 return download(jc, url, fos); 66 public static boolean download(JobContext jc, URL url, OutputStream output) { method in class:DownloadUtils 73 Log.w(TAG, "fail to download", t);
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
ThreadingTest.java | 34 * Download manager tests that require multithreading. 50 * a download. 54 Download download = enqueueRequest(getRequest()); local 55 while (download.getStatus() != DownloadManager.STATUS_SUCCESSFUL) { 62 final List<Pair<Download, String>> downloads = Lists.newArrayList(); 66 final String body = "DOWNLOAD " + i + " CONTENTS"; 71 final Download d = enqueueRequest(getRequest()); 79 for (Pair<Download,String> d : downloads) { 86 for (Pair<Download, String> d : downloads) [all...] |
/external/chromium_org/chrome/browser/ui/views/download/ |
download_item_view.h | 5 // A ChromeView that implements one download on the Download shelf. 7 // indicating the download's file name, a text label indicating the 8 // download's status (such as the number of bytes downloaded so far) 9 // and a button for canceling an in progress download, or opening 10 // the completed download. 27 #include "chrome/browser/download/download_item_model.h" 58 DownloadItemView(content::DownloadItem* download, DownloadShelfView* parent); 70 content::DownloadItem* download() { return model_.download(); } function in class:DownloadItemView [all...] |
download_shelf_view.cc | 5 #include "chrome/browser/ui/views/download/download_shelf_view.h" 12 #include "chrome/browser/download/download_item_model.h" 13 #include "chrome/browser/download/download_stats.h" 18 #include "chrome/browser/ui/views/download/download_item_view.h" 37 // Max number of download views we'll contain. Any time a view is added and 38 // we already have this many download views, one is removed. 41 // Padding from left edge and first download view. 50 // Padding between the download views. 62 // New download item animation speed in milliseconds. 70 // download is most likely going to trigger a new window to appear over th 401 DownloadItem* download = download_views_[i]->download(); local [all...] |
download_item_view.cc | 5 #include "chrome/browser/ui/views/download/download_item_view.h" 21 #include "chrome/browser/download/chrome_download_manager_delegate.h" 22 #include "chrome/browser/download/download_item_model.h" 23 #include "chrome/browser/download/download_stats.h" 24 #include "chrome/browser/download/drag_download_item.h" 29 #include "chrome/browser/ui/views/download/download_shelf_context_menu_view.h" 30 #include "chrome/browser/ui/views/download/download_shelf_view.h" 51 // TODO(paulg): These may need to be adjusted when download progress 65 // download. 68 // The space on the left and right side of the dangerous download label [all...] |
/external/chromium/chrome/browser/ui/views/download/ |
download_shelf_view.cc | 5 #include "chrome/browser/ui/views/download/download_shelf_view.h" 11 #include "chrome/browser/download/download_item.h" 12 #include "chrome/browser/download/download_item_model.h" 13 #include "chrome/browser/download/download_manager.h" 17 #include "chrome/browser/ui/views/download/download_item_view.h" 30 // Max number of download views we'll contain. Any time a view is added and 31 // we already have this many download views, one is removed. 34 // Padding from left edge and first download view. 43 // Padding between the download views. 55 // New download item animation speed in milliseconds 396 DownloadItem* download = download_views_[i]->download(); local [all...] |
/external/chromium_org/chrome/browser/download/ |
download_item_model.cc | 5 #include "chrome/browser/download/download_item_model.h" 15 #include "chrome/browser/download/chrome_download_manager_delegate.h" 16 #include "chrome/browser/download/download_crx_util.h" 17 #include "chrome/browser/download/download_service.h" 18 #include "chrome/browser/download/download_service_factory.h" 19 #include "chrome/browser/download/download_stats.h" 41 // Get the DownloadItemModelData object for |download|. Returns NULL if 43 static const DownloadItemModelData* Get(const DownloadItem* download); 45 // Get the DownloadItemModelData object for |download|. Creates a model data 47 static DownloadItemModelData* GetOrCreate(DownloadItem* download); [all...] |
save_package_file_picker.cc | 5 #include "chrome/browser/download/save_package_file_picker.h" 14 #include "chrome/browser/download/chrome_download_manager_delegate.h" 15 #include "chrome/browser/download/download_prefs.h" 72 void OnSavePackageDownloadCreated(content::DownloadItem* download) { 73 ChromeDownloadManagerDelegate::DisableSafeBrowsing(download); 80 content::DownloadItem* download) { 82 drive_path, download); 83 OnSavePackageDownloadCreated(download); 254 UMA_HISTOGRAM_ENUMERATION("Download.SavePageType",
|
/build/tools/droiddoc/templates-ds/ |
sdkpage.cs | 37 else ?>Download the SDK<?cs /if ?> 57 <p><a href="/sdk/index.html">Download the current Android SDK</a></p> 79 <table class="download" id="download-table"> 123 $("#downloadForRealz").html("Download " + $(link).text()); 128 location.hash = "download"; 195 >DOWNLOAD FOR OTHER PLATFORMS</a></h4> 202 <table class="download"> 258 <table class="download"> 343 /* set up primary adt download button * [all...] |
/build/tools/droiddoc/templates-sac/ |
sdkpage.cs | 36 else ?>Download the SDK<?cs /if ?> 56 <p><a href="/sdk/index.html">Download the current Android SDK</a></p> 78 <table class="download" id="download-table"> 122 $("#downloadForRealz").html("Download " + $(link).text()); 127 location.hash = "download"; 194 >DOWNLOAD FOR OTHER PLATFORMS</a></h4> 201 <table class="download"> 257 <table class="download"> 342 /* set up primary adt download button * [all...] |
/external/chromium_org/chrome/browser/automation/ |
automation_provider.cc | 287 const DownloadItem* download, bool incognito) { 289 switch (download->GetState()) { 312 switch (download->GetDangerType()) { 350 dl_item_value->SetInteger("id", static_cast<int>(download->GetId())); 351 dl_item_value->SetString("url", download->GetURL().spec()); 352 dl_item_value->SetString("referrer_url", download->GetReferrerUrl().spec()); 354 download->GetFileNameToReportUser().value()); 356 download->GetTargetFilePath().value()); 357 dl_item_value->SetBoolean("is_paused", download->IsPaused()); 359 download->GetOpenWhenComplete()) [all...] |
/external/chromium_org/content/browser/download/ |
download_manager_impl.h | 18 #include "content/browser/download/download_item_impl_delegate.h" 46 // Creates a download item for the SavePackage system. 133 // Get next download id. |callback| is called on the UI thread and may 157 virtual void OpenDownload(DownloadItemImpl* download) OVERRIDE; 158 virtual void ShowDownloadInShell(DownloadItemImpl* download) OVERRIDE; 159 virtual void DownloadRemoved(DownloadItemImpl* download) OVERRIDE; 164 // Factory for the creation of download files. 175 // True if the download manager has been initialized and requires a shutdown.
|
/external/chromium/chrome/browser/ui/gtk/download/ |
download_shelf_gtk.cc | 5 #include "chrome/browser/ui/gtk/download/download_shelf_gtk.h" 9 #include "chrome/browser/download/download_item.h" 10 #include "chrome/browser/download/download_item_model.h" 11 #include "chrome/browser/download/download_util.h" 15 #include "chrome/browser/ui/gtk/download/download_item_gtk.h" 32 // The height of the download items. 35 // Padding between the download widgets. 38 // Padding between the top/bottom of the download widgets and the edge of the 42 // Padding between the left side of the shelf and the first download item. 51 // The time between when the user mouses out of the download shelf zone an 206 DownloadItem* download = download_items_[i]->get_download(); local [all...] |
download_item_gtk.h | 15 #include "chrome/browser/download/download_item.h" 51 virtual void OnDownloadUpdated(DownloadItem* download); 52 virtual void OnDownloadOpened(DownloadItem* download) { } 75 // Returns true IFF the download is dangerous and unconfirmed. 79 // Repaint the download progress. 91 // Sets the tooltip on the download button. 116 // Used for the download item's body and menu button in chrome theme mode. 127 // Used for the download icon. 134 // Dangerous download related. ----------------------------------------------- 150 // Ninebox for the background of the dangerous download prompt [all...] |
/external/chromium/chrome/browser/download/ |
download_shelf.cc | 5 #include "chrome/browser/download/download_shelf.h" 8 #include "chrome/browser/download/download_item.h" 9 #include "chrome/browser/download/download_item_model.h" 10 #include "chrome/browser/download/download_manager.h" 11 #include "chrome/browser/download/download_util.h" 22 : download_(download_model->download()), 29 DownloadItem* DownloadShelfContextMenu::download() const { function in class:DownloadShelfContextMenu 102 // It is possible for the download to complete before the user clicks the 103 // menu item, recheck if the download is in progress state before toggling
|