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

Unified Diff: chrome/common/child_process_logging_mac.mm

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 | « chrome/common/child_process_logging.h ('k') | chrome/common/metrics/experiments_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/child_process_logging_mac.mm
===================================================================
--- chrome/common/child_process_logging_mac.mm (revision 151328)
+++ chrome/common/child_process_logging_mac.mm (working copy)
@@ -13,7 +13,7 @@
#include "base/stringprintf.h"
#include "base/sys_string_conversions.h"
#include "base/utf_string_conversions.h"
-#include "chrome/common/metrics/experiments_helper.h"
+#include "chrome/common/metrics/variations_util.h"
#include "chrome/installer/util/google_update_settings.h"
#include "content/public/common/gpu_info.h"
#include "googleurl/src/gurl.h"
@@ -227,10 +227,10 @@
NSString* const kExperimentChunkFormat = @"experiment-chunk-%zu"; // 1-based.
std::vector<string16> chunks;
- experiments_helper::GenerateExperimentChunks(experiments, &chunks);
+ chrome_variations::GenerateVariationChunks(experiments, &chunks);
- // Store up to |kMaxReportedExperimentChunks| chunks.
- for (size_t i = 0; i < kMaxReportedExperimentChunks; ++i) {
+ // Store up to |kMaxReportedVariationChunks| chunks.
+ for (size_t i = 0; i < kMaxReportedVariationChunks; ++i) {
NSString* key = [NSString stringWithFormat:kExperimentChunkFormat, i + 1];
if (i < chunks.size()) {
NSString* value = base::SysUTF16ToNSString(chunks[i]);
@@ -241,8 +241,8 @@
}
// Make note of the total number of experiments, which may be greater than
- // what was able to fit in |kMaxReportedExperimentChunks|. This is useful
- // when correlating stability with the number of experiments running
+ // what was able to fit in |kMaxReportedVariationChunks|. This is useful when
+ // correlating stability with the number of experiments running
// simultaneously.
SetCrashKeyValue(kNumExperimentsKey,
[NSString stringWithFormat:@"%zu", experiments.size()]);
« no previous file with comments | « chrome/common/child_process_logging.h ('k') | chrome/common/metrics/experiments_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698