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

Side by Side Diff: components/sync_driver/glue/sync_backend_host_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_
6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 void EnableDirectoryTypeDebugInfoForwarding() override; 137 void EnableDirectoryTypeDebugInfoForwarding() override;
138 void DisableDirectoryTypeDebugInfoForwarding() override; 138 void DisableDirectoryTypeDebugInfoForwarding() override;
139 void GetAllNodesForTypes( 139 void GetAllNodesForTypes(
140 syncer::ModelTypeSet types, 140 syncer::ModelTypeSet types,
141 base::Callback<void(const std::vector<syncer::ModelType>&, 141 base::Callback<void(const std::vector<syncer::ModelType>&,
142 ScopedVector<base::ListValue>)> type) override; 142 ScopedVector<base::ListValue>)> type) override;
143 base::MessageLoop* GetSyncLoopForTesting() override; 143 base::MessageLoop* GetSyncLoopForTesting() override;
144 void RefreshTypesForTest(syncer::ModelTypeSet types) override; 144 void RefreshTypesForTest(syncer::ModelTypeSet types) override;
145 void ClearServerData( 145 void ClearServerData(
146 const syncer::SyncManager::ClearServerDataCallback& callback) override; 146 const syncer::SyncManager::ClearServerDataCallback& callback) override;
147 void OnCookieJarChanged(bool account_mismatch) override;
147 148
148 // InvalidationHandler implementation. 149 // InvalidationHandler implementation.
149 void OnInvalidatorStateChange(syncer::InvalidatorState state) override; 150 void OnInvalidatorStateChange(syncer::InvalidatorState state) override;
150 void OnIncomingInvalidation( 151 void OnIncomingInvalidation(
151 const syncer::ObjectIdInvalidationMap& invalidation_map) override; 152 const syncer::ObjectIdInvalidationMap& invalidation_map) override;
152 std::string GetOwnerName() const override; 153 std::string GetOwnerName() const override;
153 154
154 protected: 155 protected:
155 // The types and functions below are protected so that test 156 // The types and functions below are protected so that test
156 // subclasses can use them. 157 // subclasses can use them.
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 bool invalidation_handler_registered_; 372 bool invalidation_handler_registered_;
372 373
373 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; 374 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_;
374 375
375 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); 376 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl);
376 }; 377 };
377 378
378 } // namespace browser_sync 379 } // namespace browser_sync
379 380
380 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 381 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « components/sync_driver/glue/sync_backend_host_core.cc ('k') | components/sync_driver/glue/sync_backend_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698