OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/basictypes.h" | |
6 #include "base/bind.h" | 5 #include "base/bind.h" |
7 #include "base/bind_helpers.h" | 6 #include "base/bind_helpers.h" |
8 #include "base/files/file_util.h" | 7 #include "base/files/file_util.h" |
9 #include "base/files/scoped_temp_dir.h" | 8 #include "base/files/scoped_temp_dir.h" |
| 9 #include "base/macros.h" |
10 #include "base/prefs/pref_service.h" | 10 #include "base/prefs/pref_service.h" |
11 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
12 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
13 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
16 #include "components/password_manager/core/browser/login_database.h" | 16 #include "components/password_manager/core/browser/login_database.h" |
17 #include "components/password_manager/core/browser/password_manager_test_utils.h
" | 17 #include "components/password_manager/core/browser/password_manager_test_utils.h
" |
18 #include "components/password_manager/core/browser/password_store_change.h" | 18 #include "components/password_manager/core/browser/password_store_change.h" |
19 #include "components/password_manager/core/browser/password_store_consumer.h" | 19 #include "components/password_manager/core/browser/password_store_consumer.h" |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 run_loop.Run(); | 303 run_loop.Run(); |
304 | 304 |
305 bad_store->RemoveLoginsSyncedBetween(base::Time(), base::Time::Max()); | 305 bad_store->RemoveLoginsSyncedBetween(base::Time(), base::Time::Max()); |
306 base::MessageLoop::current()->RunUntilIdle(); | 306 base::MessageLoop::current()->RunUntilIdle(); |
307 | 307 |
308 // Ensure no notifications and no explosions during shutdown either. | 308 // Ensure no notifications and no explosions during shutdown either. |
309 bad_store->RemoveObserver(&mock_observer); | 309 bad_store->RemoveObserver(&mock_observer); |
310 } | 310 } |
311 | 311 |
312 } // namespace password_manager | 312 } // namespace password_manager |
OLD | NEW |