blob: 4f11d1afe9f974cbf85ec9c769aedec8a3dcc5bb [file] [log] [blame]
// Copyright 2016 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 CHROME_BROWSER_ANDROID_SIGNIN_SIGNIN_PROMO_UTIL_ANDROID_H_
#define CHROME_BROWSER_ANDROID_SIGNIN_SIGNIN_PROMO_UTIL_ANDROID_H_
#include "base/android/jni_android.h"
#include "components/signin/core/browser/signin_metrics.h"
namespace ui {
class WindowAndroid;
}
namespace chrome {
namespace android {
class SigninPromoUtilAndroid {
public:
// Opens a signin flow with the specified |access_point| for metrics.
static void StartAccountSigninActivityForPromo(
ui::WindowAndroid* window,
signin_metrics::AccessPoint access_point);
};
} // namespace android
} // namespace chrome
#endif // CHROME_BROWSER_ANDROID_SIGNIN_SIGNIN_PROMO_UTIL_ANDROID_H_