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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/callback.h" | 6 #include "base/callback.h" |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
9 #include "base/files/scoped_temp_dir.h" | 9 #include "base/files/scoped_temp_dir.h" |
10 #include "base/json/json_file_value_serializer.h" | 10 #include "base/json/json_file_value_serializer.h" |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 { | 360 { |
361 base::RunLoop run_loop; | 361 base::RunLoop run_loop; |
362 installer_->UnregisterWhitelist(kOtherClientId, kCrxId); | 362 installer_->UnregisterWhitelist(kOtherClientId, kCrxId); |
363 run_loop.RunUntilIdle(); | 363 run_loop.RunUntilIdle(); |
364 } | 364 } |
365 EXPECT_FALSE(component_update_service_.registered_component()); | 365 EXPECT_FALSE(component_update_service_.registered_component()); |
366 EXPECT_FALSE(base::DirectoryExists(whitelist_directory_)); | 366 EXPECT_FALSE(base::DirectoryExists(whitelist_directory_)); |
367 } | 367 } |
368 | 368 |
369 } // namespace component_updater | 369 } // namespace component_updater |
OLD | NEW |