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

Side by Side Diff: sync/internal_api/public/sync_manager.h

Issue 1849563005: [Sync] Add cookie jar mismatch logging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests again Created 4 years, 8 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
« no previous file with comments | « sync/engine/syncer.cc ('k') | sync/internal_api/public/test/fake_sync_manager.h » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_PUBLIC_SYNC_MANAGER_H_ 5 #ifndef SYNC_INTERNAL_API_PUBLIC_SYNC_MANAGER_H_
6 #define SYNC_INTERNAL_API_PUBLIC_SYNC_MANAGER_H_ 6 #define SYNC_INTERNAL_API_PUBLIC_SYNC_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 // Request that all current counter values be emitted as though they had just 397 // Request that all current counter values be emitted as though they had just
398 // been updated. Useful for initializing new observers' state. 398 // been updated. Useful for initializing new observers' state.
399 virtual void RequestEmitDebugInfo() = 0; 399 virtual void RequestEmitDebugInfo() = 0;
400 400
401 // Clears server data and invokes |callback| when complete. 401 // Clears server data and invokes |callback| when complete.
402 // 402 //
403 // This is an asynchronous operation that requires interaction with the sync 403 // This is an asynchronous operation that requires interaction with the sync
404 // server. The operation will automatically be retried with backoff until it 404 // server. The operation will automatically be retried with backoff until it
405 // completes successfully or sync is shutdown. 405 // completes successfully or sync is shutdown.
406 virtual void ClearServerData(const ClearServerDataCallback& callback) = 0; 406 virtual void ClearServerData(const ClearServerDataCallback& callback) = 0;
407
408 // Updates Sync's tracking of whether the cookie jar has a mismatch with the
409 // chrome account. See ClientConfigParams proto message for more info.
410 // Note: this does not trigger a sync cycle. It just updates the sync context.
411 virtual void OnCookieJarChanged(bool account_mismatch) = 0;
407 }; 412 };
408 413
409 } // namespace syncer 414 } // namespace syncer
410 415
411 #endif // SYNC_INTERNAL_API_PUBLIC_SYNC_MANAGER_H_ 416 #endif // SYNC_INTERNAL_API_PUBLIC_SYNC_MANAGER_H_
OLDNEW
« no previous file with comments | « sync/engine/syncer.cc ('k') | sync/internal_api/public/test/fake_sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698