Home
last modified time | relevance | path

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

12

/external/chromium_org/content/browser/download/
Dsave_package.cc112 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 …]
Dsave_file_manager.h82 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;
Dsave_package.h37 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);
Dsave_package_browsertest.cc42 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()
Dsave_file_manager.cc67 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 …]
Dsave_item.h15 class SavePackage; variable
30 SavePackage* package,
71 SavePackage* package() const { return package_; } in package()
108 SavePackage* package_;
Dsave_package_unittest.cc75 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 …]
Dsave_item.cc18 SavePackage* package, in SaveItem()
/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_org/chrome/browser/download/
Ddownload_item_model.h14 class SavePackage; variable
/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_;

12