blob: 2772d141f91c305b17cffe0dd43c8176ff45c31f [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.
deprecated_syntax;
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() -> (bool succeeded);
};