1// Copyright 2020 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5library chromium.cast; 6 7// Used to request that persistent data for components hosted by the Runner is 8// deleted. 9[Discoverable] 10protocol DataReset { 11 // Deletes all persistent data stored by the Runner. 12 // 13 // Active components hosted by the Runner will be terminated 14 // before any data is removed. 15 // 16 // Returns after deletion of persistent data completes or when an error 17 // occurs. The resulting |succeeded| is true if persistent data stored 18 // on behalf of components apps was successfully deleted, and false if 19 // the request could not be completed (for example, due to an I/O error). 20 [Transitional] 21 DeletePersistentData() -> (bool succeeded); 22};