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

Unified Diff: components/sync/driver/sync_service.h

Issue 2898723003: [Sync] Migrate SyncInternalsMessageHandler off CallJavascriptFunctionUnsafe. (Closed)
Patch Set: More updates for dbeam. Created 3 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
« no previous file with comments | « components/sync/driver/fake_sync_service.cc ('k') | components/sync/driver/sync_service_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/sync_service.h
diff --git a/components/sync/driver/sync_service.h b/components/sync/driver/sync_service.h
index 84691ad796d03919bdcce604d46d6dce0414d9cc..1b323b2f5a077b3eff88908d8421c0372764d463 100644
--- a/components/sync/driver/sync_service.h
+++ b/components/sync/driver/sync_service.h
@@ -20,6 +20,7 @@
#include "google_apis/gaia/google_service_auth_error.h"
class GoogleServiceAuthError;
+class SigninManagerBase;
namespace sync_sessions {
class OpenTabsUIDelegate;
@@ -347,6 +348,10 @@ class SyncService : public DataTypeEncryptionHandler {
const base::Callback<void(std::unique_ptr<base::ListValue>)>&
callback) = 0;
+ // Non-owning pointer to sign in logic that can be used to fetch information
+ // about the currently signed in user.
+ virtual SigninManagerBase* signin() const = 0;
+
protected:
SyncService() {}
« no previous file with comments | « components/sync/driver/fake_sync_service.cc ('k') | components/sync/driver/sync_service_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698