Chromium Code Reviews| 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) |
|
michaeln
2016/03/17 22:35:41
naming nit: dir_path to match impl
|
| + => (filesystem.FileError err); |
| }; |