blob: 81e9a15dccbe8ba9b61f9a7b80bd40be4ec725c8 [file] [log] [blame]
Markus Handell2a256c82023-02-27 11:41:391/*
2 * Copyright 2023 The WebRTC Project Authors. All rights reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11#ifndef API_LOCATION_H_
12#define API_LOCATION_H_
13
14#include "rtc_base/system/rtc_export.h"
15
16namespace webrtc {
17
18// Location provides basic info where of an object was constructed, or was
19// significantly brought to life. This is a stripped down version of
20// https://source.chromium.org/chromium/chromium/src/+/main:base/location.h
21// that only specifies an interface compatible to how base::Location is
22// supposed to be used.
23// The declaration is overriden inside the Chromium build.
24class RTC_EXPORT Location {
25 public:
26 static Location Current() { return Location(); }
27};
28
29} // namespace webrtc
30
31#endif // API_LOCATION_H_