| OLD | NEW | 
|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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> | 5 #include <stddef.h> | 
| 6 | 6 | 
| 7 #include <memory> | 7 #include <memory> | 
| 8 | 8 | 
| 9 #include "base/environment.h" | 9 #include "base/environment.h" | 
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" | 
| 11 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" | 
| 12 #include "base/i18n/case_conversion.h" | 12 #include "base/i18n/case_conversion.h" | 
| 13 #include "base/macros.h" | 13 #include "base/macros.h" | 
| 14 #include "base/memory/scoped_ptr.h" |  | 
| 15 #include "base/path_service.h" | 14 #include "base/path_service.h" | 
| 16 #include "base/scoped_native_library.h" | 15 #include "base/scoped_native_library.h" | 
| 17 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" | 
| 18 #include "base/strings/string_number_conversions.h" | 17 #include "base/strings/string_number_conversions.h" | 
| 19 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" | 
| 20 #include "base/test/test_reg_util_win.h" | 19 #include "base/test/test_reg_util_win.h" | 
| 21 #include "base/win/registry.h" | 20 #include "base/win/registry.h" | 
| 22 #include "chrome/common/chrome_version.h" | 21 #include "chrome/common/chrome_version.h" | 
| 23 #include "chrome_elf/blacklist/blacklist.h" | 22 #include "chrome_elf/blacklist/blacklist.h" | 
| 24 #include "chrome_elf/blacklist/test/blacklist_test_main_dll.h" | 23 #include "chrome_elf/blacklist/test/blacklist_test_main_dll.h" | 
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 342                                        &blacklist_state); | 341                                        &blacklist_state); | 
| 343   EXPECT_EQ(blacklist_state, blacklist::BLACKLIST_SETUP_RUNNING); | 342   EXPECT_EQ(blacklist_state, blacklist::BLACKLIST_SETUP_RUNNING); | 
| 344 | 343 | 
| 345   DWORD attempt_count = blacklist::kBeaconMaxAttempts; | 344   DWORD attempt_count = blacklist::kBeaconMaxAttempts; | 
| 346   blacklist_registry_key_->ReadValueDW(blacklist::kBeaconAttemptCount, | 345   blacklist_registry_key_->ReadValueDW(blacklist::kBeaconAttemptCount, | 
| 347                                        &attempt_count); | 346                                        &attempt_count); | 
| 348   EXPECT_EQ(static_cast<DWORD>(0), attempt_count); | 347   EXPECT_EQ(static_cast<DWORD>(0), attempt_count); | 
| 349 } | 348 } | 
| 350 | 349 | 
| 351 }  // namespace | 350 }  // namespace | 
| OLD | NEW | 
|---|