mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 16:21:50 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
23 lines
969 B
C++
23 lines
969 B
C++
--- chrome/common/crash_keys.cc.orig 2023-11-29 21:39:54 UTC
|
|
+++ chrome/common/crash_keys.cc
|
|
@@ -32,20 +32,10 @@ namespace {
|
|
namespace {
|
|
|
|
// A convenient wrapper around a crash key and its name.
|
|
-//
|
|
-// The CrashKey contract requires that CrashKeyStrings are never
|
|
-// moved, copied, or deleted (see
|
|
-// third_party/crashpad/crashpad/client/annotation.h); since this class holds
|
|
-// a CrashKeyString, it likewise cannot be moved, copied, or deleted.
|
|
class CrashKeyWithName {
|
|
public:
|
|
explicit CrashKeyWithName(std::string name)
|
|
: name_(std::move(name)), crash_key_(name_.c_str()) {}
|
|
- CrashKeyWithName(const CrashKeyWithName&) = delete;
|
|
- CrashKeyWithName& operator=(const CrashKeyWithName&) = delete;
|
|
- CrashKeyWithName(CrashKeyWithName&&) = delete;
|
|
- CrashKeyWithName& operator=(CrashKeyWithName&&) = delete;
|
|
- ~CrashKeyWithName() = delete;
|
|
|
|
void Clear() { crash_key_.Clear(); }
|
|
void Set(base::StringPiece value) { crash_key_.Set(value); }
|