summaryrefslogtreecommitdiff
path: root/chromium/chromeos/components/drivefs/mojom/drivefs.mojom
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chromeos/components/drivefs/mojom/drivefs.mojom')
-rw-r--r--chromium/chromeos/components/drivefs/mojom/drivefs.mojom33
1 files changed, 32 insertions, 1 deletions
diff --git a/chromium/chromeos/components/drivefs/mojom/drivefs.mojom b/chromium/chromeos/components/drivefs/mojom/drivefs.mojom
index bdb45842aa6..bf7fc678de5 100644
--- a/chromium/chromeos/components/drivefs/mojom/drivefs.mojom
+++ b/chromium/chromeos/components/drivefs/mojom/drivefs.mojom
@@ -67,6 +67,34 @@ interface DriveFs {
// encoded proto message.
SendNativeMessageRequest(string request) => (
FileError error, string response);
+
+ // Sets the arguments to be parsed by DriveFS on startup. Should only be
+ // called in developer mode.
+ SetStartupArguments(string arguments) => (bool success);
+
+ // Gets the currently set arguments parsed by DriveFS on startup. Should only
+ // be called in developer mode.
+ GetStartupArguments() => (string arguments);
+
+ // Enables or disables performance tracing, which logs to
+ // |data_dir_path|/Logs/drive_fs_trace.
+ SetTracingEnabled(bool enabled);
+
+ // Enables or disables networking for testing. Should only be called in
+ // developer mode.
+ SetNetworkingEnabled(bool enabled);
+
+ // Overrides syncing to be paused if enabled. Should only be called in
+ // developer mode.
+ ForcePauseSyncing(bool enable);
+
+ // Dumps account settings (including feature flags) to
+ // |data_dir_path/account_settings. Should only be called in developer mode.
+ DumpAccountSettings();
+
+ // Loads account settings (including feature flags) from
+ // |data_dir_path/account_settings. Should only be called in developer mode.
+ LoadAccountSettings();
};
// Implemented by Chrome, used from DriveFS.
@@ -111,7 +139,7 @@ interface DriveFsDelegate {
OnHeartbeat();
};
-// Next MinVersion: 5
+// Next MinVersion: 6
struct DriveFsConfiguration {
string user_email;
@@ -128,6 +156,9 @@ struct DriveFsConfiguration {
[MinVersion=4]
bool enable_experimental_mirroring = false;
+
+ [MinVersion=5]
+ bool enable_verbose_logging = false;
};
enum AccessTokenStatus {