Chromium Code Reviews| Index: chromeos/dbus/utils.cc |
| diff --git a/chromeos/dbus/utils.cc b/chromeos/dbus/utils.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..fc2eacdd66577b47341de8a73f3fc5852d05eafa |
| --- /dev/null |
| +++ b/chromeos/dbus/utils.cc |
| @@ -0,0 +1,17 @@ |
| +// 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/dbus/utils.h" |
| + |
| +#include "chromeos/cryptohome/cryptohome_parameters.h" |
| +#include "chromeos/dbus/cryptohome/rpc.pb.h" |
| + |
| +namespace chromeos { |
| + |
| +void FillIdentificationProtobuf(const cryptohome::Identification& id, |
| + cryptohome::AccountIdentifier* id_proto) { |
| + id_proto->set_account_id(id.id()); |
|
stevenjb
2016/02/23 19:27:34
Is there a reason this can't be a member of crypto
Alexander Alekseev
2016/02/24 09:27:42
What do you mean?
AccountIdentifier is autogenerat
stevenjb
2016/02/24 17:25:43
Ah, I see. It is too bad that isn't namespaced so
|
| +} |
| + |
| +} // namespace chromeos |