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

Unified Diff: chrome/browser/ui/passwords/password_bubble_experiment.h

Issue 1141413002: Prepare password_bubble_experiment and password_manager_util for componentisation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android 2 Created 5 years, 7 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/ui/passwords/password_bubble_experiment.h
diff --git a/chrome/browser/ui/passwords/password_bubble_experiment.h b/chrome/browser/ui/passwords/password_bubble_experiment.h
index f20ac7f5e32c97e80c366aeb53f1f56105b92e25..5479c6ac290d47448afc7817dc8c132c4e136bd8 100644
--- a/chrome/browser/ui/passwords/password_bubble_experiment.h
+++ b/chrome/browser/ui/passwords/password_bubble_experiment.h
@@ -8,7 +8,11 @@
#include "base/macros.h"
#include "components/password_manager/core/browser/password_manager_metrics_util.h"
-class Profile;
+class PrefService;
+
+namespace sync_driver {
+class SyncService;
+}
namespace password_bubble_experiment {
@@ -20,7 +24,7 @@ void RecordBubbleClosed(
// Returns true if the password manager should be referred to as Smart Lock.
// This is only true for signed-in users.
-bool IsSmartLockBrandingEnabled(Profile* profile);
+bool IsSmartLockBrandingEnabled(const sync_driver::SyncService* sync_service);
} // namespace password_bubble_experiment

Powered by Google App Engine
This is Rietveld 408576698