chromium/extensions/common/stack_frame.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "extensions/common/stack_frame.h"

#include <memory>
#include <string>

#include "base/strings/utf_string_conversions.h"
#include "third_party/re2/src/re2/re2.h"

namespace extensions {

namespace {
const char16_t kAnonymousFunction[] =;
}

StackFrame::StackFrame() :{}

StackFrame::StackFrame(const StackFrame& frame)
    :{}

StackFrame::StackFrame(uint32_t line_number,
                       uint32_t column_number,
                       const std::u16string& source,
                       const std::u16string& function)
    :{}

StackFrame::~StackFrame() {}

// Create a stack frame from the passed text. The text must follow one of two
// formats:
//   - "function_name (source:line_number:column_number)"
//   - "source:line_number:column_number"
// (We have to recognize two formats because V8 will report stack traces in
// both ways. If we reconcile this, we can clean this up.)
// static
std::unique_ptr<StackFrame> StackFrame::CreateFromText(
    const std::u16string& frame_text) {}

bool StackFrame::operator==(const StackFrame& rhs) const {}

}  // namespace extensions