/external/chromium/chrome/browser/download/ |
D | save_package.cc | 105 const SavePackage::SavePackageType kIndexToSaveType[] = { 106 SavePackage::SAVE_TYPE_UNKNOWN, 107 SavePackage::SAVE_AS_ONLY_HTML, 108 SavePackage::SAVE_AS_COMPLETE_HTML, 116 int SavePackageTypeToIndex(SavePackage::SavePackageType type) { in SavePackageTypeToIndex() 156 SavePackage::SavePackage(TabContents* tab_contents, in SavePackage() function in SavePackage 186 SavePackage::SavePackage(TabContents* tab_contents) in SavePackage() function in SavePackage 208 SavePackage::SavePackage(TabContents* tab_contents, in SavePackage() function in SavePackage 227 SavePackage::~SavePackage() { in ~SavePackage() 261 GURL SavePackage::GetUrlToBeSaved() { in GetUrlToBeSaved() [all …]
|
D | save_file_manager.h | 75 class SavePackage; variable 103 SavePackage* save_package); 120 SavePackage* package); 161 static SavePackage* GetSavePackageFromRenderIds(int render_process_id, 167 SavePackage* save_package); 170 SavePackage* UnregisterStartingRequest(const GURL& save_url, 174 SavePackage* LookupPackage(int save_id); 234 typedef base::hash_map<int, SavePackage*> SavePackageMap; 247 typedef base::hash_map<std::string, SavePackage*> StartingRequestsMap;
|
D | save_package.h | 32 class SavePackage; variable 58 class SavePackage : public base::RefCountedThreadSafe<SavePackage>, 91 explicit SavePackage(TabContents* tab_contents); 96 SavePackage(TabContents* tab_contents, 151 friend class base::RefCountedThreadSafe<SavePackage>; 154 SavePackage(TabContents* tab_contents, 158 ~SavePackage(); 327 ScopedRunnableMethodFactory<SavePackage> method_factory_; 329 DISALLOW_COPY_AND_ASSIGN(SavePackage);
|
D | save_package_unittest.cc | 74 SavePackage* save_package; in GetGeneratedFilename() 84 return SavePackage::EnsureHtmlExtension(name); in EnsureHtmlExtension() 89 return SavePackage::EnsureMimeExtension(name, content_mime_type); in EnsureMimeExtension() 104 save_package_success_ = new SavePackage(contents(), in SetUp() 115 save_package_fail_ = new SavePackage(contents(), in SetUp() 122 scoped_refptr<SavePackage> save_package_success_; 124 scoped_refptr<SavePackage> save_package_fail_; 240 uint32 max_path = SavePackage::GetMaxPathLengthForDirectory(save_dir); in TEST_F() 241 ASSERT_TRUE(SavePackage::GetSafePureFileName(save_dir, ext, max_path, in TEST_F() 386 scoped_refptr<SavePackage> save_package( in TEST_F() [all …]
|
D | save_file_manager.cc | 73 SavePackage* save_package) { in RegisterStartingRequest() 85 SavePackage* SaveFileManager::UnregisterStartingRequest( in UnregisterStartingRequest() 98 SavePackage* save_package = sit->second; in UnregisterStartingRequest() 110 SavePackage* SaveFileManager::LookupPackage(int save_id) { in LookupPackage() 127 SavePackage* save_package) { in SaveURL() 169 SavePackage* package) { in RemoveSaveFile() 175 SavePackage* old_package = UnregisterStartingRequest(save_url, in RemoveSaveFile() 188 SavePackage* SaveFileManager::GetSavePackageFromRenderIds( in GetSavePackageFromRenderIds() 303 SavePackage* save_package = in OnStartSave() 317 SavePackage* old_save_package = UnregisterStartingRequest(info->url, in OnStartSave() [all …]
|
D | save_item.h | 14 class SavePackage; variable 29 SavePackage* package, 70 SavePackage* package() const { return package_; } in package() 107 SavePackage* package_;
|
D | download_item_model.h | 15 class SavePackage; variable 60 SavePageModel(SavePackage* save, DownloadItem* download); 71 SavePackage* save_;
|
D | save_page_browsertest.cc | 69 full_file_name, dir, SavePackage::SAVE_AS_ONLY_HTML)); in IN_PROC_BROWSER_TEST_F() 98 full_file_name, dir, SavePackage::SAVE_AS_ONLY_HTML)); in IN_PROC_BROWSER_TEST_F() 124 full_file_name, dir, SavePackage::SAVE_AS_COMPLETE_HTML)); in IN_PROC_BROWSER_TEST_F() 166 full_file_name, dir, SavePackage::SAVE_AS_COMPLETE_HTML)); in IN_PROC_BROWSER_TEST_F()
|
D | save_item.cc | 17 SavePackage* package, in SaveItem()
|
D | download_item_model.cc | 102 SavePageModel::SavePageModel(SavePackage* save, DownloadItem* download) in SavePageModel()
|
D | download_prefs.cc | 52 SavePackage::SAVE_AS_COMPLETE_HTML); in RegisterUserPrefs()
|
/external/chromium/chrome/browser/ui/download/ |
D | download_tab_helper.cc | 24 if (!SavePackage::IsSavableContents(tab_contents()->contents_mime_type())) { in OnSavePage() 40 save_package_ = new SavePackage(tab_contents()); in OnSavePage() 54 SavePackage::SavePackageType save_type) { in SavePage() 59 new SavePackage(tab_contents(), save_type, main_file, dir_path); in SavePage()
|
D | download_tab_helper.h | 31 SavePackage::SavePackageType save_type); 34 SavePackage* save_package() const { return save_package_.get(); } in save_package() 41 scoped_refptr<SavePackage> save_package_;
|
/external/chromium/chrome/browser/ui/cocoa/applescript/ |
D | tab_applescript.mm | 257 SavePackage::SavePackageType savePackageType = 258 SavePackage::SAVE_AS_COMPLETE_HTML; 261 savePackageType = SavePackage::SAVE_AS_ONLY_HTML; 263 savePackageType = SavePackage::SAVE_AS_COMPLETE_HTML;
|
/external/chromium/chrome/browser/ |
D | browser_encoding_uitest.cc | 149 SavePackage::SAVE_AS_COMPLETE_HTML)); in TEST_F() 294 SavePackage::SAVE_AS_COMPLETE_HTML)); in TEST_F()
|
/external/chromium/chrome/browser/tab_contents/ |
D | tab_contents.h | 188 SavePackage* save_package() const { return save_package_.get(); } in save_package() 589 SavePackage::SavePackageType save_type); 592 void SetSavePackage(SavePackage* save_package); 1099 scoped_refptr<SavePackage> save_package_;
|
D | render_view_context_menu.cc | 1001 return SavePackage::IsSavableURL( in IsCommandIdEnabled()
|
/external/chromium/chrome/browser/automation/ |
D | automation_provider_observers.h | 50 class SavePackage; variable 1060 SavePackageNotificationObserver(SavePackage* save_package,
|
D | testing_automation_provider.cc | 1479 SavePackage::SavePackageType save_type = in SavePage() 1480 static_cast<SavePackage::SavePackageType>(type); in SavePage() 1481 if (save_type < SavePackage::SAVE_AS_ONLY_HTML || in SavePage() 1482 save_type > SavePackage::SAVE_AS_COMPLETE_HTML) { in SavePage() 1980 SavePackage::SetShouldPromptUser(should_prompt); in SavePackageShouldPromptUser() 3272 SavePackage::SAVE_AS_ONLY_HTML)) { in SaveTabContents()
|
D | automation_provider_observers.cc | 1735 SavePackage* save_package, in SavePackageNotificationObserver() 1740 Source<SavePackage> source(save_package); in SavePackageNotificationObserver()
|
/external/chromium/chrome/browser/ui/ |
D | browser.cc | 3740 !is_chrome_internal && SavePackage::IsSavableContents( in UpdateCommandsForTabState() 3762 if (!SavePackage::IsSavableURL(active_entry ? active_entry->url() : GURL())) in UpdateCommandsForContentRestrictionState()
|