| // 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 content.mojom; |
| |
| import "content/common/leveldb_wrapper.mojom"; |
| import "url/mojo/origin.mojom"; |
| |
| // Returns services related to the current storage partition. |
| interface StoragePartitionService { |
| OpenLocalStorage(url.mojom.Origin origin, |
| LevelDBWrapper& database); |
| OpenSessionStorage(int64 namespace_id, |
| url.mojom.Origin origin, |
| LevelDBWrapper& database); |
| }; |