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

Side by Side Diff: components/sync_driver/glue/sync_backend_host_impl.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 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 <map> 10 #include <map>
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 void EnableDirectoryTypeDebugInfoForwarding() override; 140 void EnableDirectoryTypeDebugInfoForwarding() override;
141 void DisableDirectoryTypeDebugInfoForwarding() override; 141 void DisableDirectoryTypeDebugInfoForwarding() override;
142 void GetAllNodesForTypes( 142 void GetAllNodesForTypes(
143 syncer::ModelTypeSet types, 143 syncer::ModelTypeSet types,
144 base::Callback<void(const std::vector<syncer::ModelType>&, 144 base::Callback<void(const std::vector<syncer::ModelType>&,
145 ScopedVector<base::ListValue>)> type) override; 145 ScopedVector<base::ListValue>)> type) override;
146 base::MessageLoop* GetSyncLoopForTesting() override; 146 base::MessageLoop* GetSyncLoopForTesting() override;
147 void RefreshTypesForTest(syncer::ModelTypeSet types) override; 147 void RefreshTypesForTest(syncer::ModelTypeSet types) override;
148 void ClearServerData( 148 void ClearServerData(
149 const syncer::SyncManager::ClearServerDataCallback& callback) override; 149 const syncer::SyncManager::ClearServerDataCallback& callback) override;
150 void OnCookieJarChanged(bool account_mismatch) override; 150 void OnCookieJarChanged(bool account_mismatch, bool empty_jar) override;
151 151
152 // InvalidationHandler implementation. 152 // InvalidationHandler implementation.
153 void OnInvalidatorStateChange(syncer::InvalidatorState state) override; 153 void OnInvalidatorStateChange(syncer::InvalidatorState state) override;
154 void OnIncomingInvalidation( 154 void OnIncomingInvalidation(
155 const syncer::ObjectIdInvalidationMap& invalidation_map) override; 155 const syncer::ObjectIdInvalidationMap& invalidation_map) override;
156 std::string GetOwnerName() const override; 156 std::string GetOwnerName() const override;
157 157
158 protected: 158 protected:
159 // The types and functions below are protected so that test 159 // The types and functions below are protected so that test
160 // subclasses can use them. 160 // subclasses can use them.
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 bool invalidation_handler_registered_; 375 bool invalidation_handler_registered_;
376 376
377 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; 377 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_;
378 378
379 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); 379 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl);
380 }; 380 };
381 381
382 } // namespace browser_sync 382 } // namespace browser_sync
383 383
384 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 384 #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