/external/chromium_org/chrome/browser/predictors/ |
D | resource_prefetch_predictor_unittest.cc | 60 MOCK_METHOD2(UpdateData, void(const PrefetchData& url_data, 474 PrefetchData url_data(PREFETCH_KEY_TYPE_URL, "http://www.google.com/"); in TEST_F() local 475 url_data.resources.push_back(ResourceRow(std::string(), in TEST_F() 482 url_data.resources.push_back(ResourceRow(std::string(), in TEST_F() 489 url_data.resources.push_back(ResourceRow(std::string(), in TEST_F() 496 url_data.resources.push_back(ResourceRow(std::string(), in TEST_F() 503 EXPECT_CALL(*mock_tables_.get(), UpdateData(url_data, empty_host_data_)); in TEST_F() 506 host_data.resources = url_data.resources; in TEST_F() 568 PrefetchData url_data(PREFETCH_KEY_TYPE_URL, "http://www.google.com/"); in TEST_F() local 569 url_data.resources.push_back(ResourceRow(std::string(), in TEST_F() [all …]
|
D | resource_prefetch_predictor_tables.cc | 183 const PrefetchData& url_data, in UpdateData() argument 189 DCHECK(!url_data.is_host() && host_data.is_host()); in UpdateData() 190 DCHECK(!url_data.primary_key.empty() || !host_data.primary_key.empty()); in UpdateData() 194 bool success = (url_data.primary_key.empty() || UpdateDataHelper(url_data)) && in UpdateData()
|
D | resource_prefetch_predictor_tables.h | 102 virtual void UpdateData(const PrefetchData& url_data,
|
D | resource_prefetch_predictor.cc | 993 const PrefetchData& url_data = is_host ? empty_data : cache_entry->second; in LearnNavigation() local 998 url_data, in LearnNavigation()
|
/external/chromium_org/mojo/services/html_viewer/ |
D | webclipboard_impl.cc | 195 MimeTypePairPtr url_data(MimeTypePair::New()); in writeHTML() local 196 url_data->mime_type = mojo::Clipboard::MIME_TYPE_URL; in writeHTML() 197 url_data->data = Array<uint8_t>::From(url.string()).Pass(); in writeHTML() 198 data.push_back(url_data.Pass()); in writeHTML() 202 url_data->mime_type = kMimeTypeWebkitSmartPaste; in writeHTML() 203 url_data->data = Array<uint8_t>::From(blink::WebString()).Pass(); in writeHTML()
|
/external/chromium_org/ui/base/clipboard/ |
D | clipboard_aura.cc | 357 const char* url_data, in WriteHTML() argument 361 data->set_url(std::string(url_data, url_len)); in WriteHTML() 371 const char* url_data, in WriteBookmark() argument 375 data->set_bookmark_url(std::string(url_data, url_len)); in WriteBookmark() 573 const char* url_data, in WriteHTML() argument 575 ClipboardDataBuilder::WriteHTML(markup_data, markup_len, url_data, url_len); in WriteHTML() 584 const char* url_data, in WriteBookmark() argument 586 ClipboardDataBuilder::WriteBookmark(title_data, title_len, url_data, url_len); in WriteBookmark()
|
D | clipboard.h | 323 const char* url_data, in NON_EXPORTED_BASE() 330 const char* url_data, in NON_EXPORTED_BASE()
|
D | clipboard_android.cc | 396 const char* url_data, in WriteHTML() argument 408 const char* url_data, size_t url_len) { in WriteBookmark() argument 409 g_map.Get().Set(kBookmarkFormat, std::string(url_data, url_len)); in WriteBookmark()
|
D | clipboard_mac.mm | 122 const char* url_data, 129 // TODO(avi): url_data? 141 const char* url_data, 145 std::string url_str(url_data, url_len);
|
D | clipboard_win.cc | 243 const char* url_data, in WriteHTML() argument 249 url.assign(url_data, url_len); in WriteHTML() 263 const char* url_data, in WriteBookmark() argument 267 bookmark.append(url_data, url_len); in WriteBookmark()
|
D | clipboard_aurax11.cc | 775 const char* url_data, in WriteHTML() argument 796 const char* url_data, in WriteBookmark() argument 799 base::string16 url = base::UTF8ToUTF16(std::string(url_data, url_len) + "\n"); in WriteBookmark()
|
/external/chromium_org/components/omnibox/ |
D | autocomplete_result_unittest.cc | 319 TemplateURLData url_data; in TEST_F() local 320 url_data.short_name = base::ASCIIToUTF16("unittest"); in TEST_F() 321 url_data.SetKeyword(base::ASCIIToUTF16("foo")); in TEST_F() 322 url_data.SetURL("http://www.foo.com/s?q={searchTerms}"); in TEST_F() 323 template_url_service_.get()->Add(new TemplateURL(url_data)); in TEST_F() 365 TemplateURLData url_data; in TEST_F() local 366 url_data.short_name = base::ASCIIToUTF16("unittest"); in TEST_F() 367 url_data.SetKeyword(base::ASCIIToUTF16("foo")); in TEST_F() 368 url_data.SetURL("http://www.foo.com/s?q={searchTerms}"); in TEST_F() 369 template_url_service_.get()->Add(new TemplateURL(url_data)); in TEST_F()
|
/external/chromium_org/components/search_engines/ |
D | template_url_unittest.cc | 1331 } url_data[] = { in TEST_F() local 1344 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(url_data); ++i) { in TEST_F() 1345 EXPECT_EQ(url_data[i].result, in TEST_F() 1346 search_provider.IsSearchURL(GURL(url_data[i].url), in TEST_F()
|