// Copyright (c) 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef PLATFORM_BASE_LOCATION_H_ #define PLATFORM_BASE_LOCATION_H_ #include <stddef.h> #include <cassert> #include <functional> #include <string> namespace openscreen { // NOTE: lifted from Chromium's base Location implementation, forked to work // with our base library. // Instances of the location class include basic information about a position // in program source, for example the place where an object was constructed. class Location { … }; const void* GetProgramCounter(); #define CURRENT_LOCATION … } // namespace openscreen #endif // PLATFORM_BASE_LOCATION_H_