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

Side by Side Diff: components/sync_driver/glue/sync_backend_host.h

Issue 1991973002: [Sync] Add histograms for cookie jar state on Sessions commit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format Created 4 years, 7 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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 224
225 // Triggers sync cycle to update |types|. 225 // Triggers sync cycle to update |types|.
226 virtual void RefreshTypesForTest(syncer::ModelTypeSet types) = 0; 226 virtual void RefreshTypesForTest(syncer::ModelTypeSet types) = 0;
227 227
228 // See SyncManager::ClearServerData. 228 // See SyncManager::ClearServerData.
229 virtual void ClearServerData( 229 virtual void ClearServerData(
230 const syncer::SyncManager::ClearServerDataCallback& callback) = 0; 230 const syncer::SyncManager::ClearServerDataCallback& callback) = 0;
231 231
232 // Notify the syncer that the cookie jar has changed. 232 // Notify the syncer that the cookie jar has changed.
233 // See SyncManager::OnCookieJarChanged. 233 // See SyncManager::OnCookieJarChanged.
234 virtual void OnCookieJarChanged(bool account_mismatch) = 0; 234 virtual void OnCookieJarChanged(bool account_mismatch, bool empty_jar) = 0;
235 235
236 private: 236 private:
237 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); 237 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost);
238 }; 238 };
239 239
240 } // namespace browser_sync 240 } // namespace browser_sync
241 241
242 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_H_ 242 #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