#ifndef ASH_PUBLIC_CPP_ANDROID_INTENT_HELPER_H_
#define ASH_PUBLIC_CPP_ANDROID_INTENT_HELPER_H_
#include <string>
#include "ash/public/cpp/ash_public_export.h"
#include "chromeos/ash/services/assistant/public/cpp/assistant_service.h"
#include "third_party/abseil-cpp/absl/types/optional.h"
namespace ash {
class ASH_PUBLIC_EXPORT AndroidIntentHelper {
public:
static AndroidIntentHelper* GetInstance();
AndroidIntentHelper(const AndroidIntentHelper&) = delete;
AndroidIntentHelper& operator=(const AndroidIntentHelper&) = delete;
virtual void LaunchAndroidIntent(const std::string& intent) = 0;
virtual absl::optional<std::string> GetAndroidAppLaunchIntent(
const assistant::AndroidAppInfo& app_info) = 0;
protected:
AndroidIntentHelper();
virtual ~AndroidIntentHelper();
};
ASH_PUBLIC_EXPORT bool IsAndroidIntent(const GURL& url);
}
#endif