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

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

Issue 2552203007: Public Sessions - prompt the user for pageCapture requests (Closed)
Patch Set: Changed pref name & location; removed incognito code 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/extensions/api_test/page_capture/test.js » ('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 920 matching lines...) Expand 10 before | Expand all | Expand 10 after
931 // 1 - twelve hours. Users will have to enter their password every twelve hours. 931 // 1 - twelve hours. Users will have to enter their password every twelve hours.
932 // 2 - day. Users will have to enter their password every day. 932 // 2 - day. Users will have to enter their password every day.
933 // 3 - week. Users will have to enter their password every week. 933 // 3 - week. Users will have to enter their password every week.
934 const char kQuickUnlockTimeout[] = "quick_unlock_timeout"; 934 const char kQuickUnlockTimeout[] = "quick_unlock_timeout";
935 // Integer prefs indicating the minimum and maximum lengths of the lock screen 935 // Integer prefs indicating the minimum and maximum lengths of the lock screen
936 // pin. 936 // pin.
937 const char kPinUnlockMinimumLength[] = "pin_unlock_minimum_length"; 937 const char kPinUnlockMinimumLength[] = "pin_unlock_minimum_length";
938 const char kPinUnlockMaximumLength[] = "pin_unlock_maximum_length"; 938 const char kPinUnlockMaximumLength[] = "pin_unlock_maximum_length";
939 // Boolean pref indicating whether users are allowed to set easy pins. 939 // Boolean pref indicating whether users are allowed to set easy pins.
940 const char kPinUnlockWeakPinsAllowed[] = "pin_unlock_weak_pins_allowed"; 940 const char kPinUnlockWeakPinsAllowed[] = "pin_unlock_weak_pins_allowed";
941 // Dictionary saving user choices regarding granted permissions to
gab 2017/01/11 19:13:33 nit: Empty line above (others are together because
942 // extensions/apps for usage of APIs. In Public Sessions API usage is restricted
943 // to protect the user from a malicious device owner/admin. This dictionary will
944 // not be persisted across sessions.
945 const char kExtensionsPublicSessionPermissions[] =
946 "extensions.public_session_permissions";
941 #endif // defined(OS_CHROMEOS) 947 #endif // defined(OS_CHROMEOS)
942 948
943 // A boolean pref set to true if a Home button to open the Home pages should be 949 // A boolean pref set to true if a Home button to open the Home pages should be
944 // visible on the toolbar. 950 // visible on the toolbar.
945 const char kShowHomeButton[] = "browser.show_home_button"; 951 const char kShowHomeButton[] = "browser.show_home_button";
946 952
947 // Boolean pref to define the default setting for "block offensive words". 953 // Boolean pref to define the default setting for "block offensive words".
948 // The old key value is kept to avoid unnecessary migration code. 954 // The old key value is kept to avoid unnecessary migration code.
949 const char kSpeechRecognitionFilterProfanities[] = 955 const char kSpeechRecognitionFilterProfanities[] =
950 "browser.speechinput_censor_results"; 956 "browser.speechinput_censor_results";
(...skipping 1397 matching lines...) Expand 10 before | Expand all | Expand 10 after
2348 const char kSearchGeolocationPreDisclosureMetricsRecorded[] = 2354 const char kSearchGeolocationPreDisclosureMetricsRecorded[] =
2349 "search_geolocation_pre_disclosure_metrics_recorded"; 2355 "search_geolocation_pre_disclosure_metrics_recorded";
2350 2356
2351 // Whether the metrics for the state of geolocation post-disclosure being shown 2357 // Whether the metrics for the state of geolocation post-disclosure being shown
2352 // have been recorded. 2358 // have been recorded.
2353 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = 2359 const char kSearchGeolocationPostDisclosureMetricsRecorded[] =
2354 "search_geolocation_post_disclosure_metrics_recorded"; 2360 "search_geolocation_post_disclosure_metrics_recorded";
2355 #endif 2361 #endif
2356 2362
2357 } // namespace prefs 2363 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/extensions/api_test/page_capture/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698