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

Side by Side Diff: components/sync_driver/glue/sync_backend_host_mock.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_MOCK_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_
6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_ 6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 base::Callback<void(const std::vector<syncer::ModelType>& type, 114 base::Callback<void(const std::vector<syncer::ModelType>& type,
115 ScopedVector<base::ListValue>)> callback) override; 115 ScopedVector<base::ListValue>)> callback) override;
116 116
117 base::MessageLoop* GetSyncLoopForTesting() override; 117 base::MessageLoop* GetSyncLoopForTesting() override;
118 118
119 void RefreshTypesForTest(syncer::ModelTypeSet types) override; 119 void RefreshTypesForTest(syncer::ModelTypeSet types) override;
120 120
121 void ClearServerData( 121 void ClearServerData(
122 const syncer::SyncManager::ClearServerDataCallback& callback) override; 122 const syncer::SyncManager::ClearServerDataCallback& callback) override;
123 123
124 void OnCookieJarChanged(bool account_mismatch) override; 124 void OnCookieJarChanged(bool account_mismatch, bool empty_jar) override;
125 125
126 void set_fail_initial_download(bool should_fail); 126 void set_fail_initial_download(bool should_fail);
127 127
128 private: 128 private:
129 bool fail_initial_download_; 129 bool fail_initial_download_;
130 }; 130 };
131 131
132 } // namespace browser_sync 132 } // namespace browser_sync
133 133
134 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_ 134 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_
OLDNEW
« no previous file with comments | « components/sync_driver/glue/sync_backend_host_impl.cc ('k') | components/sync_driver/glue/sync_backend_host_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698