#include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_storage_location.h"
#include <string>
#include "base/functional/callback.h"
#include "base/functional/overloaded.h"
#include "base/json/values_util.h"
#include "base/values.h"
#include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_source.h"
#include "third_party/abseil-cpp/absl/types/variant.h"
namespace web_app {
IwaStorageOwnedBundle::IwaStorageOwnedBundle(std::string dir_name_ascii,
bool dev_mode)
: … { … }
IwaStorageOwnedBundle::~IwaStorageOwnedBundle() = default;
bool IwaStorageOwnedBundle::operator==(
const IwaStorageOwnedBundle& other) const = default;
base::FilePath IwaStorageOwnedBundle::GetPath(
const base::FilePath profile_dir) const { … }
base::Value IwaStorageOwnedBundle::ToDebugValue() const { … }
std::ostream& operator<<(std::ostream& os, IwaStorageOwnedBundle location) { … }
IwaStorageUnownedBundle::IwaStorageUnownedBundle(base::FilePath path)
: … { … }
IwaStorageUnownedBundle::~IwaStorageUnownedBundle() = default;
bool IwaStorageUnownedBundle::operator==(
const IwaStorageUnownedBundle& other) const = default;
base::Value IwaStorageUnownedBundle::ToDebugValue() const { … }
std::ostream& operator<<(std::ostream& os, IwaStorageUnownedBundle location) { … }
IwaStorageProxy::IwaStorageProxy(url::Origin proxy_url)
: … { … }
IwaStorageProxy::~IwaStorageProxy() = default;
bool IwaStorageProxy::operator==(const IwaStorageProxy& other) const = default;
base::Value IwaStorageProxy::ToDebugValue() const { … }
std::ostream& operator<<(std::ostream& os, IwaStorageProxy location) { … }
IsolatedWebAppStorageLocation::IsolatedWebAppStorageLocation(
const IsolatedWebAppStorageLocation&) = default;
IsolatedWebAppStorageLocation& IsolatedWebAppStorageLocation::operator=(
const IsolatedWebAppStorageLocation&) = default;
IsolatedWebAppStorageLocation::~IsolatedWebAppStorageLocation() = default;
bool IsolatedWebAppStorageLocation::operator==(
const IsolatedWebAppStorageLocation& other) const = default;
bool IsolatedWebAppStorageLocation::dev_mode() const { … }
base::Value IsolatedWebAppStorageLocation::ToDebugValue() const { … }
std::ostream& operator<<(std::ostream& os,
IsolatedWebAppStorageLocation location) { … }
}