mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-05 03:36:08 +03:00
22 lines
976 B
Plaintext
22 lines
976 B
Plaintext
|
// Copyright 2018 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.
|
||
|
|
||
|
module chromeos.assistant.mojom;
|
||
|
|
||
|
interface AssistantSettingsManager {
|
||
|
// |selector| is a serialized proto of SettingsUiSelector, indicating which
|
||
|
// settings sub-pages should be requested to the server.
|
||
|
// |settings| is a serialized proto of SettingsUi, containing the settings
|
||
|
// sub-pages requested.
|
||
|
// Send a request for the settings ui sub-pages indicated by the |selector|.
|
||
|
GetSettings(string selector) => (string settings);
|
||
|
|
||
|
// |update| is a serialized proto of SettingsUiUpdate, indicating what kind
|
||
|
// of updates should be applied to the settings.
|
||
|
// |result| is a serialized proto of SettingsUiUpdateResult, containing the
|
||
|
// result of updates.
|
||
|
// Send a request to update the assistant settings indicated by the |update|.
|
||
|
UpdateSettings(string update) => (string result);
|
||
|
};
|