blob: 287386037f33af78a0dcb72673806093b8ef435c [file] [log] [blame]
// Copyright 2016 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.
module blink.mojom;
import "third_party/blink/public/mojom/dom_storage/session_storage_namespace.mojom";
import "third_party/blink/public/mojom/dom_storage/storage_area.mojom";
import "url/mojom/origin.mojom";
// Returns services related to the current storage partition. This is
// implemented by the browser process.
// TODO(mek): If more than just DOMStorage related interfaces get added this
// should probably move to some other directory.
interface StoragePartitionService {
OpenLocalStorage(url.mojom.Origin origin,
StorageArea& area);
OpenSessionStorage(string namespace_id,
SessionStorageNamespace& session_namespace);
};