Home
last modified time | relevance | path

Searched refs:suggested_name (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/chrome/browser/extensions/api/file_system/
Dfile_system_api_unittest.cc159 base::FilePath suggested_name; in TEST_F() local
163 FileSystemChooseEntryFunction::BuildSuggestion(&opt_name, &suggested_name, in TEST_F()
165 EXPECT_FALSE(suggested_name.IsAbsolute()); in TEST_F()
166 EXPECT_EQ(suggested_name.MaybeAsASCII(), "normal_path.txt"); in TEST_F()
171 FileSystemChooseEntryFunction::BuildSuggestion(&opt_name, &suggested_name, in TEST_F()
173 EXPECT_FALSE(suggested_name.IsAbsolute()); in TEST_F()
174 EXPECT_EQ(suggested_name.MaybeAsASCII(), "path"); in TEST_F()
181 FileSystemChooseEntryFunction::BuildSuggestion(&opt_name, &suggested_name, in TEST_F()
183 EXPECT_FALSE(suggested_name.IsAbsolute()); in TEST_F()
184 EXPECT_TRUE(suggested_name.MaybeAsASCII().empty()); in TEST_F()
Dfile_system_api.cc375 const base::FilePath& suggested_name, in FilePicker() argument
390 base::Unretained(this), suggested_name, 1, in FilePicker()
420 suggested_name, in FilePicker()
581 const base::FilePath& suggested_name, in SetInitialPathOnFileThread() argument
585 initial_path_ = previous_path.Append(suggested_name); in SetInitialPathOnFileThread()
589 initial_path_ = documents_dir.Append(suggested_name); in SetInitialPathOnFileThread()
591 initial_path_ = suggested_name; in SetInitialPathOnFileThread()
763 base::FilePath* suggested_name, in BuildSuggestion() argument
766 *suggested_name = base::FilePath::FromUTF8Unsafe(*opt_name); in BuildSuggestion()
771 *suggested_name = suggested_name->BaseName(); in BuildSuggestion()
[all …]
Dfile_system_api.h142 base::FilePath* suggested_name,
154 void SetInitialPathOnFileThread(const base::FilePath& suggested_name,
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
Dfile_browser_handler_api_test.cc35 TestCase(const base::FilePath& suggested_name, in TestCase()
39 : suggested_name(suggested_name), in TestCase()
47 base::FilePath suggested_name; member
73 MockFileSelector(const base::FilePath& suggested_name, in MockFileSelector() argument
77 : suggested_name_(suggested_name), in MockFileSelector()
87 const base::FilePath& suggested_name, in SelectFile() argument
92 EXPECT_EQ(suggested_name_, suggested_name); in SelectFile()
131 : suggested_name_(test_case.suggested_name), in MockFileSelectorFactory()
Dfile_browser_handler_api.cc115 const base::FilePath& suggested_name,
138 bool StartSelectFile(const base::FilePath& suggested_name,
170 const base::FilePath& suggested_name, in SelectFile() argument
178 if (!StartSelectFile(suggested_name, allowed_extensions, browser)) { in SelectFile()
188 const base::FilePath& suggested_name, in StartSelectFile() argument
213 suggested_name, in StartSelectFile()
290 base::FilePath suggested_name(params->selection_params.suggested_name); in RunAsync() local
301 file_selector->SelectFile(suggested_name.BaseName(), in RunAsync()
Dfile_browser_handler_api.h57 const base::FilePath& suggested_name,
/external/chromium_org/net/base/
Dfilename_util_icu.cc49 const std::string& suggested_name, in GetSuggestedFilename() argument
56 suggested_name, in GetSuggestedFilename()
65 const std::string& suggested_name, in GenerateFileName() argument
72 suggested_name, in GenerateFileName()
Dfilename_util_unsafe.cc37 const std::string& suggested_name, in GenerateFileExtensionUnsafe() argument
44 suggested_name, in GenerateFileExtensionUnsafe()
Dfilename_util_internal.cc219 const std::string& suggested_name, in GetSuggestedFilenameImpl() argument
240 if (filename.empty() && !suggested_name.empty()) in GetSuggestedFilenameImpl()
241 filename = suggested_name; in GetSuggestedFilenameImpl()
295 const std::string& suggested_name, in GenerateFileNameImpl() argument
303 suggested_name, in GenerateFileNameImpl()
Dfilename_util.h62 const std::string& suggested_name,
71 const std::string& suggested_name,
Dfilename_util_internal.h44 const std::string& suggested_name,
55 const std::string& suggested_name,
Dfilename_util_unsafe.h24 const std::string& suggested_name,
/external/chromium_org/content/public/browser/
Ddownload_url_parameters.h93 void set_suggested_name(const base::string16& suggested_name) { in set_suggested_name() argument
94 save_info_.suggested_name = suggested_name; in set_suggested_name()
130 const base::string16& suggested_name() const { in suggested_name() function
131 return save_info_.suggested_name; in suggested_name()
Ddownload_save_info.h29 base::string16 suggested_name; member
/external/chromium_org/content/shell/renderer/test_runner/
Dweb_frame_test_proxy.h64 const blink::WebString& suggested_name) { in loadURLExternally() argument
65 base_proxy_->LoadURLExternally(frame, request, policy, suggested_name); in loadURLExternally()
66 Base::loadURLExternally(frame, request, policy, suggested_name); in loadURLExternally()
/external/chromium_org/base/
Dtracked_objects.cc271 ThreadData::ThreadData(const std::string& suggested_name) in ThreadData() argument
277 DCHECK_GE(suggested_name.size(), 0u); in ThreadData()
278 thread_name_ = suggested_name; in ThreadData()
319 void ThreadData::InitializeThreadContext(const std::string& suggested_name) { in InitializeThreadContext() argument
326 current_thread_data = new ThreadData(suggested_name); in InitializeThreadContext()
Dtracked_objects.h380 static void InitializeThreadContext(const std::string& suggested_name);
504 explicit ThreadData(const std::string& suggested_name);
/external/chromium_org/content/browser/renderer_host/
Drender_message_filter.h127 const base::string16& suggested_name,
211 const base::string16& suggested_name);
Drender_message_filter.cc859 const base::string16& suggested_name, in DownloadUrl() argument
862 save_info->suggested_name = suggested_name; in DownloadUrl()
893 const base::string16& suggested_name) { in OnDownloadUrl() argument
894 DownloadUrl(render_view_id, url, referrer, suggested_name, false); in OnDownloadUrl()
Drender_view_host_unittest.cc289 const base::string16& suggested_name, in DownloadUrl() argument
/external/chromium_org/ui/shell_dialogs/
Dselect_file_dialog_win.cc244 const std::wstring& suggested_name,
470 const std::wstring& suggested_name, in SaveFileAsWithFilter() argument
486 const base::FilePath suggested_path = base::FilePath(suggested_name); in SaveFileAsWithFilter()
487 if (!suggested_name.empty()) { in SaveFileAsWithFilter()
/external/chromium_org/ui/metro_viewer/
Dmetro_viewer_messages.h134 IPC_STRUCT_MEMBER(base::FilePath, suggested_name)
/external/chromium_org/content/browser/download/
Ddownload_manager_impl.cc117 save_info->suggested_name = params->suggested_name(); in BeginDownload()
Ddownload_resource_handler.cc241 info->save_info->suggested_name.clear(); in OnResponseStarted()
/external/chromium_org/win8/viewer/
Dmetro_viewer_process_host.cc271 params.suggested_name = default_path; in HandleSaveFileImpl()

12