summaryrefslogtreecommitdiffstats
path: root/chrome/app/breakpad_field_trial_win.h
diff options
context:
space:
mode:
authorasvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-27 17:30:49 +0000
committerasvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-27 17:30:49 +0000
commite0984917cf86a4b6c722b049817b9b35a802bec5 (patch)
treea9c19f998ab14478fcba1157255ae67bc317ff87 /chrome/app/breakpad_field_trial_win.h
parent58bbb201e005be5bc97366e88ef29654ef448d08 (diff)
downloadchromium_src-e0984917cf86a4b6c722b049817b9b35a802bec5.zip
chromium_src-e0984917cf86a4b6c722b049817b9b35a802bec5.tar.gz
chromium_src-e0984917cf86a4b6c722b049817b9b35a802bec5.tar.bz2
Rewrite Windows crash field trial tagging to use chrome_variations::GenerateVariationChunks.
This simplifies the code and results in better code sharing between platforms. Also fixes a problem where the first experiment chunk's value would be empty (with an added unit test). BUG=151532 TEST=Expanded breakpad_unittest_win.cc tests. Review URL: https://chromiumcodereview.appspot.com/10969013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159060 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad_field_trial_win.h')
-rw-r--r--chrome/app/breakpad_field_trial_win.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/app/breakpad_field_trial_win.h b/chrome/app/breakpad_field_trial_win.h
index 1e8b35d..bad21a2 100644
--- a/chrome/app/breakpad_field_trial_win.h
+++ b/chrome/app/breakpad_field_trial_win.h
@@ -11,7 +11,11 @@
namespace testing {
-void SetExperimentList(const std::vector<string16>& experiment_strings);
+// Sets the breakpad experiment chunks for testing. |chunks| is the list of
+// values to set, where each entry may contain multiple experiment tuples, with
+// the total number of experiments indicated by |experiments_chunks|.
+void SetExperimentChunks(const std::vector<string16>& chunks,
+ size_t experiments_count);
} // namespace testing