Home
last modified time | relevance | path

Searched refs:SavePackage (Results 1 – 21 of 21) sorted by relevance

/external/chromium/chrome/browser/download/
Dsave_package.cc105 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 …]
Dsave_file_manager.h75 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;
Dsave_package.h32 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);
Dsave_package_unittest.cc74 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 …]
Dsave_file_manager.cc73 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 …]
Dsave_item.h14 class SavePackage; variable
29 SavePackage* package,
70 SavePackage* package() const { return package_; } in package()
107 SavePackage* package_;
Ddownload_item_model.h15 class SavePackage; variable
60 SavePageModel(SavePackage* save, DownloadItem* download);
71 SavePackage* save_;
Dsave_page_browsertest.cc69 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()
Dsave_item.cc17 SavePackage* package, in SaveItem()
Ddownload_item_model.cc102 SavePageModel::SavePageModel(SavePackage* save, DownloadItem* download) in SavePageModel()
Ddownload_prefs.cc52 SavePackage::SAVE_AS_COMPLETE_HTML); in RegisterUserPrefs()
/external/chromium/chrome/browser/ui/download/
Ddownload_tab_helper.cc24 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()
Ddownload_tab_helper.h31 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/
Dtab_applescript.mm257 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/
Dbrowser_encoding_uitest.cc149 SavePackage::SAVE_AS_COMPLETE_HTML)); in TEST_F()
294 SavePackage::SAVE_AS_COMPLETE_HTML)); in TEST_F()
/external/chromium/chrome/browser/tab_contents/
Dtab_contents.h188 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_;
Drender_view_context_menu.cc1001 return SavePackage::IsSavableURL( in IsCommandIdEnabled()
/external/chromium/chrome/browser/automation/
Dautomation_provider_observers.h50 class SavePackage; variable
1060 SavePackageNotificationObserver(SavePackage* save_package,
Dtesting_automation_provider.cc1479 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()
Dautomation_provider_observers.cc1735 SavePackage* save_package, in SavePackageNotificationObserver()
1740 Source<SavePackage> source(save_package); in SavePackageNotificationObserver()
/external/chromium/chrome/browser/ui/
Dbrowser.cc3740 !is_chrome_internal && SavePackage::IsSavableContents( in UpdateCommandsForTabState()
3762 if (!SavePackage::IsSavableURL(active_entry ? active_entry->url() : GURL())) in UpdateCommandsForContentRestrictionState()