blob: eb852fa64f21dbc9c45bcdf753b7a58e07187b52 [file] [log] [blame]
// 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.
// TODO(crbug.com/1227712): Migrate syntax and remove this.
library chromium.cast;
// Used to request that persistent data for components hosted by the Runner is
// deleted.
@discoverable
protocol DataReset {
// Deletes all persistent data stored by the Runner.
//
// Active components hosted by the Runner will be terminated
// before any data is removed.
//
// Returns after deletion of persistent data completes or when an error
// occurs. The resulting |succeeded| is true if persistent data stored
// on behalf of components apps was successfully deleted, and false if
// the request could not be completed (for example, due to an I/O error).
@transitional
DeletePersistentData() -> (struct {
succeeded bool;
});
};