Home
last modified time | relevance | path

Searched refs:GetNextUpdateTime (Results 1 – 3 of 3) sorted by relevance

/external/chromium/chrome/browser/safe_browsing/
Dprotocol_manager_unittest.cc35 EXPECT_EQ(pm.GetNextUpdateTime(false), 1800 * 1000); in TEST_F()
38 EXPECT_EQ(pm.GetNextUpdateTime(true), 60 * 1000); in TEST_F()
41 int next_time = pm.GetNextUpdateTime(true) / (60 * 1000); // Minutes in TEST_F()
45 next_time = pm.GetNextUpdateTime(true) / (60 * 1000); in TEST_F()
49 next_time = pm.GetNextUpdateTime(true) / (60 * 1000); in TEST_F()
53 next_time = pm.GetNextUpdateTime(true) / (60 * 1000); in TEST_F()
57 EXPECT_EQ(pm.GetNextUpdateTime(true), 480 * 60 * 1000); in TEST_F()
60 EXPECT_EQ(pm.GetNextUpdateTime(true), 480 * 60 * 1000); in TEST_F()
63 EXPECT_EQ(pm.GetNextUpdateTime(false), 1800 * 1000); in TEST_F()
Dprotocol_manager.h256 int GetNextUpdateTime(bool back_off);
Dprotocol_manager.cc495 const int next_update = GetNextUpdateTime(back_off); in ScheduleNextUpdate()
511 int SafeBrowsingProtocolManager::GetNextUpdateTime(bool back_off) { in GetNextUpdateTime() function in SafeBrowsingProtocolManager