forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcast_crash_storage_impl.h
32 lines (25 loc) · 1.08 KB
/
cast_crash_storage_impl.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMECAST_CRASH_CAST_CRASH_STORAGE_DEFAULT_H_
#define CHROMECAST_CRASH_CAST_CRASH_STORAGE_DEFAULT_H_
#include "chromecast/crash/cast_crash_storage.h"
namespace chromecast {
class CastCrashStorageImpl : public CastCrashStorage {
public:
CastCrashStorageImpl();
~CastCrashStorageImpl() final;
CastCrashStorageImpl& operator=(const CastCrashStorageImpl&) = delete;
CastCrashStorageImpl(const CastCrashStorageImpl&) = delete;
// CastCrashStorage implementation:
void SetLastLaunchedApp(base::StringPiece app_id) final;
void ClearLastLaunchedApp() final;
void SetCurrentApp(base::StringPiece app_id) final;
void ClearCurrentApp() final;
void SetPreviousApp(base::StringPiece app_id) final;
void ClearPreviousApp() final;
void SetStadiaSessionId(base::StringPiece session_id) final;
void ClearStadiaSessionId() final;
};
} // namespace chromecast
#endif // CHROMECAST_CRASH_CAST_CRASH_STORAGE_DEFAULT_H_