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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host_core.h

Issue 294023017: sync: Fix crash on backend initialize failure (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/sync/glue/sync_backend_host_core.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/glue/sync_backend_host_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698