| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stddef.h> |
| 6 |
| 5 #include "base/bind.h" | 7 #include "base/bind.h" |
| 6 #include "base/callback.h" | 8 #include "base/callback.h" |
| 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/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
| 10 #include "base/json/json_file_value_serializer.h" | 12 #include "base/json/json_file_value_serializer.h" |
| 11 #include "base/json/json_reader.h" | 13 #include "base/json/json_reader.h" |
| 12 #include "base/json/json_writer.h" | 14 #include "base/json/json_writer.h" |
| 13 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
| 14 #include "base/path_service.h" | 16 #include "base/path_service.h" |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 base::RunLoop run_loop; | 378 base::RunLoop run_loop; |
| 377 installer_->UnregisterWhitelist(kOtherClientId, kCrxId); | 379 installer_->UnregisterWhitelist(kOtherClientId, kCrxId); |
| 378 run_loop.RunUntilIdle(); | 380 run_loop.RunUntilIdle(); |
| 379 } | 381 } |
| 380 EXPECT_FALSE(component_update_service_.registered_component()); | 382 EXPECT_FALSE(component_update_service_.registered_component()); |
| 381 EXPECT_FALSE(base::DirectoryExists(whitelist_directory_)); | 383 EXPECT_FALSE(base::DirectoryExists(whitelist_directory_)); |
| 382 EXPECT_FALSE(base::PathExists(whitelist_path_)); | 384 EXPECT_FALSE(base::PathExists(whitelist_path_)); |
| 383 } | 385 } |
| 384 | 386 |
| 385 } // namespace component_updater | 387 } // namespace component_updater |
| OLD | NEW |