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

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

Issue 389017: Implement the gaia captcha state and unlock capability in the sync setup wiza... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <string> 8 #include <string>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 const NotificationSource& source, 111 const NotificationSource& source,
112 const NotificationDetails& details); 112 const NotificationDetails& details);
113 113
114 // SyncFrontend implementation. 114 // SyncFrontend implementation.
115 virtual void OnBackendInitialized(); 115 virtual void OnBackendInitialized();
116 virtual void OnSyncCycleCompleted(); 116 virtual void OnSyncCycleCompleted();
117 virtual void OnAuthError(); 117 virtual void OnAuthError();
118 118
119 // Called when a user enters credentials through UI. 119 // Called when a user enters credentials through UI.
120 virtual void OnUserSubmittedAuth(const std::string& username, 120 virtual void OnUserSubmittedAuth(const std::string& username,
121 const std::string& password); 121 const std::string& password,
122 const std::string& captcha);
122 123
123 // Called when a user decides whether to merge and sync or abort. 124 // Called when a user decides whether to merge and sync or abort.
124 virtual void OnUserAcceptedMergeAndSync(); 125 virtual void OnUserAcceptedMergeAndSync();
125 126
126 // Called when a user cancels any setup dialog (login, merge and sync, etc). 127 // Called when a user cancels any setup dialog (login, merge and sync, etc).
127 virtual void OnUserCancelledDialog(); 128 virtual void OnUserCancelledDialog();
128 129
129 // Get various information for displaying in the user interface. 130 // Get various information for displaying in the user interface.
130 browser_sync::SyncBackendHost::StatusSummary QuerySyncStatusSummary(); 131 browser_sync::SyncBackendHost::StatusSummary QuerySyncStatusSummary();
131 browser_sync::SyncBackendHost::Status QueryDetailedSyncStatus(); 132 browser_sync::SyncBackendHost::Status QueryDetailedSyncStatus();
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 // occurred during syncer operation. This value should be checked before 306 // occurred during syncer operation. This value should be checked before
306 // doing any work that might corrupt things further. 307 // doing any work that might corrupt things further.
307 bool unrecoverable_error_detected_; 308 bool unrecoverable_error_detected_;
308 309
309 ObserverList<Observer> observers_; 310 ObserverList<Observer> observers_;
310 311
311 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); 312 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService);
312 }; 313 };
313 314
314 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ 315 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698