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

Unified Diff: chrome/browser/chromeos/arc/arc_auth_service.h

Issue 2206883002: Do not sync ARC opt-in preference (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/chromeos/arc/arc_auth_service.h
diff --git a/chrome/browser/chromeos/arc/arc_auth_service.h b/chrome/browser/chromeos/arc/arc_auth_service.h
index 3466f886ad1a252bc28ddfc88d673d6b26ed6c4e..e0c4ea5a0fac2a5b0be711c5a784deaead2fb193 100644
--- a/chrome/browser/chromeos/arc/arc_auth_service.h
+++ b/chrome/browser/chromeos/arc/arc_auth_service.h
@@ -19,8 +19,6 @@
#include "components/arc/common/auth.mojom.h"
#include "components/arc/instance_holder.h"
#include "components/prefs/pref_change_registrar.h"
-#include "components/syncable_prefs/pref_service_syncable_observer.h"
-#include "components/syncable_prefs/synced_pref_observer.h"
#include "mojo/public/cpp/bindings/binding.h"
class ArcAppLauncher;
@@ -47,9 +45,7 @@ class ArcAuthService : public ArcService,
public ArcBridgeService::Observer,
public InstanceHolder<mojom::AuthInstance>::Observer,
public ArcAndroidManagementCheckerDelegate,
- public ArcAuthContextDelegate,
- public syncable_prefs::PrefServiceSyncableObserver,
- public syncable_prefs::SyncedPrefObserver {
+ public ArcAuthContextDelegate {
public:
enum class State {
NOT_INITIALIZED, // Service is not initialized.
@@ -164,12 +160,6 @@ class ArcAuthService : public ArcService,
void EnableArc();
void DisableArc();
- // syncable_prefs::PrefServiceSyncableObserver
- void OnIsSyncingChanged() override;
-
- // syncable_prefs::SyncedPrefObserver
- void OnSyncedPrefChanged(const std::string& path, bool from_sync) override;
-
// ArcAuthContextDelegate:
void OnContextReady() override;
void OnPrepareContextFailed() override;
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_auth_service.cc » ('j') | chrome/browser/chromeos/arc/arc_auth_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698