OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_APPEX_CONSTANTS_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_APPEX_CONSTANTS_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 // Constants for interfacing to other iOS App Extensions. |
| 11 |
| 12 namespace activity_services { |
| 13 |
| 14 // Constants to communicate with Password Management App Extensions. |
| 15 |
| 16 // Key to the App Extension version number. This is for the dictionary sent to |
| 17 // App Extension. |
| 18 extern NSString* const kPasswordAppExVersionNumberKey; |
| 19 // Key to obtain the URL of the current page user was viewing. This is for the |
| 20 // dictionary sent to App Extension. |
| 21 extern NSString* const kPasswordAppExURLStringKey; |
| 22 // Key to obtain the username (provided by App Extension) to sign in to the |
| 23 // current page. |
| 24 extern NSString* const kPasswordAppExUsernameKey; |
| 25 // Key to obtain the password (provided by App Extension) to sign in to the |
| 26 // current page. |
| 27 extern NSString* const kPasswordAppExPasswordKey; |
| 28 |
| 29 // Protocol version number. |
| 30 extern NSNumber* const kPasswordAppExVersionNumber; |
| 31 |
| 32 // String identifying the type of data being sent from host application to |
| 33 // the App Extension. |
| 34 extern NSString* const kUTTypeAppExtensionFindLoginAction; |
| 35 |
| 36 // Signature for 1Password App Extension |
| 37 extern NSString* const kAppExtensionOnePassword; |
| 38 |
| 39 // Signature for LastPass App Extension |
| 40 extern NSString* const kAppExtensionLastPass; |
| 41 |
| 42 // Prefix of signature for Dashlane App Extension |
| 43 extern NSString* const kAppExtensionDashlanePrefix; |
| 44 |
| 45 } // namespace activity_services |
| 46 |
| 47 #endif // IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_APPEX_CONSTANTS_H_ |
OLD | NEW |