blob: 3e5805ad05551b9bf5086fb7d71b7da148962d5e [file] [log] [blame]
// Copyright 2019 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.
syntax = "proto3";
option java_multiple_files = true;
option java_package = "org.chromium.chrome.browser.sharing.proto";
package chrome_browser_sharing;
// Required in Chrome.
option optimize_for = LITE_RUNTIME;
// Request message to fetch a SMS from a remote device.
message SmsFetchRequest {
// The origin that is requesting the SMS. Remote devices use it to match
// against the metadata contained in the received SMS.
// required
string origin = 1;
}
// Response message to fetch a SMS from a remote device.
message SmsFetchResponse {
// The full contents of the received SMS.
// required
string sms = 1;
// The parsed one time code of the received SMS.
// required
string one_time_code = 2;
}