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

Side by Side Diff: chrome\browser\sync\profile_sync_service.cc

Issue 159728: Add browser/sync to the repository. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
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 #ifdef CHROME_PERSONALIZATION 5 #ifdef CHROME_PERSONALIZATION
6 #include "chrome/browser/sync/profile_sync_service.h" 6 #include "chrome/browser/sync/profile_sync_service.h"
7 7
8 #include <stack> 8 #include <stack>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 void ProfileSyncService::RemoveObserver(Observer* observer) { 877 void ProfileSyncService::RemoveObserver(Observer* observer) {
878 observers_.RemoveObserver(observer); 878 observers_.RemoveObserver(observer);
879 } 879 }
880 880
881 bool ProfileSyncService::ShouldPushChanges() { 881 bool ProfileSyncService::ShouldPushChanges() {
882 return ready_to_process_changes_ && // Wait for model load and merge. 882 return ready_to_process_changes_ && // Wait for model load and merge.
883 !unrecoverable_error_detected_; // Halt after any terrible events. 883 !unrecoverable_error_detected_; // Halt after any terrible events.
884 } 884 }
885 885
886 #endif // CHROME_PERSONALIZATION 886 #endif // CHROME_PERSONALIZATION
OLDNEW
« no previous file with comments | « chrome\browser\sync\profile_sync_service.h ('k') | chrome\browser\sync\profile_sync_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698