chromium/chromeos/ash/components/dbus/cryptohome/account_identifier_operators.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chromeos/ash/components/dbus/cryptohome/account_identifier_operators.h"

namespace cryptohome {

bool operator<(const AccountIdentifier& l, const AccountIdentifier& r) {
  return l.account_id() < r.account_id();
}

bool operator==(const AccountIdentifier& l, const AccountIdentifier& r) {
  return l.account_id() == r.account_id();
}

}  // namespace cryptohome