OLD | NEW |
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 CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 | 9 |
10 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 syncer::CancelationSignal release_request_context_signal_; | 312 syncer::CancelationSignal release_request_context_signal_; |
313 syncer::CancelationSignal stop_syncing_signal_; | 313 syncer::CancelationSignal stop_syncing_signal_; |
314 | 314 |
315 // Matches the value of SyncPref's HasSyncSetupCompleted() flag at init time. | 315 // Matches the value of SyncPref's HasSyncSetupCompleted() flag at init time. |
316 // Should not be used for anything except for UMAs and logging. | 316 // Should not be used for anything except for UMAs and logging. |
317 const bool has_sync_setup_completed_; | 317 const bool has_sync_setup_completed_; |
318 | 318 |
319 // Set when we've been asked to forward sync protocol events to the frontend. | 319 // Set when we've been asked to forward sync protocol events to the frontend. |
320 bool forward_protocol_events_; | 320 bool forward_protocol_events_; |
321 | 321 |
| 322 // Set when the forwarding of per-type debug counters is enabled. |
| 323 bool forward_type_info_; |
| 324 |
322 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_; | 325 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_; |
323 | 326 |
324 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore); | 327 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore); |
325 }; | 328 }; |
326 | 329 |
327 } // namespace browser_sync | 330 } // namespace browser_sync |
328 | 331 |
329 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_ | 332 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_ |
OLD | NEW |