Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: components/password_manager/core/browser/facet_manager_unittest.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/password_manager/core/browser/facet_manager.h" 5 #include "components/password_manager/core/browser/facet_manager.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
9 #include "base/location.h" 11 #include "base/location.h"
10 #include "base/macros.h" 12 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
12 #include "base/rand_util.h" 14 #include "base/rand_util.h"
13 #include "base/test/test_mock_time_task_runner.h" 15 #include "base/test/test_mock_time_task_runner.h"
14 #include "base/test/test_simple_task_runner.h" 16 #include "base/test/test_simple_task_runner.h"
15 #include "base/time/clock.h" 17 #include "base/time/clock.h"
16 #include "base/time/time.h" 18 #include "base/time/time.h"
(...skipping 1492 matching lines...) Expand 10 before | Expand all | Expand 10 after
1509 EXPECT_FALSE(facet_manager()->CanCachedDataBeDiscarded()); 1511 EXPECT_FALSE(facet_manager()->CanCachedDataBeDiscarded());
1510 1512
1511 AdvanceTime(GetShortTestPeriod()); 1513 AdvanceTime(GetShortTestPeriod());
1512 CancelPrefetch(base::Time::Max()); 1514 CancelPrefetch(base::Time::Max());
1513 1515
1514 EXPECT_TRUE(facet_manager()->CanBeDiscarded()); 1516 EXPECT_TRUE(facet_manager()->CanBeDiscarded());
1515 EXPECT_TRUE(facet_manager()->CanCachedDataBeDiscarded()); 1517 EXPECT_TRUE(facet_manager()->CanCachedDataBeDiscarded());
1516 } 1518 }
1517 1519
1518 } // namespace password_manager 1520 } // namespace password_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698