blob: e74b7ccefd77703ba7abe1f26a10b7e5d85558aa [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.
#include "chrome/browser/web_applications/components/web_app_constants.h"
namespace web_app {
const char* LaunchContainerEnumToStr(LaunchContainer launch_container) {
switch (launch_container) {
case LaunchContainer::kDefault:
return "default";
case LaunchContainer::kTab:
return "tab";
case LaunchContainer::kWindow:
return "window";
}
}
} // namespace web_app