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

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

Issue 2161933003: Define printer configuration objects for Chrome OS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: export id constant Created 4 years, 4 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/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/pref_font_webkit_names.h" 9 #include "chrome/common/pref_font_webkit_names.h"
10 10
(...skipping 1134 matching lines...) Expand 10 before | Expand all | Expand 10 after
1145 const char kPrintingEnabled[] = "printing.enabled"; 1145 const char kPrintingEnabled[] = "printing.enabled";
1146 1146
1147 // Boolean controlling whether print preview is disabled. 1147 // Boolean controlling whether print preview is disabled.
1148 const char kPrintPreviewDisabled[] = "printing.print_preview_disabled"; 1148 const char kPrintPreviewDisabled[] = "printing.print_preview_disabled";
1149 1149
1150 // A pref holding the value of the policy used to control default destination 1150 // A pref holding the value of the policy used to control default destination
1151 // selection in the Print Preview. See DefaultPrinterSelection policy. 1151 // selection in the Print Preview. See DefaultPrinterSelection policy.
1152 const char kPrintPreviewDefaultDestinationSelectionRules[] = 1152 const char kPrintPreviewDefaultDestinationSelectionRules[] =
1153 "printing.default_destination_selection_rules"; 1153 "printing.default_destination_selection_rules";
1154 1154
1155 #if defined(OS_CHROMEOS)
1156 // List of all printers that the user has configured.
1157 const char kPrintingDevices[] = "printing.devices";
1158 #endif // OS_CHROMEOS
1159
1155 // An integer pref specifying the fallback behavior for sites outside of content 1160 // An integer pref specifying the fallback behavior for sites outside of content
1156 // packs. One of: 1161 // packs. One of:
1157 // 0: Allow (does nothing) 1162 // 0: Allow (does nothing)
1158 // 1: Warn. 1163 // 1: Warn.
1159 // 2: Block. 1164 // 2: Block.
1160 const char kDefaultSupervisedUserFilteringBehavior[] = 1165 const char kDefaultSupervisedUserFilteringBehavior[] =
1161 "profile.managed.default_filtering_behavior"; 1166 "profile.managed.default_filtering_behavior";
1162 1167
1163 // Whether this user is permitted to create supervised users. 1168 // Whether this user is permitted to create supervised users.
1164 const char kSupervisedUserCreationAllowed[] = 1169 const char kSupervisedUserCreationAllowed[] =
(...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after
2239 #endif 2244 #endif
2240 2245
2241 // The base64-encoded representation of the public key to use to validate origin 2246 // The base64-encoded representation of the public key to use to validate origin
2242 // trial token signatures. 2247 // trial token signatures.
2243 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2248 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2244 2249
2245 // A list of origin trial features to disable by policy. 2250 // A list of origin trial features to disable by policy.
2246 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2251 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2247 2252
2248 } // namespace prefs 2253 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698