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

Side by Side Diff: components/password_manager/core/browser/affiliation_backend_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/affiliation_backend.h" 5 #include "components/password_manager/core/browser/affiliation_backend.h"
6 6
7 #include <stddef.h>
8
7 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
8 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
9 #include "base/macros.h" 11 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
12 #include "base/test/test_mock_time_task_runner.h" 14 #include "base/test/test_mock_time_task_runner.h"
13 #include "base/test/test_simple_task_runner.h" 15 #include "base/test/test_simple_task_runner.h"
14 #include "base/time/clock.h" 16 #include "base/time/clock.h"
15 #include "base/time/tick_clock.h" 17 #include "base/time/tick_clock.h"
16 #include "components/password_manager/core/browser/affiliation_database.h" 18 #include "components/password_manager/core/browser/affiliation_database.h"
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 } 914 }
913 915
914 TEST_F(AffiliationBackendTest, DeleteCache) { 916 TEST_F(AffiliationBackendTest, DeleteCache) {
915 DestroyBackend(); 917 DestroyBackend();
916 ASSERT_TRUE(base::PathExists(db_path())); 918 ASSERT_TRUE(base::PathExists(db_path()));
917 AffiliationBackend::DeleteCache(db_path()); 919 AffiliationBackend::DeleteCache(db_path());
918 ASSERT_FALSE(base::PathExists(db_path())); 920 ASSERT_FALSE(base::PathExists(db_path()));
919 } 921 }
920 922
921 } // namespace password_manager 923 } // namespace password_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698