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

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

Issue 10985008: sync: Add DeviceInfo protobuf and supporting code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another missing include Created 8 years, 2 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 | « sync/internal_api/public/write_node.h ('k') | sync/internal_api/sync_manager_impl.cc » ('j') | 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 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 // ExtraPasswordChangeRecordData field of |buffer|. Otherwise sets 237 // ExtraPasswordChangeRecordData field of |buffer|. Otherwise sets
238 // |buffer|'s specifics field to contain the unencrypted data. 238 // |buffer|'s specifics field to contain the unencrypted data.
239 void SetExtraChangeRecordData(int64 id, 239 void SetExtraChangeRecordData(int64 id,
240 ModelType type, 240 ModelType type,
241 ChangeReorderBuffer* buffer, 241 ChangeReorderBuffer* buffer,
242 Cryptographer* cryptographer, 242 Cryptographer* cryptographer,
243 const syncable::EntryKernel& original, 243 const syncable::EntryKernel& original,
244 bool existed_before, 244 bool existed_before,
245 bool exists_now); 245 bool exists_now);
246 246
247 // Internal callback used by GetSessionName.
248 // TODO(rlarocque): not currently called from anywhere. This should be
249 // hooked up to something once we start preserving device information again.
250 void UpdateSessionNameCallback(const std::string& chrome_version,
251 const std::string& session_name);
252
253 // Called for every notification. This updates the notification statistics 247 // Called for every notification. This updates the notification statistics
254 // to be displayed in about:sync. 248 // to be displayed in about:sync.
255 void UpdateNotificationInfo( 249 void UpdateNotificationInfo(
256 const ModelTypeInvalidationMap& invalidation_map); 250 const ModelTypeInvalidationMap& invalidation_map);
257 251
258 // Checks for server reachabilty and requests a nudge. 252 // Checks for server reachabilty and requests a nudge.
259 void OnIPAddressChangedImpl(); 253 void OnIPAddressChangedImpl();
260 254
261 // Helper function used only by the constructor. 255 // Helper function used only by the constructor.
262 void BindJsMessageHandler( 256 void BindJsMessageHandler(
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 // changing passphrases, and in general handles sync-specific interactions 370 // changing passphrases, and in general handles sync-specific interactions
377 // with the cryptographer. 371 // with the cryptographer.
378 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; 372 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_;
379 373
380 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); 374 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl);
381 }; 375 };
382 376
383 } // namespace syncer 377 } // namespace syncer
384 378
385 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ 379 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/write_node.h ('k') | sync/internal_api/sync_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698