Home
last modified time | relevance | path

Searched refs:file_url (Results 1 – 13 of 13) sorted by relevance

/external/chromium/webkit/glue/
Ddom_serializer_unittest.cc289 GURL file_url = net::FilePathToFileURL(page_file_path); in TEST_F() local
290 ASSERT_TRUE(file_url.SchemeIsFile()); in TEST_F()
292 LoadPageFromURL(file_url); in TEST_F()
294 WebFrame* web_frame = FindSubFrameByURL(test_shell_->webView(), file_url); in TEST_F()
299 SerializeDomForURL(file_url, false); in TEST_F()
301 ASSERT_TRUE(HasSerializedFrame(file_url)); in TEST_F()
303 GetSerializedContentForFrame(file_url); in TEST_F()
304 LoadContents(serialized_contents, file_url, in TEST_F()
318 GURL file_url = net::FilePathToFileURL(page_file_path); in TEST_F() local
319 ASSERT_TRUE(file_url.SchemeIsFile()); in TEST_F()
[all …]
Ddom_operations_unittest.cc42 GURL file_url = net::FilePathToFileURL(page_file_path); in GetSavableResourceLinksForPage() local
45 test_shell_->LoadURL(file_url); in GetSavableResourceLinksForPage()
63 test_shell_->webView(), file_url, &result, savable_schemes)); in GetSavableResourceLinksForPage()
/external/chromium/chrome/browser/net/
Durl_request_mock_net_error_job.cc73 std::wstring file_url(L"file:///"); in Factory() local
74 file_url.append(mock_info.base); in Factory()
75 file_url.append(UTF8ToWide(url.path())); in Factory()
78 net::FileURLToFilePath(GURL(WideToUTF8(file_url)), &file_path); in Factory()
Durl_fixer_upper.cc173 GURL file_url = net::FilePathToFileURL(FilePath(filename)); in FixupPath() local
174 if (file_url.is_valid()) { in FixupPath()
175 return UTF16ToUTF8(net::FormatUrl(file_url, std::string(), in FixupPath()
558 GURL file_url = net::FilePathToFileURL(full_path); in FixupRelativeFile() local
559 if (file_url.is_valid()) in FixupRelativeFile()
560 return GURL(UTF16ToUTF8(net::FormatUrl(file_url, std::string(), in FixupRelativeFile()
Durl_request_mock_http_job.cc67 GURL file_url(net::FilePathToFileURL(base_path)); in GetOnDiskPath() local
68 std::string url = file_url.spec() + request->url().path(); in GetOnDiskPath()
/external/chromium/chrome/browser/
Dcontent_setting_bubble_model_unittest.cc190 std::string file_url("file:///tmp/test.html"); in TEST_F() local
191 NavigateAndCommit(GURL(file_url)); in TEST_F()
197 ASSERT_NE(std::string::npos, title.find(file_url)); in TEST_F()
Dbrowser_browsertest.cc334 GURL file_url(ui_test_utils::GetTestUrl(FilePath(FilePath::kCurrentDirectory), in IN_PROC_BROWSER_TEST_F() local
336 ASSERT_TRUE(file_url.SchemeIs(chrome::kFileScheme)); in IN_PROC_BROWSER_TEST_F()
337 ui_test_utils::NavigateToURL(browser(), file_url); in IN_PROC_BROWSER_TEST_F()
463 GURL file_url(ui_test_utils::GetTestUrl(FilePath(FilePath::kCurrentDirectory), in IN_PROC_BROWSER_TEST_F() local
465 ASSERT_TRUE(file_url.SchemeIs(chrome::kFileScheme)); in IN_PROC_BROWSER_TEST_F()
466 ui_test_utils::NavigateToURL(browser(), file_url); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/common/extensions/
Dextension_unittest.cc1235 GURL file_url("file:///etc/passwd"); in TEST() local
1240 EXPECT_FALSE(extension->CanExecuteScriptOnPage(file_url, NULL, NULL)); in TEST()
1244 EXPECT_TRUE(extension->CanExecuteScriptOnPage(file_url, NULL, NULL)); in TEST()
1249 EXPECT_FALSE(extension->CanExecuteScriptOnPage(file_url, NULL, NULL)); in TEST()
1253 EXPECT_TRUE(extension->CanExecuteScriptOnPage(file_url, NULL, NULL)); in TEST()
1258 EXPECT_FALSE(extension->CanExecuteScriptOnPage(file_url, NULL, NULL)); in TEST()
1262 EXPECT_FALSE(extension->CanExecuteScriptOnPage(file_url, NULL, NULL)); in TEST()
1268 file_url, &extension->content_scripts()[0], NULL)); in TEST()
1273 file_url, &extension->content_scripts()[0], NULL)); in TEST()
1279 file_url, &extension->content_scripts()[0], NULL)); in TEST()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_file_browser_private_api.cc149 std::string file_url; in FindCommonTasks() local
150 if (!files_list->GetString(i, &file_url)) in FindCommonTasks()
154 if (!GetFileBrowserHandlers(profile, GURL(file_url), &file_actions)) in FindCommonTasks()
845 const GURL& file_url = file_urls[i]; in GetLocalPathsOnFileThread() local
849 if (!CrackFileSystemURL(file_url, &file_origin_url, &type, in GetLocalPathsOnFileThread()
866 << file_url.spec(); in GetLocalPathsOnFileThread()
884 std::string file_url; in RunImpl() local
885 args_->GetString(0, &file_url); in RunImpl()
887 file_paths.push_back(GURL(file_url)); in RunImpl()
/external/chromium/chrome/browser/history/
Dredirect_uitest.cc252 GURL file_url = net::FilePathToFileURL(test_file); in TEST_F() local
255 "client-redirect?" + file_url.spec()); in TEST_F()
/external/chromium/chrome/browser/ui/gtk/
Dtab_contents_drag_source.cc230 GURL file_url(std::string(reinterpret_cast<char*>(file_url_value), in OnDragDataGet() local
234 if (net::FileURLToFilePath(file_url, &file_path)) { in OnDragDataGet()
/external/chromium/net/base/
Dnet_util_unittest.cc518 GURL file_url(FilePathToFileURL( in TEST() local
520 EXPECT_EQ(round_trip_cases[i].url, file_url.spec()); in TEST()
523 EXPECT_TRUE(FileURLToFilePath(file_url, &output)); in TEST()
/external/chromium/chrome/browser/ui/
Dbrowser.cc3341 GURL file_url = net::FilePathToFileURL(path); in FileSelected() local
3342 if (!file_url.is_empty()) in FileSelected()
3343 OpenURL(file_url, GURL(), CURRENT_TAB, PageTransition::TYPED); in FileSelected()