OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #import "ios/chrome/browser/ui/activity_services/appex_constants.h" | 5 #import "ios/chrome/browser/ui/activity_services/appex_constants.h" |
6 | 6 |
7 #if !defined(__has_feature) || !__has_feature(objc_arc) | 7 #if !defined(__has_feature) || !__has_feature(objc_arc) |
8 #error "This file requires ARC support." | 8 #error "This file requires ARC support." |
9 #endif | 9 #endif |
10 | 10 |
11 namespace activity_services { | 11 namespace activity_services { |
12 | 12 |
13 // Values for these constants to communicate with Password Management iOS App | 13 // Values for these constants to communicate with Password Management iOS App |
14 // Extensions came from https://github.com/AgileBits/onepassword-app-extension | 14 // Extensions came from https://github.com/AgileBits/onepassword-app-extension |
15 NSString* const kPasswordAppExVersionNumberKey = @"version_number"; | 15 NSString* const kPasswordAppExVersionNumberKey = @"version_number"; |
16 NSString* const kPasswordAppExURLStringKey = @"url_string"; | 16 NSString* const kPasswordAppExURLStringKey = @"url_string"; |
17 NSString* const kPasswordAppExUsernameKey = @"username"; | 17 NSString* const kPasswordAppExUsernameKey = @"username"; |
18 NSString* const kPasswordAppExPasswordKey = @"password"; | 18 NSString* const kPasswordAppExPasswordKey = @"password"; |
19 | 19 |
20 NSNumber* const kPasswordAppExVersionNumber = @110; | 20 NSNumber* const kPasswordAppExVersionNumber = @110; |
21 | 21 |
22 NSString* const kUTTypeAppExtensionFindLoginAction = | 22 NSString* const kUTTypeAppExtensionFindLoginAction = |
23 @"org.appextension.chrome-password-action"; | 23 @"org.appextension.chrome-password-action"; |
24 | 24 |
25 // Known App Extensions. | |
26 NSString* const kAppExtensionOnePassword = | |
27 @"com.agilebits.onepassword-ios.extension"; | |
28 NSString* const kAppExtensionLastPass = @"com.lastpass.ilastpass.LastPassExt"; | |
29 NSString* const kAppExtensionDashlanePrefix = | |
30 @"com.dashlane.dashlanephonefinal."; | |
31 | |
32 } // namespace activity_services | 25 } // namespace activity_services |
OLD | NEW |