Index: chromeos/printing/printer_configuration.h |
diff --git a/chromeos/printing/printer_configuration.h b/chromeos/printing/printer_configuration.h |
index a88b9cc1f56805fa1ccae25ef4ca14bb924565cb..fc82c293798c94a84e7f71e5216374fdf54c69d9 100644 |
--- a/chromeos/printing/printer_configuration.h |
+++ b/chromeos/printing/printer_configuration.h |
@@ -38,6 +38,10 @@ class CHROMEOS_EXPORT Printer { |
// Constructs a printer object with an id. |
explicit Printer(const std::string& id); |
+ // Copy constructor and assignment. |
+ explicit Printer(const Printer& printer); |
+ Printer& operator=(const Printer& printer); |
+ |
~Printer(); |
const std::string& id() const { return id_; } |
@@ -95,8 +99,6 @@ class CHROMEOS_EXPORT Printer { |
// The UUID from an autoconf protocol for deduplication. Could be empty. |
std::string uuid_; |
- |
- DISALLOW_COPY_AND_ASSIGN(Printer); |
}; |
} // namespace chromeos |