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

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

Issue 14691004: [sync] Separate sign in from sync on Desktop Chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 | Annotate | Revision Log
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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 START_FROM_URL = 6, // Sync was started from a typed URL. 178 START_FROM_URL = 6, // Sync was started from a typed URL.
179 179
180 // Events regarding cancellation of the signon process of sync. 180 // Events regarding cancellation of the signon process of sync.
181 CANCEL_FROM_SIGNON_WITHOUT_AUTH = 10, // Cancelled before submitting 181 CANCEL_FROM_SIGNON_WITHOUT_AUTH = 10, // Cancelled before submitting
182 // username and password. 182 // username and password.
183 CANCEL_DURING_SIGNON = 11, // Cancelled after auth. 183 CANCEL_DURING_SIGNON = 11, // Cancelled after auth.
184 CANCEL_DURING_CONFIGURE = 12, // Cancelled before choosing data 184 CANCEL_DURING_CONFIGURE = 12, // Cancelled before choosing data
185 // types and clicking OK. 185 // types and clicking OK.
186 // Events resulting in the stoppage of sync service. 186 // Events resulting in the stoppage of sync service.
187 STOP_FROM_OPTIONS = 20, // Sync was stopped from Wrench->Options. 187 STOP_FROM_OPTIONS = 20, // Sync was stopped from Wrench->Options.
188 STOP_FROM_ADVANCED_DIALOG = 21, // Sync was stopped via advanced settings.
188 189
189 // Miscellaneous events caused by sync service. 190 // Miscellaneous events caused by sync service.
190 191
191 MAX_SYNC_EVENT_CODE 192 MAX_SYNC_EVENT_CODE
192 }; 193 };
193 194
194 // Defines the type of behavior the sync engine should use. If configured for 195 // Defines the type of behavior the sync engine should use. If configured for
195 // AUTO_START, the sync engine will automatically call SetSyncSetupCompleted() 196 // AUTO_START, the sync engine will automatically call SetSyncSetupCompleted()
196 // and start downloading data types as soon as sync credentials are available 197 // and start downloading data types as soon as sync credentials are available
197 // (a signed-in username and a "chromiumsync" token). 198 // (a signed-in username and a "chromiumsync" token).
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 syncer::WeakHandle<syncer::DataTypeDebugInfoListener> debug_info_listener_; 948 syncer::WeakHandle<syncer::DataTypeDebugInfoListener> debug_info_listener_;
948 949
949 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); 950 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService);
950 }; 951 };
951 952
952 bool ShouldShowActionOnUI( 953 bool ShouldShowActionOnUI(
953 const syncer::SyncProtocolError& error); 954 const syncer::SyncProtocolError& error);
954 955
955 956
956 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ 957 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/sync_setup_overlay.js ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698