OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <vector> | 5 #include <vector> |
6 | 6 |
7 #include "base/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
8 #include "breakpad/src/client/windows/common/ipc_protocol.h" | 8 #include "breakpad/src/client/windows/common/ipc_protocol.h" |
9 #include "chrome/app/breakpad_field_trial_win.h" | 9 #include "chrome/app/breakpad_field_trial_win.h" |
10 #include "chrome/app/breakpad_win.h" | 10 #include "chrome/app/breakpad_win.h" |
11 #include "chrome/common/child_process_logging.h" | 11 #include "chrome/common/child_process_logging.h" |
12 #include "chrome/common/metrics/variations/variations_util.h" | 12 #include "chrome/common/metrics/variations/variations_util.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 | 14 |
15 using breakpad_win::g_custom_entries; | 15 using breakpad_win::g_custom_entries; |
16 using breakpad_win::g_experiment_chunks_offset; | 16 using breakpad_win::g_experiment_chunks_offset; |
17 using breakpad_win::g_num_of_experiments_offset; | 17 using breakpad_win::g_num_of_experiments_offset; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 experiments.push_back(L"There-You Are"); | 75 experiments.push_back(L"There-You Are"); |
76 ValidateExperimentChunks(experiments); | 76 ValidateExperimentChunks(experiments); |
77 | 77 |
78 experiments.push_back(L"Peter-Sellers"); | 78 experiments.push_back(L"Peter-Sellers"); |
79 ValidateExperimentChunks(experiments); | 79 ValidateExperimentChunks(experiments); |
80 | 80 |
81 experiments.push_back(L"Eat me-Drink me"); | 81 experiments.push_back(L"Eat me-Drink me"); |
82 ValidateExperimentChunks(experiments); | 82 ValidateExperimentChunks(experiments); |
83 } | 83 } |
OLD | NEW |