blob: 425f27f893d3e1340a0d0570adb1061ac98e18ec [file] [log] [blame]
// Copyright 2021 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 = "proto2";
option optimize_for = LITE_RUNTIME;
package web_app;
// A proto representing the "launch_handler" manifest field.
// This mirrors ManifestLaunchHandler in:
// third_party/blink/public/mojom/manifest/manifest.mojom
message LaunchHandlerProto {
enum RouteTo {
UNSPECIFIED_ROUTE = 0;
AUTO = 1;
NEW_CLIENT = 2;
EXISTING_CLIENT = 3;
}
enum NavigateExistingClient {
UNSPECIFIED_NAVIGATE = 0;
ALWAYS = 1;
NEVER = 2;
}
optional RouteTo route_to = 1;
optional NavigateExistingClient navigate_existing_client = 2;
}