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

Side by Side Diff: sync/internal_api/sync_manager_impl.h

Issue 10702074: Refactor sync-specific parts out of SyncNotifier/SyncNotifierObserver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to HEAD 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
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 SYNC_INTERNAL_API_SYNC_MANAGER_H_ 5 #ifndef SYNC_INTERNAL_API_SYNC_MANAGER_H_
6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_ 6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 // Cryptographer::Observer implementation. 160 // Cryptographer::Observer implementation.
161 virtual void OnEncryptedTypesChanged( 161 virtual void OnEncryptedTypesChanged(
162 ModelTypeSet encrypted_types, 162 ModelTypeSet encrypted_types,
163 bool encrypt_everything) OVERRIDE; 163 bool encrypt_everything) OVERRIDE;
164 164
165 // SyncNotifierObserver implementation. 165 // SyncNotifierObserver implementation.
166 virtual void OnNotificationsEnabled() OVERRIDE; 166 virtual void OnNotificationsEnabled() OVERRIDE;
167 virtual void OnNotificationsDisabled( 167 virtual void OnNotificationsDisabled(
168 NotificationsDisabledReason reason) OVERRIDE; 168 NotificationsDisabledReason reason) OVERRIDE;
169 virtual void OnIncomingNotification( 169 virtual void OnIncomingNotification(
170 const ModelTypePayloadMap& type_payloads, 170 const ObjectIdPayloadMap& id_payloads,
171 IncomingNotificationSource source) OVERRIDE; 171 IncomingNotificationSource source) OVERRIDE;
172 172
173 // Called only by our NetworkChangeNotifier. 173 // Called only by our NetworkChangeNotifier.
174 virtual void OnIPAddressChanged() OVERRIDE; 174 virtual void OnIPAddressChanged() OVERRIDE;
175 175
176 const SyncScheduler* scheduler() const; 176 const SyncScheduler* scheduler() const;
177 177
178 private: 178 private:
179 friend class SyncManagerTest; 179 friend class SyncManagerTest;
180 FRIEND_TEST_ALL_PREFIXES(SyncManagerTest, NudgeDelayTest); 180 FRIEND_TEST_ALL_PREFIXES(SyncManagerTest, NudgeDelayTest);
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 // conflict resolver) updated the nigori's encryption keys in this chrome 401 // conflict resolver) updated the nigori's encryption keys in this chrome
402 // instantiation. 402 // instantiation.
403 int nigori_overwrite_count_; 403 int nigori_overwrite_count_;
404 404
405 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); 405 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl);
406 }; 406 };
407 407
408 } // namespace syncer 408 } // namespace syncer
409 409
410 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ 410 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/chrome_sync_notification_bridge_unittest.cc ('k') | sync/internal_api/sync_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698