Home
last modified time | relevance | path

Searched refs:resource2 (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/fetch/
DMemoryCacheTest.cpp258 ResourcePtr<Resource> resource2 = in TEST_F() local
261 resource2->addClient(&client2); in TEST_F()
262 resource2->appendData(data, 4); in TEST_F()
265 const unsigned maxDeadCapacity = ((resource1->size() + resource2->size()) / 2) - 1; in TEST_F()
269 memoryCache()->add(resource2.get()); in TEST_F()
274 ASSERT_GT(resource2->decodedSize(), 0u); in TEST_F()
276 ASSERT_EQ(memoryCache()->liveSize(), resource1->size() + resource2->size()); in TEST_F()
282 ASSERT_GT(resource2->decodedSize(), 0u); in TEST_F()
284 ASSERT_EQ(memoryCache()->liveSize(), resource2->size()); in TEST_F()
286 ASSERT_TRUE(memoryCache()->contains(resource2.get())); in TEST_F()
[all …]
DCachingCorrectnessTest.cpp461 ResourcePtr<Resource> resource2 = fetcher()->fetchSynchronously(fetch2); in TEST_F() local
463 EXPECT_EQ(resource2, memoryCache()->resourceForURL(request2.url())); in TEST_F()
464 EXPECT_NE(resource1, resource2); in TEST_F()
/external/chromium_org/chrome/browser/ui/cocoa/
Dtask_manager_mac_unittest.mm63 TestResource resource2(base::UTF8ToUTF16("zzb"), 2);
67 task_manager.AddResource(&resource2);
90 task_manager.RemoveResource(&resource2);
98 TestResource resource2(base::UTF8ToUTF16("aaa"), 2);
101 task_manager.AddResource(&resource2);
112 // Change the name of resource2 so that it becomes row 1 in the table.
113 resource2.title_ = base::UTF8ToUTF16("zzz");
126 task_manager.RemoveResource(&resource2);
/external/chromium_org/chrome/browser/task_manager/
Dtask_manager_unittest.cc77 TestResource resource1, resource2; in TEST_F() local
88 task_manager.AddResource(&resource2); // Will be in the same group. in TEST_F()
108 task_manager.RemoveResource(&resource2); in TEST_F()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/resources/
DApplicationCacheItemsView.js210 function numberCompare(field, resource1, resource2) argument
212 return sortDirection * (resource1[field] - resource2[field]);
214 function localeCompare(field, resource1, resource2) argument
216 return sortDirection * (resource1[field] + "").localeCompare(resource2[field] + "")
/external/chromium_org/chrome/browser/predictors/
Dresource_prefetch_predictor_unittest.cc392 URLRequestSummary resource2 = CreateURLRequestSummary( in TEST_F() local
395 predictor_->RecordURLResponse(resource2); in TEST_F()
449 URLRequestSummary resource2 = CreateURLRequestSummary( in TEST_F() local
452 predictor_->RecordURLResponse(resource2); in TEST_F()
543 URLRequestSummary resource2 = CreateURLRequestSummary( in TEST_F() local
546 predictor_->RecordURLResponse(resource2); in TEST_F()
667 URLRequestSummary resource2 = CreateURLRequestSummary( in TEST_F() local
670 predictor_->RecordURLResponse(resource2); in TEST_F()
901 URLRequestSummary resource2 = CreateURLRequestSummary( in TEST_F() local
908 predictor_->OnSubresourceResponse(resource2); in TEST_F()
[all …]
/external/chromium_org/cc/test/
Drender_pass_test_common.cc43 ResourceProvider::ResourceId resource2 = resource_provider->CreateResource( in AppendOneOfEveryQuadType() local
48 resource_provider->AllocateForTesting(resource2); in AppendOneOfEveryQuadType()
193 resource2, in AppendOneOfEveryQuadType()
/external/chromium_org/cc/output/
Doverlay_unittest.cc716 ResourceProvider::ResourceId resource2 = in TEST_F() local
728 overlay2.resource_id = resource2; in TEST_F()
734 EXPECT_FALSE(resource_provider_->InUseByConsumer(resource2)); in TEST_F()
741 EXPECT_TRUE(resource_provider_->InUseByConsumer(resource2)); in TEST_F()
749 EXPECT_TRUE(resource_provider_->InUseByConsumer(resource2)); in TEST_F()
751 EXPECT_FALSE(resource_provider_->InUseByConsumer(resource2)); in TEST_F()
760 EXPECT_FALSE(resource_provider_->InUseByConsumer(resource2)); in TEST_F()
/external/chromium_org/chrome/browser/content_settings/
Dcontent_settings_pref_provider_unittest.cc360 std::string resource2("otherplugin"); in TEST_F() local
382 resource2, false)); in TEST_F()