| 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 "chrome/browser/chrome_elf_init_win.h" | 5 #include "chrome/browser/chrome_elf_init_win.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/metrics/field_trial.h" | 9 #include "base/metrics/field_trial.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
| 12 #include "base/test/test_reg_util_win.h" | 12 #include "base/test/test_reg_util_win.h" |
| 13 #include "chrome/common/chrome_version.h" | |
| 14 #include "chrome_elf/chrome_elf_constants.h" | 13 #include "chrome_elf/chrome_elf_constants.h" |
| 15 #include "components/variations/entropy_provider.h" | 14 #include "components/variations/entropy_provider.h" |
| 16 #include "components/variations/variations_associated_data.h" | 15 #include "components/variations/variations_associated_data.h" |
| 17 #include "components/version_info/version_info.h" | 16 #include "components/version_info/version_info.h" |
| 18 #include "content/public/test/test_browser_thread_bundle.h" | 17 #include "content/public/test/test_browser_thread_bundle.h" |
| 19 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
| 19 #include "version.h" // NOLINT |
| 20 | 20 |
| 21 namespace { | 21 namespace { |
| 22 | 22 |
| 23 const char kBrowserBlacklistTrialEnabledGroupName[] = "Enabled"; | 23 const char kBrowserBlacklistTrialEnabledGroupName[] = "Enabled"; |
| 24 | 24 |
| 25 class ChromeBlacklistTrialTest : public testing::Test { | 25 class ChromeBlacklistTrialTest : public testing::Test { |
| 26 protected: | 26 protected: |
| 27 ChromeBlacklistTrialTest() {} | 27 ChromeBlacklistTrialTest() {} |
| 28 ~ChromeBlacklistTrialTest() override {} | 28 ~ChromeBlacklistTrialTest() override {} |
| 29 | 29 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 | 187 |
| 188 for (std::map<std::string, std::string>::iterator it = desired_params.begin(); | 188 for (std::map<std::string, std::string>::iterator it = desired_params.begin(); |
| 189 it != desired_params.end(); | 189 it != desired_params.end(); |
| 190 ++it) { | 190 ++it) { |
| 191 std::wstring name = base::UTF8ToWide(it->first); | 191 std::wstring name = base::UTF8ToWide(it->first); |
| 192 ASSERT_TRUE(finch_blacklist_registry_key.HasValue(name.c_str())); | 192 ASSERT_TRUE(finch_blacklist_registry_key.HasValue(name.c_str())); |
| 193 } | 193 } |
| 194 } | 194 } |
| 195 | 195 |
| 196 } // namespace | 196 } // namespace |
| OLD | NEW |