1 // Copyright 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CLOUD_PRINT_GCP20_PROTOTYPE_LOCAL_SETTINGS_H_ 6 #define CLOUD_PRINT_GCP20_PROTOTYPE_LOCAL_SETTINGS_H_ 7 8 // Contains local settings. 9 struct LocalSettings { 10 enum State { 11 CURRENT, 12 PENDING, 13 PRINTER_DELETED, 14 }; 15 16 LocalSettings() 17 : local_discovery(true), 18 access_token_enabled(false), 19 local_printing_enabled(false), 20 xmpp_timeout_value(300) { 21 } 22 ~LocalSettings() {} 23 24 bool local_discovery; 25 bool access_token_enabled; 26 bool local_printing_enabled; 27 int xmpp_timeout_value; 28 }; 29 30 #endif // CLOUD_PRINT_GCP20_PROTOTYPE_LOCAL_SETTINGS_H_ 31 32