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

Side by Side Diff: chrome/browser/sync/profile_sync_service.h

Issue 14655009: Client changes for disabled dasher account (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 // Indicates if this is the first time sync is being configured. This value 837 // Indicates if this is the first time sync is being configured. This value
838 // is equal to !HasSyncSetupCompleted() at the time of OnBackendInitialized(). 838 // is equal to !HasSyncSetupCompleted() at the time of OnBackendInitialized().
839 bool is_first_time_sync_configure_; 839 bool is_first_time_sync_configure_;
840 840
841 // List of available data type controllers. 841 // List of available data type controllers.
842 browser_sync::DataTypeController::TypeMap data_type_controllers_; 842 browser_sync::DataTypeController::TypeMap data_type_controllers_;
843 843
844 // Whether the SyncBackendHost has been initialized. 844 // Whether the SyncBackendHost has been initialized.
845 bool backend_initialized_; 845 bool backend_initialized_;
846 846
847 // Set when sync receives DISABLED_BY_ADMIN error from server. Prevents
848 // ProfileSyncService from starting backend till browser restart.
Andrew T Wilson (Slow) 2013/05/24 15:13:10 Technically, I think PSS should try to start the b
pavely 2013/05/24 22:17:11 Done.
849 bool sync_disabled_by_admin_;
850
847 // Set to true if a signin has completed but we're still waiting for the 851 // Set to true if a signin has completed but we're still waiting for the
848 // backend to refresh its credentials. 852 // backend to refresh its credentials.
849 bool is_auth_in_progress_; 853 bool is_auth_in_progress_;
850 854
851 // Encapsulates user signin - used to set/get the user's authenticated 855 // Encapsulates user signin - used to set/get the user's authenticated
852 // email address. 856 // email address.
853 SigninManagerBase* signin_; 857 SigninManagerBase* signin_;
854 858
855 // Information describing an unrecoverable error. 859 // Information describing an unrecoverable error.
856 UnrecoverableErrorReason unrecoverable_error_reason_; 860 UnrecoverableErrorReason unrecoverable_error_reason_;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 syncer::WeakHandle<syncer::DataTypeDebugInfoListener> debug_info_listener_; 945 syncer::WeakHandle<syncer::DataTypeDebugInfoListener> debug_info_listener_;
942 946
943 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); 947 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService);
944 }; 948 };
945 949
946 bool ShouldShowActionOnUI( 950 bool ShouldShowActionOnUI(
947 const syncer::SyncProtocolError& error); 951 const syncer::SyncProtocolError& error);
948 952
949 953
950 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ 954 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698