Home
last modified time | relevance | path

Searched refs:url_data (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/chrome/browser/predictors/
Dresource_prefetch_predictor_unittest.cc62 MOCK_METHOD2(UpdateData, void(const PrefetchData& url_data,
476 PrefetchData url_data(PREFETCH_KEY_TYPE_URL, "http://www.google.com/"); in TEST_F() local
477 url_data.resources.push_back(ResourceRow(std::string(), in TEST_F()
484 url_data.resources.push_back(ResourceRow(std::string(), in TEST_F()
491 url_data.resources.push_back(ResourceRow(std::string(), in TEST_F()
498 url_data.resources.push_back(ResourceRow(std::string(), in TEST_F()
505 EXPECT_CALL(*mock_tables_.get(), UpdateData(url_data, empty_host_data_)); in TEST_F()
508 host_data.resources = url_data.resources; in TEST_F()
570 PrefetchData url_data(PREFETCH_KEY_TYPE_URL, "http://www.google.com/"); in TEST_F() local
571 url_data.resources.push_back(ResourceRow(std::string(), in TEST_F()
[all …]
Dresource_prefetch_predictor_tables.cc184 const PrefetchData& url_data, in UpdateData() argument
190 DCHECK(!url_data.is_host() && host_data.is_host()); in UpdateData()
191 DCHECK(!url_data.primary_key.empty() || !host_data.primary_key.empty()); in UpdateData()
195 bool success = (url_data.primary_key.empty() || UpdateDataHelper(url_data)) && in UpdateData()
Dresource_prefetch_predictor_tables.h102 virtual void UpdateData(const PrefetchData& url_data,
Dresource_prefetch_predictor.cc975 const PrefetchData& url_data = is_host ? empty_data : cache_entry->second; in LearnNavigation() local
980 url_data, in LearnNavigation()
/external/chromium_org/ui/base/clipboard/
Dclipboard_aura.cc351 const char* url_data, in WriteHTML() argument
355 data->set_url(std::string(url_data, url_len)); in WriteHTML()
365 const char* url_data, in WriteBookmark() argument
369 data->set_bookmark_url(std::string(url_data, url_len)); in WriteBookmark()
567 const char* url_data, in WriteHTML() argument
569 ClipboardDataBuilder::WriteHTML(markup_data, markup_len, url_data, url_len); in WriteHTML()
578 const char* url_data, in WriteBookmark() argument
580 ClipboardDataBuilder::WriteBookmark(title_data, title_len, url_data, url_len); in WriteBookmark()
Dclipboard.h325 const char* url_data, in NON_EXPORTED_BASE()
332 const char* url_data, in NON_EXPORTED_BASE()
Dclipboard_android.cc397 const char* url_data, in WriteHTML() argument
409 const char* url_data, size_t url_len) { in WriteBookmark() argument
410 g_map.Get().Set(kBookmarkFormat, std::string(url_data, url_len)); in WriteBookmark()
Dclipboard_win.cc239 const char* url_data, in WriteHTML() argument
245 url.assign(url_data, url_len); in WriteHTML()
259 const char* url_data, in WriteBookmark() argument
263 bookmark.append(url_data, url_len); in WriteBookmark()
Dclipboard_mac.mm118 const char* url_data,
125 // TODO(avi): url_data?
137 const char* url_data,
141 std::string url_str(url_data, url_len);
Dclipboard_gtk.cc281 const char* url_data, in WriteHTML() argument
318 const char* url_data, size_t url_len) { in WriteBookmark() argument
320 base::string16 url = UTF8ToUTF16(std::string(url_data, url_len) + "\n"); in WriteBookmark()
Dclipboard_aurax11.cc715 const char* url_data, in WriteHTML() argument
736 const char* url_data, in WriteBookmark() argument
739 string16 url = UTF8ToUTF16(std::string(url_data, url_len) + "\n"); in WriteBookmark()
/external/chromium_org/chrome/browser/autocomplete/
Dautocomplete_result_unittest.cc294 TemplateURLData url_data; in TEST_F() local
295 url_data.short_name = ASCIIToUTF16("unittest"); in TEST_F()
296 url_data.SetKeyword(ASCIIToUTF16("foo")); in TEST_F()
297 url_data.SetURL("http://www.foo.com/s?q={searchTerms}"); in TEST_F()
298 test_util_.model()->Add(new TemplateURL(test_util_.profile(), url_data)); in TEST_F()
/external/chromium_org/chrome/browser/search_engines/
Dtemplate_url_unittest.cc1249 } url_data[] = { in TEST_F() local
1262 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(url_data); ++i) { in TEST_F()
1263 EXPECT_EQ(url_data[i].result, in TEST_F()
1264 search_provider.IsSearchURL(GURL(url_data[i].url))); in TEST_F()
/external/chromium_org/chrome/test/functional/
Dstress.py431 url_data = self.EvalDataFrom(data_file)
432 urls = url_data.keys()