/external/chromium_org/content/browser/download/ |
D | save_package.cc | 112 SavePackageRequestHandle(base::WeakPtr<SavePackage> save_package) in SavePackageRequestHandle() 130 base::WeakPtr<SavePackage> save_package_; 135 const base::FilePath::CharType SavePackage::kDefaultHtmlExtension[] = 142 SavePackage::SavePackage(WebContents* web_contents, in SavePackage() function in content::SavePackage 178 SavePackage::SavePackage(WebContents* web_contents) in SavePackage() function in content::SavePackage 205 SavePackage::SavePackage(WebContents* web_contents, in SavePackage() function in content::SavePackage 229 SavePackage::~SavePackage() { in ~SavePackage() 257 GURL SavePackage::GetUrlToBeSaved() { in GetUrlToBeSaved() 267 void SavePackage::Cancel(bool user_action) { in Cancel() 280 void SavePackage::InternalInit() { in InternalInit() [all …]
|
D | save_file_manager.h | 82 class SavePackage; variable 106 SavePackage* save_package); 123 SavePackage* package); 158 static SavePackage* GetSavePackageFromRenderIds(int render_process_id, 164 SavePackage* save_package); 167 SavePackage* UnregisterStartingRequest(const GURL& save_url, 171 SavePackage* LookupPackage(int save_id); 229 typedef base::hash_map<int, SavePackage*> SavePackageMap; 242 typedef base::hash_map<std::string, SavePackage*> StartingRequestsMap;
|
D | save_package.h | 37 class SavePackage; variable 54 class CONTENT_EXPORT SavePackage 55 : public base::RefCountedThreadSafe<SavePackage>, 58 public base::SupportsWeakPtr<SavePackage> { 82 explicit SavePackage(WebContents* web_contents); 87 SavePackage(WebContents* web_contents, 125 friend class base::RefCountedThreadSafe<SavePackage>; 135 SavePackage(WebContents* web_contents, 139 virtual ~SavePackage(); 335 DISALLOW_COPY_AND_ASSIGN(SavePackage);
|
D | save_package_browsertest.cc | 42 scoped_refptr<SavePackage> save_package(new SavePackage( in IN_PROC_BROWSER_TEST_F() 56 scoped_refptr<SavePackage> save_package(new SavePackage( in IN_PROC_BROWSER_TEST_F()
|
D | save_file_manager.cc | 67 SavePackage* save_package) { in RegisterStartingRequest() 80 SavePackage* SaveFileManager::UnregisterStartingRequest( in UnregisterStartingRequest() 94 SavePackage* save_package = sit->second; in UnregisterStartingRequest() 106 SavePackage* SaveFileManager::LookupPackage(int save_id) { in LookupPackage() 123 SavePackage* save_package) { in SaveURL() 160 SavePackage* package) { in RemoveSaveFile() 166 SavePackage* old_package = in RemoveSaveFile() 177 SavePackage* SaveFileManager::GetSavePackageFromRenderIds( in GetSavePackageFromRenderIds() 304 SavePackage* save_package = in OnStartSave() 318 SavePackage* old_save_package = UnregisterStartingRequest(info->url, in OnStartSave() [all …]
|
D | save_item.h | 15 class SavePackage; variable 30 SavePackage* package, 71 SavePackage* package() const { return package_; } in package() 108 SavePackage* package_;
|
D | save_package_unittest.cc | 75 SavePackage* save_package; in GetGeneratedFilename() 85 return SavePackage::EnsureHtmlExtension(name); in EnsureHtmlExtension() 90 return SavePackage::EnsureMimeExtension(name, content_mime_type); in EnsureMimeExtension() 105 save_package_success_ = new SavePackage(contents(), in SetUp() 116 save_package_fail_ = new SavePackage(contents(), in SetUp() 123 scoped_refptr<SavePackage> save_package_success_; 125 scoped_refptr<SavePackage> save_package_fail_; 253 uint32 max_path = SavePackage::GetMaxPathLengthForDirectory(save_dir); in TEST_F() 254 ASSERT_TRUE(SavePackage::GetSafePureFileName(save_dir, ext, max_path, in TEST_F() 400 scoped_refptr<SavePackage> save_package( in TEST_F() [all …]
|
D | save_item.cc | 18 SavePackage* package, in SaveItem()
|
/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_org/chrome/browser/download/ |
D | download_item_model.h | 14 class SavePackage; variable
|
/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_;
|