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

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

Issue 11232048: Adding XMPP ping functionality to CLoudPrint. XMPP ping and timeout is controlled thorugh Service S… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed Created 8 years, 1 month 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/service/cloud_print/cloud_print_consts.h » ('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/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 1893 matching lines...) Expand 10 before | Expand all | Expand 10 after
1904 // Settings specific to underlying print system. 1904 // Settings specific to underlying print system.
1905 const char kCloudPrintPrintSystemSettings[] = 1905 const char kCloudPrintPrintSystemSettings[] =
1906 "cloud_print.print_system_settings"; 1906 "cloud_print.print_system_settings";
1907 // A boolean indicating whether we should poll for print jobs when don't have 1907 // A boolean indicating whether we should poll for print jobs when don't have
1908 // an XMPP connection (false by default). 1908 // an XMPP connection (false by default).
1909 const char kCloudPrintEnableJobPoll[] = "cloud_print.enable_job_poll"; 1909 const char kCloudPrintEnableJobPoll[] = "cloud_print.enable_job_poll";
1910 const char kCloudPrintRobotRefreshToken[] = "cloud_print.robot_refresh_token"; 1910 const char kCloudPrintRobotRefreshToken[] = "cloud_print.robot_refresh_token";
1911 const char kCloudPrintRobotEmail[] = "cloud_print.robot_email"; 1911 const char kCloudPrintRobotEmail[] = "cloud_print.robot_email";
1912 // A boolean indicating whether we should connect to cloud print new printers. 1912 // A boolean indicating whether we should connect to cloud print new printers.
1913 const char kCloudPrintConnectNewPrinters[] = "cloud_print.connect_new_printers"; 1913 const char kCloudPrintConnectNewPrinters[] = "cloud_print.connect_new_printers";
1914 // A boolean indicating whether we should ping XMPP connection.
1915 const char kCloudPrintXmppPingEnabled[] = "cloud_print.xmpp_ping_enabled";
1916 // An int value indicating the average timeout between xmpp pings.
1917 const char kCloudPrintXmppPingTimeout[] = "cloud_print.xmpp_ping_timeout_sec";
1914 // List of printers which should not be connected. 1918 // List of printers which should not be connected.
1915 const char kCloudPrintPrinterBlacklist[] = "cloud_print.printer_blacklist"; 1919 const char kCloudPrintPrinterBlacklist[] = "cloud_print.printer_blacklist";
1916 // A boolean indicating whether submitting jobs to Google Cloud Print is 1920 // A boolean indicating whether submitting jobs to Google Cloud Print is
1917 // blocked by policy. 1921 // blocked by policy.
1918 const char kCloudPrintSubmitEnabled[] = "cloud_print.submit_enabled"; 1922 const char kCloudPrintSubmitEnabled[] = "cloud_print.submit_enabled";
1919 1923
1920 // Preference to store proxy settings. 1924 // Preference to store proxy settings.
1921 const char kProxy[] = "proxy"; 1925 const char kProxy[] = "proxy";
1922 const char kMaxConnectionsPerProxy[] = "net.max_connections_per_proxy"; 1926 const char kMaxConnectionsPerProxy[] = "net.max_connections_per_proxy";
1923 1927
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
2088 // Tracks the time of the last shown warning. Used to reset 2092 // Tracks the time of the last shown warning. Used to reset
2089 // |network_profile.warnings_left| after a silence period. 2093 // |network_profile.warnings_left| after a silence period.
2090 const char kNetworkProfileLastWarningTime[] = 2094 const char kNetworkProfileLastWarningTime[] =
2091 "network_profile.last_warning_time"; 2095 "network_profile.last_warning_time";
2092 2096
2093 // 64-bit serialization of the time last policy usage statistics were collected 2097 // 64-bit serialization of the time last policy usage statistics were collected
2094 // by UMA_HISTOGRAM_ENUMERATION. 2098 // by UMA_HISTOGRAM_ENUMERATION.
2095 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; 2099 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update";
2096 2100
2097 } // namespace prefs 2101 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/service/cloud_print/cloud_print_consts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698