Commit 0b6e9089 authored by Przemek Pietrzkiewicz's avatar Przemek Pietrzkiewicz Committed by Commit Bot

[fuchsia] Add data reset handler API

Bug: 1146474, 1146480
Change-Id: I1262e7347769430f44b77fed1c0a9a261aa8a332
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2514879
Commit-Queue: Przemek Pietrzkiewicz <ppi@chromium.org>
Reviewed-by: default avatarWez <wez@chromium.org>
Reviewed-by: default avatarDavid Dorwin <ddorwin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824942}
parent 8bb6cca1
...@@ -15,6 +15,7 @@ fidl_library("cast_fidl") { ...@@ -15,6 +15,7 @@ fidl_library("cast_fidl") {
"fidl/cast/application_context.fidl", "fidl/cast/application_context.fidl",
"fidl/cast/application_controller.fidl", "fidl/cast/application_controller.fidl",
"fidl/cast/cors_exempt_headers.fidl", "fidl/cast/cors_exempt_headers.fidl",
"fidl/cast/data_reset.fidl",
"fidl/cast/url_request_rewriter.fidl", "fidl/cast/url_request_rewriter.fidl",
] ]
......
// 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.
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);
};
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment