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 "chrome/installer/gcapi/gcapi_omaha_experiment.h" | 5 #include "chrome/installer/gcapi/gcapi_omaha_experiment.h" |
6 | 6 |
7 #include "base/basictypes.h" | |
8 #include "base/strings/string_split.h" | 7 #include "base/strings/string_split.h" |
9 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
10 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
11 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
12 #include "base/time/time.h" | 11 #include "base/time/time.h" |
13 #include "chrome/installer/gcapi/gcapi.h" | 12 #include "chrome/installer/gcapi/gcapi.h" |
14 #include "chrome/installer/util/google_update_constants.h" | 13 #include "chrome/installer/util/google_update_constants.h" |
15 #include "chrome/installer/util/google_update_settings.h" | 14 #include "chrome/installer/util/google_update_settings.h" |
16 #include "components/variations/variations_experiment_util.h" | 15 #include "components/variations/variations_experiment_util.h" |
17 | 16 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 bool SetReactivationExperimentLabels(const wchar_t* brand_code, | 100 bool SetReactivationExperimentLabels(const wchar_t* brand_code, |
102 int shell_mode) { | 101 int shell_mode) { |
103 return SetExperimentLabel(brand_code, gcapi_internals::kReactivationLabel, | 102 return SetExperimentLabel(brand_code, gcapi_internals::kReactivationLabel, |
104 shell_mode); | 103 shell_mode); |
105 } | 104 } |
106 | 105 |
107 bool SetRelaunchExperimentLabels(const wchar_t* brand_code, int shell_mode) { | 106 bool SetRelaunchExperimentLabels(const wchar_t* brand_code, int shell_mode) { |
108 return SetExperimentLabel(brand_code, gcapi_internals::kRelaunchLabel, | 107 return SetExperimentLabel(brand_code, gcapi_internals::kRelaunchLabel, |
109 shell_mode); | 108 shell_mode); |
110 } | 109 } |
OLD | NEW |