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

Side by Side Diff: sync/internal_api/sync_manager_impl.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
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_SYNC_MANAGER_IMPL_H_ 5 #ifndef SYNC_INTERNAL_API_SYNC_MANAGER_IMPL_H_
6 #define SYNC_INTERNAL_API_SYNC_MANAGER_IMPL_H_ 6 #define SYNC_INTERNAL_API_SYNC_MANAGER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 scoped_ptr<base::ListValue> GetAllNodesForType( 111 scoped_ptr<base::ListValue> GetAllNodesForType(
112 syncer::ModelType type) override; 112 syncer::ModelType type) override;
113 void RegisterDirectoryTypeDebugInfoObserver( 113 void RegisterDirectoryTypeDebugInfoObserver(
114 syncer::TypeDebugInfoObserver* observer) override; 114 syncer::TypeDebugInfoObserver* observer) override;
115 void UnregisterDirectoryTypeDebugInfoObserver( 115 void UnregisterDirectoryTypeDebugInfoObserver(
116 syncer::TypeDebugInfoObserver* observer) override; 116 syncer::TypeDebugInfoObserver* observer) override;
117 bool HasDirectoryTypeDebugInfoObserver( 117 bool HasDirectoryTypeDebugInfoObserver(
118 syncer::TypeDebugInfoObserver* observer) override; 118 syncer::TypeDebugInfoObserver* observer) override;
119 void RequestEmitDebugInfo() override; 119 void RequestEmitDebugInfo() override;
120 void ClearServerData(const ClearServerDataCallback& callback) override; 120 void ClearServerData(const ClearServerDataCallback& callback) override;
121 void OnCookieJarChanged(bool account_mismatch) override;
121 122
122 // SyncEncryptionHandler::Observer implementation. 123 // SyncEncryptionHandler::Observer implementation.
123 void OnPassphraseRequired( 124 void OnPassphraseRequired(
124 PassphraseRequiredReason reason, 125 PassphraseRequiredReason reason,
125 const sync_pb::EncryptedData& pending_keys) override; 126 const sync_pb::EncryptedData& pending_keys) override;
126 void OnPassphraseAccepted() override; 127 void OnPassphraseAccepted() override;
127 void OnBootstrapTokenUpdated(const std::string& bootstrap_token, 128 void OnBootstrapTokenUpdated(const std::string& bootstrap_token,
128 BootstrapTokenType type) override; 129 BootstrapTokenType type) override;
129 void OnEncryptedTypesChanged(ModelTypeSet encrypted_types, 130 void OnEncryptedTypesChanged(ModelTypeSet encrypted_types,
130 bool encrypt_everything) override; 131 bool encrypt_everything) override;
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; 349 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_;
349 350
350 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; 351 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_;
351 352
352 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); 353 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl);
353 }; 354 };
354 355
355 } // namespace syncer 356 } // namespace syncer
356 357
357 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_IMPL_H_ 358 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/test/fake_sync_manager.h ('k') | sync/internal_api/sync_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698