chromium/chrome/browser/web_applications/isolated_web_apps/get_controlled_frame_partition_command.cc

// Copyright 2023 The Chromium Authors
// 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/isolated_web_apps/get_controlled_frame_partition_command.h"

#include <optional>
#include <string>

#include "base/functional/callback.h"
#include "base/task/sequenced_task_runner.h"
#include "base/values.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_url_info.h"
#include "chrome/browser/web_applications/locks/app_lock.h"
#include "chrome/browser/web_applications/web_app.h"
#include "chrome/browser/web_applications/web_app_registry_update.h"
#include "chrome/browser/web_applications/web_app_sync_bridge.h"
#include "content/public/browser/storage_partition_config.h"

namespace web_app {

std::optional<content::StoragePartitionConfig>
GetControlledFramePartitionWithLock(Profile* profile,
                                    const IsolatedWebAppUrlInfo& url_info,
                                    const std::string& partition_name,
                                    bool in_memory,
                                    AppLock& lock,
                                    base::Value::Dict& debug_info) {}

}  // namespace web_app