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

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

Issue 14215009: Changed cloud print private API to pass all page settings as single object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
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 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 2086 matching lines...) Expand 10 before | Expand all | Expand 10 after
2097 const char kCloudPrintEmail[] = "cloud_print.email"; 2097 const char kCloudPrintEmail[] = "cloud_print.email";
2098 // Settings specific to underlying print system. 2098 // Settings specific to underlying print system.
2099 const char kCloudPrintPrintSystemSettings[] = 2099 const char kCloudPrintPrintSystemSettings[] =
2100 "cloud_print.print_system_settings"; 2100 "cloud_print.print_system_settings";
2101 // A boolean indicating whether we should poll for print jobs when don't have 2101 // A boolean indicating whether we should poll for print jobs when don't have
2102 // an XMPP connection (false by default). 2102 // an XMPP connection (false by default).
2103 const char kCloudPrintEnableJobPoll[] = "cloud_print.enable_job_poll"; 2103 const char kCloudPrintEnableJobPoll[] = "cloud_print.enable_job_poll";
2104 const char kCloudPrintRobotRefreshToken[] = "cloud_print.robot_refresh_token"; 2104 const char kCloudPrintRobotRefreshToken[] = "cloud_print.robot_refresh_token";
2105 const char kCloudPrintRobotEmail[] = "cloud_print.robot_email"; 2105 const char kCloudPrintRobotEmail[] = "cloud_print.robot_email";
2106 // A boolean indicating whether we should connect to cloud print new printers. 2106 // A boolean indicating whether we should connect to cloud print new printers.
2107 const char kCloudPrintConnectNewPrinters[] = "cloud_print.connect_new_printers"; 2107 const char kCloudPrintConnectNewPrinters[] =
2108 "cloud_print.user_settings.connect_new_printers";
2108 // A boolean indicating whether we should ping XMPP connection. 2109 // A boolean indicating whether we should ping XMPP connection.
2109 const char kCloudPrintXmppPingEnabled[] = "cloud_print.xmpp_ping_enabled"; 2110 const char kCloudPrintXmppPingEnabled[] = "cloud_print.xmpp_ping_enabled";
2110 // An int value indicating the average timeout between xmpp pings. 2111 // An int value indicating the average timeout between xmpp pings.
2111 const char kCloudPrintXmppPingTimeout[] = "cloud_print.xmpp_ping_timeout_sec"; 2112 const char kCloudPrintXmppPingTimeout[] = "cloud_print.xmpp_ping_timeout_sec";
2112 // List of printers which should not be connected. 2113 // Dictionary with settings stored by connector setup page.
2113 const char kCloudPrintPrinterBlacklist[] = "cloud_print.printer_blacklist"; 2114 const char kCloudPrintUserSettings[] = "cloud_print.user_settings";
2115 // List of printers settings.
2116 extern const char kCloudPrintPrinters[] = "cloud_print.user_settings.printers";
2114 // A boolean indicating whether submitting jobs to Google Cloud Print is 2117 // A boolean indicating whether submitting jobs to Google Cloud Print is
2115 // blocked by policy. 2118 // blocked by policy.
2116 const char kCloudPrintSubmitEnabled[] = "cloud_print.submit_enabled"; 2119 const char kCloudPrintSubmitEnabled[] = "cloud_print.submit_enabled";
2117 2120
2118 // Preference to store proxy settings. 2121 // Preference to store proxy settings.
2119 const char kProxy[] = "proxy"; 2122 const char kProxy[] = "proxy";
2120 const char kMaxConnectionsPerProxy[] = "net.max_connections_per_proxy"; 2123 const char kMaxConnectionsPerProxy[] = "net.max_connections_per_proxy";
2121 2124
2122 // Preferences that are exclusively used to store managed values for default 2125 // Preferences that are exclusively used to store managed values for default
2123 // content settings. 2126 // content settings.
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
2380 // the time of the last ping. 2383 // the time of the last ping.
2381 extern const char kAppListLaunchCount[] = "app_list.launch_count"; 2384 extern const char kAppListLaunchCount[] = "app_list.launch_count";
2382 extern const char kLastAppListLaunchPing[] = "app_list.last_launch_ping"; 2385 extern const char kLastAppListLaunchPing[] = "app_list.last_launch_ping";
2383 2386
2384 // The number of times the an app was launched from the app launcher since last 2387 // The number of times the an app was launched from the app launcher since last
2385 // ping and the time of the last ping. 2388 // ping and the time of the last ping.
2386 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; 2389 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count";
2387 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; 2390 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping";
2388 2391
2389 } // namespace prefs 2392 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698