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

Unified Diff: blimp/client/app/linux/blimp_client_context_delegate_linux.h

Issue 2349073002: Blimp Settings framework on the c++ side (Closed)
Patch Set: fix trybot error Created 4 years, 2 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: blimp/client/app/linux/blimp_client_context_delegate_linux.h
diff --git a/blimp/client/app/linux/blimp_client_context_delegate_linux.h b/blimp/client/app/linux/blimp_client_context_delegate_linux.h
index d781e86752eb6cd2ab64dba8cd0d1ab8db62eab7..1dadd91db6c23464dad957c2994fe656e9b61f11 100644
--- a/blimp/client/app/linux/blimp_client_context_delegate_linux.h
+++ b/blimp/client/app/linux/blimp_client_context_delegate_linux.h
@@ -8,6 +8,11 @@
#include "blimp/client/public/blimp_client_context_delegate.h"
#include "google_apis/gaia/identity_provider.h"
+namespace user_prefs {
+class PrefRegistrySyncable;
+}
+class PrefService;
+
namespace blimp {
namespace client {
@@ -28,7 +33,12 @@ class BlimpClientContextDelegateLinux : public BlimpClientContextDelegate {
void OnEngineDisconnected(int result) override;
void OnNetworkDisconnected(int result) override;
+ PrefService* pref_service() { return pref_service_.get(); }
+
private:
+ scoped_refptr<user_prefs::PrefRegistrySyncable> pref_registry_;
+ std::unique_ptr<PrefService> pref_service_;
+
DISALLOW_COPY_AND_ASSIGN(BlimpClientContextDelegateLinux);
};

Powered by Google App Engine
This is Rietveld 408576698