Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Unified Diff: chrome/app/breakpad_field_trial_win.cc

Issue 10795060: Rename all of experiments_helper to variations_helper, including files, namespaces, and various fun… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: rebase Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/app/breakpad_unittest_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/breakpad_field_trial_win.cc
===================================================================
--- chrome/app/breakpad_field_trial_win.cc (revision 151328)
+++ chrome/app/breakpad_field_trial_win.cc (working copy)
@@ -25,7 +25,7 @@
size_t current_experiment = 0;
string16 current_chunk(google_breakpad::CustomInfoEntry::kValueMaxLength, 0);
while (current_experiment < experiment_strings_size &&
- num_chunks < kMaxReportedExperimentChunks) {
+ num_chunks < kMaxReportedVariationChunks) {
// Check if we have enough room to add another experiment to the current
// chunk string. If not, we commit the current chunk string and start over.
if (current_chunk.size() + wcslen(experiment_strings[current_experiment]) >
@@ -46,7 +46,7 @@
}
// Commit the last chunk that didn't get big enough yet.
- if (!current_chunk.empty() && num_chunks < kMaxReportedExperimentChunks) {
+ if (!current_chunk.empty() && num_chunks < kMaxReportedVariationChunks) {
base::wcslcpy(
(*breakpad_win::g_custom_entries)[
breakpad_win::g_experiment_chunks_offset + num_chunks].value,
@@ -55,7 +55,7 @@
}
// Make note of the total number of experiments,
- // even if it's > kMaxReportedExperimentChunks. This is useful when
+ // even if it's > kMaxReportedVariationChunks. This is useful when
// correlating stability with the number of experiments running
// simultaneously.
base::wcslcpy(
« no previous file with comments | « no previous file | chrome/app/breakpad_unittest_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698