Home | History | Annotate | Download | only in base

Lines Matching full:time

5 #include <time.h>
17 #include "base/time.h"
25 using base::Time;
34 // each time.
62 base::Time(), false, false));
65 base::Time(), false, false));
69 base::Time(), false, false));
74 base::Time(), false, false));
77 base::Time(), false, false));
80 base::Time(), false, false));
85 base::Time(), false, true));
90 "/", base::Time(), true, false));
93 base::Time(), true, false));
99 base::Time(), false, false));
103 base::Time(), false, false));
109 base::Time(), false, false));
113 base::Time(), false, false));
738 // Test that we always take GMT even with other time zones or bogus
786 Time parsed_time;
916 Time now = Time::Now();
936 EXPECT_EQ(0, cm->DeleteAllCreatedAfter(Time(), false));
944 Time now = Time::Now();
977 EXPECT_EQ(1, cm->DeleteAllCreatedAfter(Time(), false));
1007 static Time GetFirstCookieAccessDate(CookieMonster* cm) {
1020 const Time last_access_date(GetFirstCookieAccessDate(cm));
1204 const Time last_access_date(GetFirstCookieAccessDate(cm));
1375 // Insert a cookie "a" for path "/path1", but this time for "chromium.org".
1403 // violation of a CookieMonster invariant) even if Time::Now() doesn't
1413 Time::Now() + TimeDelta::FromDays(3),
1418 Time::Now() + TimeDelta::FromDays(1),
1421 // ===> This one is the WINNER (biggest creation time). <====
1424 Time::Now() + TimeDelta::FromDays(4),
1429 Time::Now(),
1435 // ===> This one is the WINNER (biggest creation time). <====
1438 Time::Now() + TimeDelta::FromDays(9),
1443 Time::Now() + TimeDelta::FromDays(2),
1449 Time::Now() + TimeDelta::FromDays(10),
1485 Time now(Time::Now());
1486 Time earlier(now - TimeDelta::FromDays(1));
1488 // Insert 8 cookies, four with the current time as creation times, and
1489 // four with the earlier time as creation times. We should only get
1605 url_google_foo, "A", "B", std::string(), "/foo", base::Time(),
1608 url_google_bar, "C", "D", "google.izzle", "/bar", base::Time(),
1611 url_google, "E", "F", std::string(), std::string(), base::Time(),
1616 url_google_foo, " A", "B", std::string(), "/foo", base::Time(),
1619 url_google_foo, "A;", "B", std::string(), "/foo", base::Time(),
1622 url_google_foo, "A=", "B", std::string(), "/foo", base::Time(),
1625 url_google_foo, "A", "B", "google.ozzzzzzle", "foo", base::Time(),
1628 url_google_foo, "A=", "B", std::string(), "foo", base::Time(),
1777 ".google.com", "/", Time(), false, false);
1779 ".google.com", "/", Time(), false, false);
1781 ".google.com", "/", Time(), false, false);
1836 base::Time current(base::Time::Now());
1839 base::Time new_access_time;
1840 base::Time expires(base::Time::Now() + base::TimeDelta::FromSeconds(100));
1848 base::Time expires;
1858 base::Time::Now() + base::TimeDelta::FromSeconds(100),
1882 // Ordering is path length, then creation time. So second cookie
1952 // no store (and hence no ability to affect access time).
1978 // time and size of store to make sure we only get rid of cookies when
2099 ASSERT_TRUE(cookie_list[0].IsExpired(Time::Now()));
2250 base::Time::Now() + base::TimeDelta::FromMinutes(59),