| OLD | NEW |
| 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 "chrome/browser/chromeos/certificate_provider/certificate_provider_serv
ice.h" | 5 #include "chrome/browser/chromeos/certificate_provider/certificate_provider_serv
ice.h" |
| 6 | 6 |
| 7 #include <stdint.h> |
| 8 |
| 7 #include <set> | 9 #include <set> |
| 8 | 10 |
| 9 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/macros.h" |
| 10 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
| 11 #include "base/test/test_mock_time_task_runner.h" | 14 #include "base/test/test_mock_time_task_runner.h" |
| 12 #include "base/thread_task_runner_handle.h" | 15 #include "base/thread_task_runner_handle.h" |
| 13 #include "chrome/browser/chromeos/certificate_provider/certificate_provider.h" | 16 #include "chrome/browser/chromeos/certificate_provider/certificate_provider.h" |
| 14 #include "net/base/net_errors.h" | 17 #include "net/base/net_errors.h" |
| 15 #include "net/base/test_data_directory.h" | 18 #include "net/base/test_data_directory.h" |
| 16 #include "net/ssl/client_key_store.h" | 19 #include "net/ssl/client_key_store.h" |
| 17 #include "net/test/cert_test_util.h" | 20 #include "net/test/cert_test_util.h" |
| 18 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
| 19 | 22 |
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 EXPECT_EQ(net::OK, error); | 480 EXPECT_EQ(net::OK, error); |
| 478 | 481 |
| 479 // Unload the extension. | 482 // Unload the extension. |
| 480 service_->OnExtensionUnloaded(kExtension1); | 483 service_->OnExtensionUnloaded(kExtension1); |
| 481 | 484 |
| 482 task_runner_->RunUntilIdle(); | 485 task_runner_->RunUntilIdle(); |
| 483 EXPECT_EQ(net::ERR_FAILED, error); | 486 EXPECT_EQ(net::ERR_FAILED, error); |
| 484 } | 487 } |
| 485 | 488 |
| 486 } // namespace chromeos | 489 } // namespace chromeos |
| OLD | NEW |