| OLD | NEW |
| 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/macros.h" | 7 #include "base/macros.h" |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "chrome/common/features.h" | 9 #include "chrome/common/features.h" |
| 10 #include "chrome/common/pref_font_webkit_names.h" | 10 #include "chrome/common/pref_font_webkit_names.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 const char kHomePage[] = "homepage"; | 69 const char kHomePage[] = "homepage"; |
| 70 | 70 |
| 71 #if defined(OS_WIN) | 71 #if defined(OS_WIN) |
| 72 // This is a timestamp of the last time this profile was reset by a third party | 72 // This is a timestamp of the last time this profile was reset by a third party |
| 73 // tool. On Windows, a third party tool may set a registry value that will be | 73 // tool. On Windows, a third party tool may set a registry value that will be |
| 74 // compared to this value and if different will result in a profile reset | 74 // compared to this value and if different will result in a profile reset |
| 75 // prompt. See triggered_profile_resetter.h for more information. | 75 // prompt. See triggered_profile_resetter.h for more information. |
| 76 const char kLastProfileResetTimestamp[] = "profile.last_reset_timestamp"; | 76 const char kLastProfileResetTimestamp[] = "profile.last_reset_timestamp"; |
| 77 #endif | 77 #endif |
| 78 | 78 |
| 79 // The URL to open the new tab page to. Only set by Group Policy. |
| 80 const char kNewTabPageLocationOverride[] = "newtab_page_location_override"; |
| 81 |
| 79 // An integer that keeps track of the profile icon version. This allows us to | 82 // An integer that keeps track of the profile icon version. This allows us to |
| 80 // determine the state of the profile icon for icon format changes. | 83 // determine the state of the profile icon for icon format changes. |
| 81 const char kProfileIconVersion[] = "profile.icon_version"; | 84 const char kProfileIconVersion[] = "profile.icon_version"; |
| 82 | 85 |
| 83 // Used to determine if the last session exited cleanly. Set to false when | 86 // Used to determine if the last session exited cleanly. Set to false when |
| 84 // first opened, and to true when closing. On startup if the value is false, | 87 // first opened, and to true when closing. On startup if the value is false, |
| 85 // it means the profile didn't exit cleanly. | 88 // it means the profile didn't exit cleanly. |
| 86 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards | 89 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards |
| 87 // compatibility. | 90 // compatibility. |
| 88 const char kSessionExitedCleanly[] = "profile.exited_cleanly"; | 91 const char kSessionExitedCleanly[] = "profile.exited_cleanly"; |
| (...skipping 2266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2355 // have been recorded. | 2358 // have been recorded. |
| 2356 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = | 2359 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = |
| 2357 "search_geolocation_post_disclosure_metrics_recorded"; | 2360 "search_geolocation_post_disclosure_metrics_recorded"; |
| 2358 #endif | 2361 #endif |
| 2359 | 2362 |
| 2360 // A dictionary which stores whether location access is enabled for the current | 2363 // A dictionary which stores whether location access is enabled for the current |
| 2361 // default search engine, if it is the Google search engine. | 2364 // default search engine, if it is the Google search engine. |
| 2362 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting"; | 2365 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting"; |
| 2363 | 2366 |
| 2364 } // namespace prefs | 2367 } // namespace prefs |
| OLD | NEW |