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

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: Created 7 years, 10 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
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 1258 matching lines...) Expand 10 before | Expand all | Expand 10 after
1269 const char kMetricsOngoingLogsProto[] = 1269 const char kMetricsOngoingLogsProto[] =
1270 "user_experience_metrics.ongoing_logs_as_protobufs"; 1270 "user_experience_metrics.ongoing_logs_as_protobufs";
1271 1271
1272 // Boolean that is true when bookmark prompt is enabled. 1272 // Boolean that is true when bookmark prompt is enabled.
1273 const char kBookmarkPromptEnabled[] = "bookmark_prompt_enabled"; 1273 const char kBookmarkPromptEnabled[] = "bookmark_prompt_enabled";
1274 1274
1275 // Number of times bookmark prompt displayed. 1275 // Number of times bookmark prompt displayed.
1276 const char kBookmarkPromptImpressionCount[] = 1276 const char kBookmarkPromptImpressionCount[] =
1277 "bookmark_prompt_impression_count"; 1277 "bookmark_prompt_impression_count";
1278 1278
1279 // 64-bit integer serialization of the base::Time from the last successful seed
1280 // fetch (i.e. when the Variations server responds with 200 or 304).
1281 const char kVariationsLastFetchTime[] = "variations_last_fetch_time";
1282
1279 // String serialized form of variations seed protobuf. 1283 // String serialized form of variations seed protobuf.
1280 const char kVariationsSeed[] = "variations_seed"; 1284 const char kVariationsSeed[] = "variations_seed";
1281 1285
1282 // 64-bit integer serialization of the base::Time from the last seed received. 1286 // 64-bit integer serialization of the base::Time from the last seed received.
1283 const char kVariationsSeedDate[] = "variations_seed_date"; 1287 const char kVariationsSeedDate[] = "variations_seed_date";
1284 1288
1285 // Where profile specific metrics are placed. 1289 // Where profile specific metrics are placed.
1286 const char kProfileMetrics[] = "user_experience_metrics.profiles"; 1290 const char kProfileMetrics[] = "user_experience_metrics.profiles";
1287 1291
1288 // The metrics for a profile are stored as dictionary values under the 1292 // The metrics for a profile are stored as dictionary values under the
(...skipping 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after
2309 const char kRLZDisabled[] = "rlz.disabled"; 2313 const char kRLZDisabled[] = "rlz.disabled";
2310 #endif 2314 #endif
2311 2315
2312 #if defined(ENABLE_APP_LIST) 2316 #if defined(ENABLE_APP_LIST)
2313 // The directory in user data dir that contains the profile to be used with the 2317 // The directory in user data dir that contains the profile to be used with the
2314 // app launcher. 2318 // app launcher.
2315 extern const char kAppListProfile[] = "app_list.profile"; 2319 extern const char kAppListProfile[] = "app_list.profile";
2316 #endif 2320 #endif
2317 2321
2318 } // namespace prefs 2322 } // namespace prefs
OLDNEW
« chrome/browser/metrics/variations/variations_service.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698