OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef GOOGLE_APIS_DRIVE_DRIVE_SWITHES_H_ | 5 #ifndef GOOGLE_APIS_DRIVE_DRIVE_SWITHES_H_ |
6 #define GOOGLE_APIS_DRIVE_DRIVE_SWITHES_H_ | 6 #define GOOGLE_APIS_DRIVE_DRIVE_SWITHES_H_ |
7 | 7 |
8 namespace google_apis { | 8 namespace google_apis { |
9 | 9 |
10 enum TeamDrivesIntegrationStatus { | 10 enum TeamDrivesIntegrationStatus { |
11 TEAM_DRIVES_INTEGRATION_DISABLED, | 11 TEAM_DRIVES_INTEGRATION_DISABLED, |
12 TEAM_DRIVES_INTEGRATION_ENABLED | 12 TEAM_DRIVES_INTEGRATION_ENABLED |
13 }; | 13 }; |
14 | 14 |
15 // Whether Team Drives integration is enabled or not. | 15 // Whether Team Drives integration is enabled or not. |
16 TeamDrivesIntegrationStatus GetTeamDrivesIntegrationSwitch(); | 16 TeamDrivesIntegrationStatus GetTeamDrivesIntegrationSwitch(); |
17 | 17 |
| 18 // For tests which require specific commandline switch settings. |
| 19 extern const char kEnableTeamDrives[]; |
| 20 |
18 } // namespace switches | 21 } // namespace switches |
19 | 22 |
20 #endif // GOOGLE_APIS_DRIVE_DRIVE_SWITHES_H_ | 23 #endif // GOOGLE_APIS_DRIVE_DRIVE_SWITHES_H_ |
OLD | NEW |