| OLD | NEW |
| 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 #ifndef CHROME_SERVICE_CLOUD_PRINT_CONNECTOR_SETTINGS_H_ | 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_CONNECTOR_SETTINGS_H_ |
| 6 #define CHROME_SERVICE_CLOUD_PRINT_CONNECTOR_SETTINGS_H_ | 6 #define CHROME_SERVICE_CLOUD_PRINT_CONNECTOR_SETTINGS_H_ |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include <set> | 9 #include <set> |
| 9 #include <string> | 10 #include <string> |
| 10 | 11 |
| 11 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 12 #include "base/macros.h" | 13 #include "base/macros.h" |
| 13 #include "base/memory/scoped_ptr.h" | |
| 14 #include "url/gurl.h" | 14 #include "url/gurl.h" |
| 15 | 15 |
| 16 class ServiceProcessPrefs; | 16 class ServiceProcessPrefs; |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 class DictionaryValue; | 19 class DictionaryValue; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace cloud_print { | 22 namespace cloud_print { |
| 23 | 23 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 bool xmpp_ping_enabled_; | 84 bool xmpp_ping_enabled_; |
| 85 | 85 |
| 86 // Indicate timeout between XMPP pings. | 86 // Indicate timeout between XMPP pings. |
| 87 int xmpp_ping_timeout_sec_; | 87 int xmpp_ping_timeout_sec_; |
| 88 | 88 |
| 89 // Black list if connect_new_printers_ is true, or whitelist if false. | 89 // Black list if connect_new_printers_ is true, or whitelist if false. |
| 90 typedef std::set<std::string> Printers; | 90 typedef std::set<std::string> Printers; |
| 91 Printers printers_; | 91 Printers printers_; |
| 92 | 92 |
| 93 // Print system settings. | 93 // Print system settings. |
| 94 scoped_ptr<base::DictionaryValue> print_system_settings_; | 94 std::unique_ptr<base::DictionaryValue> print_system_settings_; |
| 95 | 95 |
| 96 DISALLOW_COPY_AND_ASSIGN(ConnectorSettings); | 96 DISALLOW_COPY_AND_ASSIGN(ConnectorSettings); |
| 97 }; | 97 }; |
| 98 | 98 |
| 99 } // namespace cloud_print | 99 } // namespace cloud_print |
| 100 | 100 |
| 101 #endif // CHROME_SERVICE_CLOUD_PRINT_CONNECTOR_SETTINGS_H_ | 101 #endif // CHROME_SERVICE_CLOUD_PRINT_CONNECTOR_SETTINGS_H_ |
| 102 | 102 |
| OLD | NEW |