feat: allow resigning current NSUserActivity (#18659)
* feat: allow resigning current NSUserActivity * wrap in @available check
This commit is contained in:
parent
b30484d3a9
commit
abab90f563
6 changed files with 23 additions and 4 deletions
|
@ -128,9 +128,13 @@ class Browser : public WindowListObserver {
|
|||
// Returns the type name of the current user activity.
|
||||
std::string GetCurrentActivityType();
|
||||
|
||||
// Invalidates the current user activity.
|
||||
// Invalidates an activity and marks it as no longer eligible for
|
||||
// continuation
|
||||
void InvalidateCurrentActivity();
|
||||
|
||||
// Marks this activity object as inactive without invalidating it.
|
||||
void ResignCurrentActivity();
|
||||
|
||||
// Updates the current user activity
|
||||
void UpdateCurrentActivity(const std::string& type,
|
||||
const base::DictionaryValue& user_info);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue