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

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

Issue 2545663002: Hookup the PpdProvider in the printer setup flow. (Closed)
Patch Set: Created 4 years 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 #include "base/guid.h" 9 #include "base/guid.h"
10 10
11 namespace chromeos { 11 namespace chromeos {
12 12
13 // static
14 bool Printer::IsIppEverywhere(const Printer& printer) {
15 // TODO(skau): Add check for IPP Everywhere value.
16 return false;
17 }
18
13 Printer::Printer() { 19 Printer::Printer() {
14 id_ = base::GenerateGUID(); 20 id_ = base::GenerateGUID();
15 } 21 }
16 22
17 Printer::Printer(const std::string& id) : id_(id) { 23 Printer::Printer(const std::string& id) : id_(id) {
18 if (id_.empty()) 24 if (id_.empty())
19 id_ = base::GenerateGUID(); 25 id_ = base::GenerateGUID();
20 } 26 }
21 27
22 Printer::Printer(const Printer& other) = default; 28 Printer::Printer(const Printer& other) = default;
23 29
24 Printer& Printer::operator=(const Printer& other) = default; 30 Printer& Printer::operator=(const Printer& other) = default;
25 31
26 Printer::~Printer() {} 32 Printer::~Printer() {}
27 33
28 } // namespace chromeos 34 } // namespace chromeos
OLDNEW
« chromeos/printing/printer_configuration.h ('K') | « chromeos/printing/printer_configuration.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698