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

Side by Side Diff: rlz/lib/lib_values.cc

Issue 1547683004: Switch to standard integer types in rlz/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « rlz/lib/lib_values.h ('k') | rlz/lib/machine_id.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 (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 // Key and value names of the location of the RLZ shared state. 5 // Key and value names of the location of the RLZ shared state.
6 6
7 #include "rlz/lib/lib_values.h" 7 #include "rlz/lib/lib_values.h"
8 8
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "rlz/lib/assert.h" 10 #include "rlz/lib/assert.h"
(...skipping 27 matching lines...) Expand all
38 38
39 // 39 //
40 // Financial server information. 40 // Financial server information.
41 // 41 //
42 42
43 const char kFinancialPingPath[] = "/tools/pso/ping"; 43 const char kFinancialPingPath[] = "/tools/pso/ping";
44 const char kFinancialServer[] = "clients1.google.com"; 44 const char kFinancialServer[] = "clients1.google.com";
45 const int kFinancialPort = 80; 45 const int kFinancialPort = 80;
46 46
47 // Ping times in 100-nanosecond intervals. 47 // Ping times in 100-nanosecond intervals.
48 const int64 kEventsPingInterval = 24LL * 3600LL * 10000000LL; // 1 day 48 const int64_t kEventsPingInterval = 24LL * 3600LL * 10000000LL; // 1 day
49 const int64 kNoEventsPingInterval = kEventsPingInterval * 7LL; // 1 week 49 const int64_t kNoEventsPingInterval = kEventsPingInterval * 7LL; // 1 week
50 50
51 const char kFinancialPingUserAgent[] = "Mozilla/4.0 (compatible; Win32)"; 51 const char kFinancialPingUserAgent[] = "Mozilla/4.0 (compatible; Win32)";
52 const char* kFinancialPingResponseObjects[] = { "text/*", NULL }; 52 const char* kFinancialPingResponseObjects[] = { "text/*", NULL };
53 53
54 // 54 //
55 // AccessPoint and Event names. 55 // AccessPoint and Event names.
56 // 56 //
57 // 57 //
58 58
59 const char* GetAccessPointName(AccessPoint point) { 59 const char* GetAccessPointName(AccessPoint point) {
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 case WEBAPPS: return "W"; 199 case WEBAPPS: return "W";
200 case PINYIN_IME: return "N"; 200 case PINYIN_IME: return "N";
201 case PARTNER: return "V"; 201 case PARTNER: return "V";
202 } 202 }
203 203
204 ASSERT_STRING("GetProductName: Unknown Product"); 204 ASSERT_STRING("GetProductName: Unknown Product");
205 return ""; 205 return "";
206 } 206 }
207 207
208 } // namespace rlz_lib 208 } // namespace rlz_lib
OLDNEW
« no previous file with comments | « rlz/lib/lib_values.h ('k') | rlz/lib/machine_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698