/external/chromium/webkit/glue/ |
D | dom_serializer_unittest.cc | 289 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 …]
|
D | dom_operations_unittest.cc | 42 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/ |
D | url_request_mock_net_error_job.cc | 73 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()
|
D | url_fixer_upper.cc | 173 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()
|
D | url_request_mock_http_job.cc | 67 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/ |
D | content_setting_bubble_model_unittest.cc | 190 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()
|
D | browser_browsertest.cc | 334 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/ |
D | extension_unittest.cc | 1235 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/ |
D | extension_file_browser_private_api.cc | 149 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/ |
D | redirect_uitest.cc | 252 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/ |
D | tab_contents_drag_source.cc | 230 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/ |
D | net_util_unittest.cc | 518 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/ |
D | browser.cc | 3341 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()
|