| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/certificate_transparency/ct_policy_manager.h" | 5 #include "components/certificate_transparency/ct_policy_manager.h" |
| 6 | 6 |
| 7 #include <iterator> | 7 #include <iterator> |
| 8 | 8 |
| 9 #include "base/message_loop/message_loop.h" |
| 9 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
| 10 #include "base/sequenced_task_runner.h" | 11 #include "base/sequenced_task_runner.h" |
| 11 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
| 12 #include "base/test/test_message_loop.h" | 13 #include "base/test/test_message_loop.h" |
| 13 #include "base/values.h" | 14 #include "base/values.h" |
| 14 #include "components/certificate_transparency/pref_names.h" | 15 #include "components/certificate_transparency/pref_names.h" |
| 15 #include "components/prefs/pref_registry_simple.h" | 16 #include "components/prefs/pref_registry_simple.h" |
| 16 #include "components/prefs/testing_pref_service.h" | 17 #include "components/prefs/testing_pref_service.h" |
| 17 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
| 18 | 19 |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 delegate->IsCTRequiredForHost("sub.example.com")); | 268 delegate->IsCTRequiredForHost("sub.example.com")); |
| 268 | 269 |
| 269 // And it should still be possible to get the delegate, even after calling | 270 // And it should still be possible to get the delegate, even after calling |
| 270 // Shutdown(). | 271 // Shutdown(). |
| 271 EXPECT_TRUE(manager.GetDelegate()); | 272 EXPECT_TRUE(manager.GetDelegate()); |
| 272 } | 273 } |
| 273 | 274 |
| 274 } // namespace | 275 } // namespace |
| 275 | 276 |
| 276 } // namespace certificate_transparency | 277 } // namespace certificate_transparency |
| OLD | NEW |