Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: ios/chrome/browser/native_app_launcher/ios_appstore_ids.h

Issue 2508663002: [ios] Move NativeAppLauncher upstream (Closed)
Patch Set: Upstream NativeAppLauncher Files Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/native_app_launcher/ios_appstore_ids.h
diff --git a/ios/chrome/browser/native_app_launcher/ios_appstore_ids.h b/ios/chrome/browser/native_app_launcher/ios_appstore_ids.h
new file mode 100644
index 0000000000000000000000000000000000000000..ccdf41e9e70bcbb67def949669ee48504ce570eb
--- /dev/null
+++ b/ios/chrome/browser/native_app_launcher/ios_appstore_ids.h
@@ -0,0 +1,32 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_CHROME_BROWSER_NATIVE_APP_LAUNCHER_IOS_APPSTORE_IDS_H_
+#define IOS_CHROME_BROWSER_NATIVE_APP_LAUNCHER_IOS_APPSTORE_IDS_H_
+
+namespace ios_internal {
rohitrao (ping after 24h) 2016/11/17 03:15:22 Remove the namespace. We're intentionally trying
sczs1 2016/11/18 23:42:48 Done.
+
+// Constants with the iOS AppStore IDs for Google native iOS apps recognized
rohitrao (ping after 24h) 2016/11/17 03:15:22 // Appstore IDs. Let's drop the google-specific l
sczs1 2016/11/18 23:42:48 Done.
+// by Chrome.
+extern const char kIOSAppStoreGmail[];
+extern const char kIOSAppStoreGoogleDocs[];
+extern const char kIOSAppStoreGoogleDrive[];
+extern const char kIOSAppStoreGoogleMaps[];
+extern const char kIOSAppStoreGooglePhotos[];
+extern const char kIOSAppStoreGooglePlayMusic[];
+extern const char kIOSAppStoreGooglePlus[];
+extern const char kIOSAppStoreGoogleSheets[];
+extern const char kIOSAppStoreGoogleSlides[];
+extern const char kIOSAppStoreSpaces[];
+extern const char kIOSAppStoreYouTube[];
+
+// Non-Google iOS native apps that we recognize. Recognizes TestFlight so
rohitrao (ping after 24h) 2016/11/17 03:15:22 Let's drop this comment entirely and merge this co
sczs1 2016/11/18 23:42:48 Done.
+// users using Chrome to read email can click on a TestFlight invitation link
+// and launch TestFlight app. Chrome shouldn't need to do this, but UIWebView
+// treats beta.itunes.apple.com in some special way.
+extern const char kIOSAppStoreTestFlight[];
+
+} // namespace ios_internal
+
+#endif // IOS_CHROME_BROWSER_NATIVE_APP_LAUNCHER_IOS_APPSTORE_IDS_H_

Powered by Google App Engine
This is Rietveld 408576698