Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(636)

Side by Side Diff: chromeos/printing/printer_configuration.cc

Issue 2343983004: Add PPDProvider barebones implementation and associated cache skeleton. (Closed)
Patch Set: Initial PPDProvider/PPDCache implementation. Also, add associated unittests. This doesn't plumb th… Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "chromeos/printing/printer_configuration.h" 5 #include "chromeos/printing/printer_configuration.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 namespace chromeos { 9 namespace chromeos {
10 10
11 Printer::Printer() {} 11 Printer::Printer() {}
12 12
13 Printer::Printer(const std::string& id) : id_(id) {} 13 Printer::Printer(const std::string& id) : id_(id) {}
14 14
15 Printer::Printer(const Printer& other) = default; 15 Printer::Printer(const Printer& other) = default;
16 16
17 Printer& Printer::operator=(const Printer& other) = default; 17 Printer& Printer::operator=(const Printer& other) = default;
18 18
19 Printer::~Printer() {} 19 Printer::~Printer() {}
20 20
21 void Printer::SetPPD(std::unique_ptr<Printer::PPDFile> ppd) {
22 ppd_ = *(ppd.get());
23 }
24
25 } // namespace chromeos 21 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698