| Index: trunk/src/components/variations/variations_http_header_provider_unittest.cc
|
| ===================================================================
|
| --- trunk/src/components/variations/variations_http_header_provider_unittest.cc (revision 285674)
|
| +++ trunk/src/components/variations/variations_http_header_provider_unittest.cc (working copy)
|
| @@ -17,6 +17,12 @@
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "url/gurl.h"
|
|
|
| +// TODO(mathp): Remove once everything is under namespace 'variations'.
|
| +using chrome_variations::GOOGLE_WEB_PROPERTIES;
|
| +using chrome_variations::GOOGLE_WEB_PROPERTIES_TRIGGER;
|
| +using chrome_variations::IDCollectionKey;
|
| +using chrome_variations::VariationID;
|
| +
|
| namespace variations {
|
|
|
| namespace {
|
| @@ -38,14 +44,13 @@
|
| }
|
|
|
| scoped_refptr<base::FieldTrial> CreateTrialAndAssociateId(
|
| - const std::string& trial_name,
|
| - const std::string& default_group_name,
|
| - IDCollectionKey key,
|
| - VariationID id) {
|
| + const std::string& trial_name, const std::string& default_group_name,
|
| + IDCollectionKey key, VariationID id) {
|
| scoped_refptr<base::FieldTrial> trial(
|
| base::FieldTrialList::CreateFieldTrial(trial_name, default_group_name));
|
|
|
| - AssociateGoogleVariationID(key, trial->trial_name(), trial->group_name(), id);
|
| + chrome_variations::AssociateGoogleVariationID(key, trial->trial_name(),
|
| + trial->group_name(), id);
|
|
|
| return trial;
|
| }
|
| @@ -59,7 +64,7 @@
|
| virtual ~VariationsHttpHeaderProviderTest() {}
|
|
|
| virtual void TearDown() OVERRIDE {
|
| - testing::ClearAllVariationIDs();
|
| + chrome_variations::testing::ClearAllVariationIDs();
|
| }
|
| };
|
|
|
| @@ -151,6 +156,7 @@
|
| {"http://ssl.gstatic.com", true},
|
| {"http://a.b.gstatic.com", true},
|
| {"http://a.b.ytimg.com", true},
|
| +
|
| };
|
|
|
| for (size_t i = 0; i < ARRAYSIZE_UNSAFE(cases); ++i) {
|
|
|