Chromium Code Reviews| Index: chromeos/printing/printer_configuration.cc |
| diff --git a/chromeos/printing/printer_configuration.cc b/chromeos/printing/printer_configuration.cc |
| index 9b6f66328c93af86efccb2da3a47f6a19cb1f1e6..992032f5728e2afeabbb4ec525f601bd6000c20c 100644 |
| --- a/chromeos/printing/printer_configuration.cc |
| +++ b/chromeos/printing/printer_configuration.cc |
| @@ -10,11 +10,12 @@ |
| namespace chromeos { |
| -Printer::Printer() : source_(SRC_USER_PREFS) { |
| +Printer::Printer() : source_(SRC_USER_PREFS), last_updated_() { |
|
Lei Zhang
2017/05/08 21:42:48
No need to initialize |last_updated_| here.
skau
2017/05/09 00:52:01
Done.
|
| id_ = base::GenerateGUID(); |
| } |
| -Printer::Printer(const std::string& id) : id_(id), source_(SRC_USER_PREFS) { |
| +Printer::Printer(const std::string& id, const base::Time& last_updated) |
| + : id_(id), source_(SRC_USER_PREFS), last_updated_(last_updated) { |
| if (id_.empty()) |
| id_ = base::GenerateGUID(); |
| } |