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

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

Issue 10828108: [sync] Add a polling mechanism to CredentialCacheService for on-the-fly sign in / sign out / reconf… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More CR Feedback + minor code reuse. Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/sync/credential_cache_service_win.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 10
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 // Returns true if the syncer is waiting for new datatypes to be encrypted. 517 // Returns true if the syncer is waiting for new datatypes to be encrypted.
518 virtual bool encryption_pending() const; 518 virtual bool encryption_pending() const;
519 519
520 // Returns whether processing changes is allowed. Check this before doing 520 // Returns whether processing changes is allowed. Check this before doing
521 // any model-modifying operations. 521 // any model-modifying operations.
522 bool ShouldPushChanges(); 522 bool ShouldPushChanges();
523 523
524 const GURL& sync_service_url() const { return sync_service_url_; } 524 const GURL& sync_service_url() const { return sync_service_url_; }
525 bool auto_start_enabled() const { return auto_start_enabled_; } 525 bool auto_start_enabled() const { return auto_start_enabled_; }
526 SigninManager* signin() const { return signin_; } 526 SigninManager* signin() const { return signin_; }
527 bool setup_in_progress() const { return setup_in_progress_; }
527 528
528 // Stops the sync backend and sets the flag for suppressing sync startup. 529 // Stops the sync backend and sets the flag for suppressing sync startup.
529 void StopAndSuppress(); 530 void StopAndSuppress();
530 531
531 // Resets the flag for suppressing sync startup and starts the sync backend. 532 // Resets the flag for suppressing sync startup and starts the sync backend.
532 void UnsuppressAndStart(); 533 void UnsuppressAndStart();
533 534
534 // Marks all currently registered types as "acknowledged" so we won't prompt 535 // Marks all currently registered types as "acknowledged" so we won't prompt
535 // the user about them any more. 536 // the user about them any more.
536 void AcknowledgeSyncedTypes(); 537 void AcknowledgeSyncedTypes();
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 syncer::SyncNotifierHelper notifier_helper_; 843 syncer::SyncNotifierHelper notifier_helper_;
843 844
844 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); 845 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService);
845 }; 846 };
846 847
847 bool ShouldShowActionOnUI( 848 bool ShouldShowActionOnUI(
848 const syncer::SyncProtocolError& error); 849 const syncer::SyncProtocolError& error);
849 850
850 851
851 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ 852 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/credential_cache_service_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698