Index: components/chrome_cleaner/public/interfaces/chrome_prompt.mojom |
diff --git a/components/chrome_cleaner/public/interfaces/chrome_prompt.mojom b/components/chrome_cleaner/public/interfaces/chrome_prompt.mojom |
index 07013fe06431897c6d0486f5d135eb8c1df37b3d..d7468aa084d82fc985f1d2df8b852d4beb8306a1 100644 |
--- a/components/chrome_cleaner/public/interfaces/chrome_prompt.mojom |
+++ b/components/chrome_cleaner/public/interfaces/chrome_prompt.mojom |
@@ -4,8 +4,6 @@ |
module chrome_cleaner.mojom; |
-import "mojo/common/file_path.mojom"; |
- |
[Extensible] |
enum PromptAcceptance { |
UNSPECIFIED = 0, |
@@ -21,6 +19,12 @@ enum PromptAcceptance { |
IGNORED = 4, |
}; |
+struct FilePath { |
+ // This isn't a string since Mojo strings must be valid utf8, and the paths |
+ // aren't guaranteed to be valid utf8. |
Fabio Tirelo
2017/06/12 14:04:50
Mojo's string16 are also mapped to base. I think w
proberge
2017/06/12 17:49:30
Done.
|
+ array<uint16> value; |
+}; |
+ |
// Service provided by Chrome to prompt the user to start a cleanup if the |
// Chrome Cleanup Tool detects unwanted software on the system. |
interface ChromePrompt { |
@@ -29,6 +33,6 @@ interface ChromePrompt { |
// will be deleted by the Chrome Cleanup Tool. |
// Returns: |
// - prompt_acceptance: indicates if the user accepted the prompt. |
- PromptUser(array<mojo.common.mojom.FilePath> files_to_delete) |
+ PromptUser(array<FilePath> files_to_delete) |
=> (PromptAcceptance prompt_acceptance); |
}; |