| Index: chrome/service/cloud_print/connector_settings.h
|
| diff --git a/chrome/service/cloud_print/connector_settings.h b/chrome/service/cloud_print/connector_settings.h
|
| index 50eaa82888c5af73ac8a4d4ae7f2e17f24d64a53..9750727b594e72be61c9dc87c4b9623193d78e97 100644
|
| --- a/chrome/service/cloud_print/connector_settings.h
|
| +++ b/chrome/service/cloud_print/connector_settings.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef CHROME_SERVICE_CLOUD_PRINT_CONNECTOR_SETTINGS_H_
|
| #define CHROME_SERVICE_CLOUD_PRINT_CONNECTOR_SETTINGS_H_
|
|
|
| +#include <set>
|
| #include <string>
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| @@ -37,10 +38,16 @@ class ConnectorSettings {
|
| return delete_on_enum_fail_;
|
| }
|
|
|
| + bool connect_new_printers() const {
|
| + return connect_new_printers_;
|
| + };
|
| +
|
| const base::DictionaryValue* print_system_settings() const {
|
| return print_system_settings_.get();
|
| };
|
|
|
| + bool IsPrinterBlacklisted(const std::string& name) const;
|
| +
|
| private:
|
| // Cloud Print server url.
|
| GURL server_url_;
|
| @@ -53,6 +60,12 @@ class ConnectorSettings {
|
| // even if the local enumeration failed.
|
| bool delete_on_enum_fail_;
|
|
|
| + // If true register all new printers in cloud print.
|
| + bool connect_new_printers_;
|
| +
|
| + // List of printers which should not be connected.
|
| + std::set<std::string> printer_blacklist_;
|
| +
|
| // Print system settings.
|
| scoped_ptr<base::DictionaryValue> print_system_settings_;
|
|
|
|
|