#include "base/location.h"
#include "base/trace_event/base_tracing.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#if BUILDFLAG(ENABLE_BASE_TRACING)
#include "third_party/perfetto/include/perfetto/test/traced_value_test_support.h"
#endif
namespace base {
namespace {
Location WhereAmI(const Location& location = Location::Current()) { … }
}
TEST(LocationTest, CurrentYieldsCorrectValue) { … }
#if BUILDFLAG(ENABLE_BASE_TRACING)
TEST(LocationTest, TracingSupport) { … }
#endif
}