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

Side by Side Diff: chrome/installer/util/google_update_experiment_util.cc

Issue 291653007: Cleanup, mostly replacing uses of SplitStringUsingSubstr() with SplitString(), (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« no previous file with comments | « chrome/installer/util/google_update_experiment_util.h ('k') | net/base/mime_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/util/google_update_experiment_util.h" 5 #include "chrome/installer/util/google_update_experiment_util.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 13
14 namespace google_update { 14 namespace google_update {
15 15
16 #if defined(OS_WIN) 16 #if defined(OS_WIN)
17 const wchar_t kExperimentLabels[] = L"experiment_labels"; 17 const wchar_t kExperimentLabels[] = L"experiment_labels";
18 #endif 18 #endif
19 19
20 const char kExperimentLabelSep[] = ";"; 20 const base::char16 kExperimentLabelSeparator = ';';
21 21
22 } // namespace google_update 22 } // namespace google_update
23 23
24 namespace installer { 24 namespace installer {
25 25
26 namespace { 26 namespace {
27 27
28 const char* const kDays[] = 28 const char* const kDays[] =
29 { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; 29 { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
30 30
(...skipping 25 matching lines...) Expand all
56 then.day_of_month, 56 then.day_of_month,
57 kMonths[then.month - 1], 57 kMonths[then.month - 1],
58 then.year, 58 then.year,
59 then.hour, 59 then.hour,
60 then.minute, 60 then.minute,
61 then.second)); 61 then.second));
62 } 62 }
63 63
64 } // namespace installer 64 } // namespace installer
65 65
OLDNEW
« no previous file with comments | « chrome/installer/util/google_update_experiment_util.h ('k') | net/base/mime_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698