Lines Matching defs:SavePackage
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) {
156 SavePackage::SavePackage(TabContents* tab_contents,
186 SavePackage::SavePackage(TabContents* tab_contents)
208 SavePackage::SavePackage(TabContents* tab_contents,
227 SavePackage::~SavePackage() {
261 GURL SavePackage::GetUrlToBeSaved() {
273 void SavePackage::Cancel(bool user_action) {
285 void SavePackage::InternalInit() {
299 // Initialize the SavePackage.
300 bool SavePackage::Init() {
358 uint32 SavePackage::GetMaxPathLengthForDirectory(const FilePath& base_dir) {
385 bool SavePackage::GetSafePureFileName(const FilePath& dir_path,
413 bool SavePackage::GenerateFileName(const std::string& disposition,
514 void SavePackage::StartSave(const SaveFileCreateInfo* info) {
594 SaveItem* SavePackage::LookupItemInProcessBySaveId(int32 save_id) {
608 void SavePackage::PutInProgressItemToSavedMap(SaveItem* save_item) {
629 bool SavePackage::UpdateSaveProgress(int32 save_id,
650 void SavePackage::Stop() {
695 void SavePackage::CheckFinish() {
723 // Successfully finished all items of this SavePackage.
724 void SavePackage::Finish() {
750 Source<SavePackage>(this),
755 void SavePackage::SaveFinished(int32 save_id, int64 size, bool is_success) {
764 // Remove the associated save id and SavePackage.
798 void SavePackage::SaveFailed(const GURL& save_url) {
831 void SavePackage::SaveCanceled(SaveItem* save_item) {
848 void SavePackage::SaveNextFile(bool process_all_remaining_items) {
877 void SavePackage::ShowDownloadInShell() {
894 int SavePackage::PercentComplete() {
905 void SavePackage::DoSavingProcess() {
943 bool SavePackage::OnMessageReceived(const IPC::Message& message) {
945 IPC_BEGIN_MESSAGE_MAP(SavePackage, message)
959 void SavePackage::GetSerializedHtmlDataForCurrentPageWithLocalLinks() {
1003 void SavePackage::OnReceivedSerializedHtmlData(const GURL& frame_url,
1072 void SavePackage::GetAllSavableResourceLinksForCurrentPage() {
1084 void SavePackage::OnReceivedSavableResourceLinksForCurrentPage(
1126 void SavePackage::SetShouldPromptUser(bool should_prompt) {
1130 FilePath SavePackage::GetSuggestedNameForSaveAs(
1176 FilePath SavePackage::EnsureHtmlExtension(const FilePath& name) {
1191 FilePath SavePackage::EnsureMimeExtension(const FilePath& name,
1209 const FilePath::CharType* SavePackage::ExtensionForMimeType(
1238 FilePath SavePackage::GetSaveDirPreference(PrefService* prefs) {
1257 void SavePackage::GetSaveInfo() {
1268 NewRunnableMethod(this, &SavePackage::CreateDirectoryOnFileThread,
1272 void SavePackage::CreateDirectoryOnFileThread(
1310 NewRunnableMethod(this, &SavePackage::ContinueGetSaveInfo, save_dir,
1314 void SavePackage::ContinueGetSaveInfo(const FilePath& suggested_path,
1316 // The TabContents which owns this SavePackage may have disappeared during
1403 void SavePackage::ContinueSave(const FilePath& final_name,
1435 if (save_type_ == SavePackage::SAVE_AS_COMPLETE_HTML) {
1446 bool SavePackage::IsSavableURL(const GURL& url) {
1456 bool SavePackage::IsSavableContents(const std::string& contents_mime_type) {
1468 void SavePackage::FileSelected(const FilePath& path,
1473 void SavePackage::FileSelectionCanceled(void* params) {