Index: google_apis/drive/drive_switches.cc |
diff --git a/google_apis/drive/drive_switches.cc b/google_apis/drive/drive_switches.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bd3175f6c53fa314eb9aa05514c5180b5e8abf23 |
--- /dev/null |
+++ b/google_apis/drive/drive_switches.cc |
@@ -0,0 +1,14 @@ |
+#include "base/command_line.h" |
+#include "google_apis/drive/drive_switches.h" |
+ |
+namespace google_apis { |
+ |
+// Enables or disables Team Drives integration. |
+const char kEnableTeamDrives[] = "team-drives"; |
+ |
+bool IsTeamDrivesEnabled() { |
+ return base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ kEnableTeamDrives); |
+} |
+ |
+} // namespace google_apis |