Home
last modified time | relevance | path

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

12

/external/chromium_org/content/browser/fileapi/
Dfileapi_message_filter_unittest.cc110 const GURL kUrl("filesystem:http://example.com/temporary/foo"); in TEST_F() local
111 FileSystemHostMsg_ReadMetadata read_metadata(request_id++, kUrl); in TEST_F()
144 const GURL kUrl("filesystem:http://example.com/temporary/foo"); in TEST_F() local
145 FileSystemHostMsg_ReadMetadata read_metadata(request_id++, kUrl); in TEST_F()
159 const GURL kUrl(kFakeBlobInternalUrlSpec); in TEST_F() local
162 EXPECT_EQ(NULL, stream_registry->GetStream(kUrl).get()); in TEST_F()
164 StreamHostMsg_StartBuilding start_message(kUrl, kFakeContentType); in TEST_F()
171 scoped_refptr<Stream> stream = stream_registry->GetStream(kUrl); in TEST_F()
179 StreamHostMsg_FinishBuilding finish_message(kUrl); in TEST_F()
182 stream = stream_registry->GetStream(kUrl); in TEST_F()
[all …]
/external/chromium_org/webkit/browser/blob/
Dblob_storage_context_unittest.cc144 GURL kUrl("blob:id"); in TEST() local
145 EXPECT_TRUE(host.RegisterPublicBlobURL(kUrl, kId)); in TEST()
147 context.GetBlobDataFromPublicURL(kUrl); in TEST()
155 blob_data_handle = context.GetBlobDataFromPublicURL(kUrl); in TEST()
160 EXPECT_TRUE(host.RevokePublicBlobURL(kUrl)); in TEST()
161 blob_data_handle = context.GetBlobDataFromPublicURL(kUrl); in TEST()
163 EXPECT_FALSE(host.RevokePublicBlobURL(kUrl)); in TEST()
173 GURL kUrl("blob:id"); in TEST() local
175 EXPECT_TRUE(host->RegisterPublicBlobURL(kUrl, kId)); in TEST()
179 scoped_ptr<BlobDataHandle> handle = context.GetBlobDataFromPublicURL(kUrl); in TEST()
[all …]
/external/chromium_org/webkit/browser/appcache/
Dmanifest_parser_unittest.cc66 const GURL kUrl; in TEST() local
67 EXPECT_TRUE(ParseManifest(kUrl, kData.c_str(), kData.length(), manifest)); in TEST()
76 const GURL kUrl("http://www.foo.com"); in TEST() local
94 EXPECT_TRUE(ParseManifest(kUrl, kData.c_str(), kData.length(), manifest)); in TEST()
113 const GURL kUrl("http://www.bar.com"); in TEST() local
131 EXPECT_TRUE(ParseManifest(kUrl, kData.c_str(), kData.length(), manifest)); in TEST()
153 const GURL kUrl("http://glorp.com"); in TEST() local
177 EXPECT_TRUE(ParseManifest(kUrl, kData.c_str(), kData.length(), manifest)); in TEST()
216 const GURL kUrl("http://www.portme.com:1234"); in TEST() local
227 EXPECT_TRUE(ParseManifest(kUrl, kData.c_str(), kData.length(), manifest)); in TEST()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_omnibox_unittest.cc13 const int kUrl = ACMatchClassification::URL; variable
86 styles_expected.push_back(ACMatchClassification(0, kUrl | kMatch)); in TEST()
87 styles_expected.push_back(ACMatchClassification(1, kUrl | kMatch | kDim)); in TEST()
88 styles_expected.push_back(ACMatchClassification(3, kUrl | kMatch)); in TEST()
89 styles_expected.push_back(ACMatchClassification(4, kUrl)); in TEST()
126 styles_expected.push_back(ACMatchClassification(0, kUrl | kMatch | kDim)); in TEST()
/external/chromium_org/google_apis/cup/
Dclient_update_protocol_unittest.cc101 static const char kUrl[] = "//testserver.chromium.org/update"; in TEST_F() local
110 std::string url(kUrl); in TEST_F()
118 std::string url2(kUrl); in TEST_F()
132 static const char kUrl[] = "//testserver.chromium.orgupdate?junk=present&w="; in TEST_F() local
145 std::string url(kUrl); in TEST_F()
/external/chromium_org/content/browser/media/
Dwebrtc_internals_unittest.cc19 static const std::string kUrl = "u"; variable
69 0, 3, 4, kUrl, kServers, kContraints); in TEST_F()
80 0, 1, 2, kUrl, kServers, kContraints); in TEST_F()
94 EXPECT_EQ(kUrl, value); in TEST_F()
109 0, 1, 2, kUrl, kServers, kContraints); in TEST_F()
130 0, 1, 2, kUrl, kServers, kContraints); in TEST_F()
/external/chromium_org/chrome/browser/autocomplete/
Dbuiltin_provider.cc69 const int kUrl = ACMatchClassification::URL; in Start() local
70 const int kMatch = kUrl | ACMatchClassification::MATCH; in Start()
80 styles.push_back(ACMatchClassification(0, highlight ? kMatch : kUrl)); in Start()
83 styles.push_back(ACMatchClassification(offset, kUrl)); in Start()
111 styles.push_back(ACMatchClassification(match_length, kUrl)); in Start()
/external/chromium_org/chrome/browser/extensions/api/omnibox/
Domnibox_unittest.cc21 const int kUrl = ACMatchClassification::URL; variable
136 styles_expected.push_back(ACMatchClassification(0, kUrl | kMatch)); in TEST()
137 styles_expected.push_back(ACMatchClassification(1, kUrl | kMatch | kDim)); in TEST()
138 styles_expected.push_back(ACMatchClassification(3, kUrl | kMatch)); in TEST()
139 styles_expected.push_back(ACMatchClassification(4, kUrl)); in TEST()
225 styles_expected.push_back(ACMatchClassification(0, kUrl | kMatch | kDim)); in TEST()
/external/chromium_org/ui/base/dragdrop/
Dgtk_dnd_util_unittest.cc18 const std::string kUrl = "http://www.foobar.com/"; in TEST() local
21 pickle.WriteString(kUrl); in TEST()
33 EXPECT_EQ(GURL(kUrl), url); in TEST()
/external/chromium_org/chrome/browser/policy/
Dconfiguration_policy_handler_android.cc30 !dict->GetStringWithoutPathExpansion(ManagedBookmarksPolicyHandler::kUrl, in GetBookmark()
44 const char ManagedBookmarksPolicyHandler::kUrl[] = "url"; member in policy::ManagedBookmarksPolicyHandler
95 dict->SetString(kUrl, url); in ApplyPolicySettings()
Dconfiguration_policy_handler_android.h22 static const char kUrl[]; variable
/external/chromium_org/components/url_matcher/
Durl_matcher_factory_unittest.cc272 const std::string kUrl(kScheme + "://" + kHost + ":1234" + kPath + kQuery); in TEST() local
275 const GURL url(kUrl); in TEST()
323 UrlConditionCaseTest(keys::kURLContainsKey, false, kUrl, kUrlUpper, in TEST()
325 UrlConditionCaseTest(keys::kURLEqualsKey, false, kUrl, kUrlUpper, in TEST()
327 UrlConditionCaseTest(keys::kURLPrefixKey, false, kUrl, kUrlUpper, in TEST()
329 UrlConditionCaseTest(keys::kURLSuffixKey, false, kUrl, kUrlUpper, in TEST()
/external/chromium_org/third_party/libaddressinput/chromium/cpp/test/
Dfake_downloader_test.cc107 static const std::string kUrl = in TEST_F() local
110 downloader_.Download(kUrl, *callback); in TEST_F()
113 EXPECT_EQ(kUrl, url_); in TEST_F()
/external/chromium_org/chrome/browser/guestview/adview/
Dadview_guest.cc53 args->SetString(guestview::kUrl, url.spec()); in DidCommitProvisionalLoadForFrame()
72 args->SetString(guestview::kUrl, validated_url.spec()); in DidFailProvisionalLoad()
/external/chromium/net/base/
Dfilter_unittest.cc216 const std::string kUrl("http://ignore.com/foo"); in TEST() local
258 filter_context.SetURL(GURL(kUrl)); in TEST()
298 const std::string kUrl("http://ignore.com/foo"); in TEST() local
307 filter_context.SetURL(GURL(kUrl)); in TEST()
316 filter_context.SetURL(GURL(kUrl)); in TEST()
/external/chromium_org/net/base/
Dfilter_unittest.cc216 const std::string kUrl("http://ignore.com/foo"); in TEST() local
258 filter_context.SetURL(GURL(kUrl)); in TEST()
298 const std::string kUrl("http://ignore.com/foo"); in TEST() local
307 filter_context.SetURL(GURL(kUrl)); in TEST()
316 filter_context.SetURL(GURL(kUrl)); in TEST()
/external/chromium_org/chrome/browser/guestview/
Dguestview_constants.cc12 const char kUrl[] = "url"; variable
Dguestview_constants.h15 extern const char kUrl[];
/external/chromium_org/content/browser/frame_host/
Drender_frame_host_manager_unittest.cc515 const GURL kUrl("view-source:http://foo"); in TEST_F() local
527 kUrl, Referrer(), PAGE_TRANSITION_TYPED, std::string()); in TEST_F()
536 pending_test_rvh()->SendNavigate(new_id, kUrl); in TEST_F()
539 EXPECT_TRUE(kUrl == controller().GetLastCommittedEntry()->GetURL()); in TEST_F()
549 kUrl, Referrer(), PAGE_TRANSITION_TYPED, std::string()); in TEST_F()
553 test_rvh()->SendNavigate(new_id, kUrl); // The same page_id returned. in TEST_F()
837 const GURL kUrl("chrome://foo"); in TEST_F() local
838 NavigationEntryImpl entry(NULL /* instance */, -1 /* page_id */, kUrl, in TEST_F()
857 EXPECT_EQ(kUrl, host->GetSiteInstance()->GetSiteURL()); in TEST_F()
/external/chromium_org/content/test/plugin/
Dplugin_delete_plugin_in_stream_test.cc11 #define kUrl "javascript:window.location+\"\"" macro
/external/chromium/chrome/browser/importer/
Dtoolbar_importer_unittest.cc21 static const char kUrl[] = "http://www.google.com/"; in TEST() local
320 const GURL url(kUrl); in TEST()
/external/chromium_org/chrome/browser/guestview/webview/
Dwebview_guest.cc378 args->SetString(guestview::kUrl, web_contents()->GetURL().spec()); in LoadProgressed()
388 args->SetString(guestview::kUrl, url.possibly_invalid_spec()); in LoadAbort()
574 args->SetString(guestview::kUrl, url.spec()); in DidCommitProvisionalLoadForFrame()
608 args->SetString(guestview::kUrl, validated_url.spec()); in DidStartProvisionalLoadForFrame()
/external/chromium_org/chrome/browser/android/bookmarks/
Dmanaged_bookmarks_shim.cc98 !dict->GetString(ManagedBookmarksPolicyHandler::kUrl, &url)) { in Reload()
/external/chromium/chrome/browser/tab_contents/
Dweb_contents_unittest.cc246 const char kUrl[] = "view-source:chrome://newtab"; in TEST_F() local
247 const GURL kGURL(kUrl); in TEST_F()
262 EXPECT_EQ(ASCIIToUTF16(kUrl), contents()->GetTitle()); in TEST_F()
1554 const char kUrl[] = "http://www.badguys.com/"; in TEST_F() local
1555 const GURL kGURL(kUrl); in TEST_F()
1585 EXPECT_EQ(kUrl, entry->url().spec()); in TEST_F()
1597 const char kUrl[] = "http://www.badguys.com/"; in TEST_F() local
1598 const GURL kGURL(kUrl); in TEST_F()
/external/chromium_org/content/browser/web_contents/
Dweb_contents_impl_unittest.cc342 const char kUrl[] = "view-source:chrome://blah"; in TEST_F() local
343 const GURL kGURL(kUrl); in TEST_F()
359 EXPECT_EQ(ASCIIToUTF16(kUrl), contents()->GetTitle()); in TEST_F()
1970 const char kUrl[] = "http://www.badguys.com/"; in TEST_F() local
1971 const GURL kGURL(kUrl); in TEST_F()
2003 EXPECT_EQ(kUrl, entry->GetURL().spec()); in TEST_F()
2016 const char kUrl[] = "http://www.badguys.com/"; in TEST_F() local
2017 const GURL kGURL(kUrl); in TEST_F()

12