Chromium Code Reviews| Index: chromeos/printing/printer_configuration.cc |
| diff --git a/chromeos/printing/printer_configuration.cc b/chromeos/printing/printer_configuration.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..256f70b27c0219c5d604bfe42edfa5e65b0b08b2 |
| --- /dev/null |
| +++ b/chromeos/printing/printer_configuration.cc |
| @@ -0,0 +1,21 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "chromeos/printing/printer_configuration.h" |
| + |
| +#include <string> |
| + |
| +namespace chromeos { |
| + |
| +Printer::Printer() {} |
| + |
| +Printer::Printer(const std::string& id) : id_(id) {} |
| + |
| +Printer::~Printer() {} |
| + |
| +void Printer::SetPPD(std::unique_ptr<Printer::PPDFile> ppd) { |
| + ppd_ = *(ppd.release()); |
|
Lei Zhang
2016/08/03 16:28:06
Ya, probably a bad release() here. Should be a .ge
|
| +} |
| + |
| +} // namespace chromeos |