blob: f3acb811cc70836d2369ca4c565bc46a0b69af5a [file] [log] [blame]
// Copyright 2018 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_DOWNLOAD_GOOGLE_DRIVE_APP_UTIL_H_
#define IOS_CHROME_BROWSER_DOWNLOAD_GOOGLE_DRIVE_APP_UTIL_H_
@class NSString;
@class NSURL;
// iTunes Store item identifier for Google Drive app. Can be used with
// StoreKitCoordinator.
extern NSString* const kGoogleDriveITunesItemIdentifier;
// Custom URL scheme for Google Drive app. Can be used to check if Google Drive
// app is installed.
extern NSString* const kGoogleDriveAppURLScheme;
// Bundle ID of Google Drive application.
extern NSString* const kGoogleDriveAppBundleID;
// Returns URL which can be used to check if Google Drive app is installed via
// -[UIApplication canOpenURL:] call.
NSURL* GetGoogleDriveAppUrl();
// Returns true if Google Drive app is installed.
bool IsGoogleDriveAppInstalled();
#endif // IOS_CHROME_BROWSER_DOWNLOAD_GOOGLE_DRIVE_APP_UTIL_H_