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

Side by Side Diff: chrome/common/pref_names.cc

Issue 12314053: Log the freshness of the Variations seed in a histogram. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: check comment Created 7 years, 9 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | 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 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after
1274 const char kMetricsOngoingLogsProto[] = 1274 const char kMetricsOngoingLogsProto[] =
1275 "user_experience_metrics.ongoing_logs_as_protobufs"; 1275 "user_experience_metrics.ongoing_logs_as_protobufs";
1276 1276
1277 // Boolean that is true when bookmark prompt is enabled. 1277 // Boolean that is true when bookmark prompt is enabled.
1278 const char kBookmarkPromptEnabled[] = "bookmark_prompt_enabled"; 1278 const char kBookmarkPromptEnabled[] = "bookmark_prompt_enabled";
1279 1279
1280 // Number of times bookmark prompt displayed. 1280 // Number of times bookmark prompt displayed.
1281 const char kBookmarkPromptImpressionCount[] = 1281 const char kBookmarkPromptImpressionCount[] =
1282 "bookmark_prompt_impression_count"; 1282 "bookmark_prompt_impression_count";
1283 1283
1284 // 64-bit integer serialization of the base::Time from the last successful seed
1285 // fetch (i.e. when the Variations server responds with 200 or 304).
1286 const char kVariationsLastFetchTime[] = "variations_last_fetch_time";
1287
1284 // String serialized form of variations seed protobuf. 1288 // String serialized form of variations seed protobuf.
1285 const char kVariationsSeed[] = "variations_seed"; 1289 const char kVariationsSeed[] = "variations_seed";
1286 1290
1287 // 64-bit integer serialization of the base::Time from the last seed received. 1291 // 64-bit integer serialization of the base::Time from the last seed received.
1288 const char kVariationsSeedDate[] = "variations_seed_date"; 1292 const char kVariationsSeedDate[] = "variations_seed_date";
1289 1293
1290 // Where profile specific metrics are placed. 1294 // Where profile specific metrics are placed.
1291 const char kProfileMetrics[] = "user_experience_metrics.profiles"; 1295 const char kProfileMetrics[] = "user_experience_metrics.profiles";
1292 1296
1293 // The metrics for a profile are stored as dictionary values under the 1297 // The metrics for a profile are stored as dictionary values under the
(...skipping 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after
2314 const char kRLZDisabled[] = "rlz.disabled"; 2318 const char kRLZDisabled[] = "rlz.disabled";
2315 #endif 2319 #endif
2316 2320
2317 #if defined(ENABLE_APP_LIST) 2321 #if defined(ENABLE_APP_LIST)
2318 // The directory in user data dir that contains the profile to be used with the 2322 // The directory in user data dir that contains the profile to be used with the
2319 // app launcher. 2323 // app launcher.
2320 extern const char kAppListProfile[] = "app_list.profile"; 2324 extern const char kAppListProfile[] = "app_list.profile";
2321 #endif 2325 #endif
2322 2326
2323 } // namespace prefs 2327 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698