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

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

Issue 2643833002: Add a New Tab page location group policy (Closed)
Patch Set: CR Comments 1 Created 3 years, 11 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') | chrome/test/data/policy/policy_test_cases.json » ('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 #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
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
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
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698