1 // Copyright 2019 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "base/profiler/frame.h" 6 7 namespace base { 8 Frame(uintptr_t instruction_pointer,const ModuleCache::Module * module)9Frame::Frame(uintptr_t instruction_pointer, const ModuleCache::Module* module) 10 : instruction_pointer(instruction_pointer), module(module) {} 11 Frame(uintptr_t instruction_pointer,const ModuleCache::Module * module,std::string function_name)12Frame::Frame(uintptr_t instruction_pointer, 13 const ModuleCache::Module* module, 14 std::string function_name) 15 : instruction_pointer(instruction_pointer), 16 module(module), 17 function_name(std::move(function_name)) {} 18 19 Frame::~Frame() = default; 20 21 } // namespace base 22