Temporarily allow programmatic input assistance for adding Gmail account
[WebKit-https.git] / Source / WebCore / platform / RuntimeApplicationChecksIOS.mm
index 4629f44505c0b7a6e50adf43690de4149bac18ac..1a541bb260b7d55c1e080d6b42258e9115acf94e 100644 (file)
@@ -122,6 +122,12 @@ bool applicationIsIBooksOnIOS()
     return isIBooksOnIOS;
 }
 
+bool applicationIsGmailAddAccountOnIOS()
+{
+    static const bool isGmailAddAccountOnIOS = [[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.apple.social.SLGoogleAuth.SLGoogleAuthService"];
+    return isGmailAddAccountOnIOS;
+}
+
 } // namespace WebCore
 
 #endif // PLATFORM(IOS)