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

Side by Side Diff: chrome/browser/chrome_browser_field_trials.cc

Issue 16742003: Use a direct include of strings headers in chrome/browser/a*-c*/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/browser/chrome_browser_field_trials.h" 5 #include "chrome/browser/chrome_browser_field_trials.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
11 #include "base/prefs/pref_service.h" 11 #include "base/prefs/pref_service.h"
12 #include "base/string_util.h" 12 #include "base/strings/string_util.h"
13 #include "base/time.h" 13 #include "base/time.h"
14 #include "chrome/browser/omnibox/omnibox_field_trial.h" 14 #include "chrome/browser/omnibox/omnibox_field_trial.h"
15 #include "chrome/common/chrome_switches.h" 15 #include "chrome/common/chrome_switches.h"
16 #include "chrome/common/chrome_version_info.h" 16 #include "chrome/common/chrome_version_info.h"
17 #include "chrome/common/metrics/variations/uniformity_field_trials.h" 17 #include "chrome/common/metrics/variations/uniformity_field_trials.h"
18 #include "chrome/common/pref_names.h" 18 #include "chrome/common/pref_names.h"
19 19
20 #if defined(OS_ANDROID) || defined(OS_IOS) 20 #if defined(OS_ANDROID) || defined(OS_IOS)
21 #include "chrome/browser/chrome_browser_field_trials_mobile.h" 21 #include "chrome/browser/chrome_browser_field_trials_mobile.h"
22 #else 22 #else
(...skipping 30 matching lines...) Expand all
53 // Call |FindValue()| on the trials below, which may come from the server, to 53 // Call |FindValue()| on the trials below, which may come from the server, to
54 // ensure they get marked as "used" for the purposes of data reporting. 54 // ensure they get marked as "used" for the purposes of data reporting.
55 base::FieldTrialList::FindValue("UMA-Dynamic-Binary-Uniformity-Trial"); 55 base::FieldTrialList::FindValue("UMA-Dynamic-Binary-Uniformity-Trial");
56 base::FieldTrialList::FindValue("UMA-Dynamic-Uniformity-Trial"); 56 base::FieldTrialList::FindValue("UMA-Dynamic-Uniformity-Trial");
57 base::FieldTrialList::FindValue("InstantDummy"); 57 base::FieldTrialList::FindValue("InstantDummy");
58 base::FieldTrialList::FindValue("InstantChannel"); 58 base::FieldTrialList::FindValue("InstantChannel");
59 base::FieldTrialList::FindValue("Test0PercentDefault"); 59 base::FieldTrialList::FindValue("Test0PercentDefault");
60 // Activate the autocomplete dynamic field trials. 60 // Activate the autocomplete dynamic field trials.
61 OmniboxFieldTrial::ActivateDynamicTrials(); 61 OmniboxFieldTrial::ActivateDynamicTrials();
62 } 62 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_application_mac.mm ('k') | chrome/browser/chrome_browser_field_trials_desktop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698