diff options
Diffstat (limited to 'chrome_to_android_compatibility.cc')
-rw-r--r-- | chrome_to_android_compatibility.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/chrome_to_android_compatibility.cc b/chrome_to_android_compatibility.cc new file mode 100644 index 0000000..18b5a80 --- /dev/null +++ b/chrome_to_android_compatibility.cc @@ -0,0 +1,15 @@ +// Copyright 2022 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 "chrome_to_android_compatibility.h" + +// Android's external/libchrome directory is out of date. +// Add missing templates here as a temporary solution +namespace base { + +bool operator==(const TimeTicks& t1, const TimeTicks& t2) { + return t1.since_origin() == t2.since_origin(); +} + +} // namespace base |