summaryrefslogtreecommitdiffstats
path: root/components/autofill/core/browser/autofill_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/autofill/core/browser/autofill_client.h')
-rw-r--r--components/autofill/core/browser/autofill_client.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/components/autofill/core/browser/autofill_client.h b/components/autofill/core/browser/autofill_client.h
index baf9a90..9d651ba 100644
--- a/components/autofill/core/browser/autofill_client.h
+++ b/components/autofill/core/browser/autofill_client.h
@@ -30,6 +30,10 @@ namespace rappor {
class RapporService;
}
+namespace sync_driver {
+class SyncService;
+}
+
class GURL;
class PrefService;
@@ -100,6 +104,9 @@ class AutofillClient {
// Gets the preferences associated with the client.
virtual PrefService* GetPrefs() = 0;
+ // Gets the sync service associated with the client.
+ virtual sync_driver::SyncService* GetSyncService() = 0;
+
// Gets the IdentityProvider associated with the client (for OAuth2).
virtual IdentityProvider* GetIdentityProvider() = 0;