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

Side by Side Diff: components/sync_driver/glue/sync_backend_host.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 COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_
6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_ 6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 220
221 virtual base::MessageLoop* GetSyncLoopForTesting() = 0; 221 virtual base::MessageLoop* GetSyncLoopForTesting() = 0;
222 222
223 // Triggers sync cycle to update |types|. 223 // Triggers sync cycle to update |types|.
224 virtual void RefreshTypesForTest(syncer::ModelTypeSet types) = 0; 224 virtual void RefreshTypesForTest(syncer::ModelTypeSet types) = 0;
225 225
226 // See SyncManager::ClearServerData. 226 // See SyncManager::ClearServerData.
227 virtual void ClearServerData( 227 virtual void ClearServerData(
228 const syncer::SyncManager::ClearServerDataCallback& callback) = 0; 228 const syncer::SyncManager::ClearServerDataCallback& callback) = 0;
229 229
230 // Notify the syncer that the cookie jar has changed.
231 // See SyncManager::OnCookieJarChanged.
232 virtual void OnCookieJarChanged(bool account_mismatch) = 0;
233
230 private: 234 private:
231 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); 235 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost);
232 }; 236 };
233 237
234 } // namespace browser_sync 238 } // namespace browser_sync
235 239
236 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_ 240 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_
OLDNEW
« no previous file with comments | « components/browser_sync/browser/profile_sync_service.cc ('k') | components/sync_driver/glue/sync_backend_host_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698