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

Unified Diff: chrome/browser/signin/signin_promo_util.h

Issue 2138643004: [Autofill] Add support for signin promo on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@aaa
Patch Set: signin_promo_util Created 4 years, 5 months 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: chrome/browser/signin/signin_promo_util.h
diff --git a/chrome/browser/signin/signin_promo_util.h b/chrome/browser/signin/signin_promo_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..1a6ff5fea9710aabfceca2459092b280889ec85c
--- /dev/null
+++ b/chrome/browser/signin/signin_promo_util.h
@@ -0,0 +1,19 @@
+// 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_SIGNIN_SIGNIN_PROMO_UTIL_H_
+#define CHROME_BROWSER_SIGNIN_SIGNIN_PROMO_UTIL_H_
+
+class Profile;
+
+// Cross-platform utility functions for signin promos.
+namespace signin {
+
+// Returns true if the sign in promo should be visible.
+// |profile| is the profile of the tab the promo would be shown on.
+bool ShouldShowPromo(Profile* profile);
+
+} // namespace signin
+
+#endif // CHROME_BROWSER_SIGNIN_SIGNIN_PROMO_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698