Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(942)

Unified Diff: components/profile_service/public/interfaces/profile.mojom

Issue 1737933002: mojo leveldb: Get profile and leveldb connected to DOMStorageContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ben comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/profile_service/public/interfaces/profile.mojom
diff --git a/components/profile_service/public/interfaces/profile.mojom b/components/profile_service/public/interfaces/profile.mojom
index 898f4576ce2a3902c6a8d02beb941ad4b9146415..89672d2ac08eebd00c53aaccd34c2a9a00eaf086 100644
--- a/components/profile_service/public/interfaces/profile.mojom
+++ b/components/profile_service/public/interfaces/profile.mojom
@@ -5,6 +5,7 @@
module profile;
import "components/filesystem/public/interfaces/directory.mojom";
+import "components/filesystem/public/interfaces/types.mojom";
// An encapsulation around the per-profile storage.
//
@@ -13,5 +14,10 @@ import "components/filesystem/public/interfaces/directory.mojom";
// it has access to is the User's profile.
interface ProfileService {
// Returns the user profile directory.
- GetDirectory(filesystem.Directory& dir);
+ GetDirectory(filesystem.Directory& dir) => ();
+
+ // Returns a subdirectory under the profile dir. Returns a filesystem error
+ // when we fail to create the subdirectory.
+ GetSubDirectory(string dir_name, filesystem.Directory& dir)
+ => (filesystem.FileError err);
};

Powered by Google App Engine
This is Rietveld 408576698