blob: 7c29673fd2f8aa95c99198c6c0d0fddf29cbf365 [file] [log] [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/paint_preview/browser/directory_key.h"
namespace paint_preview {
bool operator<(const DirectoryKey& a, const DirectoryKey& b) {
return a.AsciiDirname() < b.AsciiDirname();
}
bool operator==(const DirectoryKey& a, const DirectoryKey& b) {
return a.AsciiDirname() == b.AsciiDirname();
}
} // namespace paint_preview