| Index: chrome/browser/sync/engine/syncer_thread.h
|
| diff --git a/chrome/browser/sync/engine/syncer_thread.h b/chrome/browser/sync/engine/syncer_thread.h
|
| index 122e5df76b5ff3bc4693d8b485c3b8eab811c3b2..b8bf724c888ff3d55516d5e19f179509b9063526 100644
|
| --- a/chrome/browser/sync/engine/syncer_thread.h
|
| +++ b/chrome/browser/sync/engine/syncer_thread.h
|
| @@ -181,6 +181,9 @@ class SyncerThread : public base::RefCountedThreadSafe<SyncerThread>,
|
| // Fields that are modified / accessed by multiple threads go in this struct
|
| // for clarity and explicitness.
|
| struct ProtectedFields {
|
| + ProtectedFields();
|
| + ~ProtectedFields();
|
| +
|
| // False when we want to stop the thread.
|
| bool stop_syncer_thread_;
|
|
|
| @@ -217,14 +220,6 @@ class SyncerThread : public base::RefCountedThreadSafe<SyncerThread>,
|
| // really need to access mutually exclusively as the data races that exist
|
| // are intrinsic, but do so anyway and avoid using 'volatile'.
|
| WaitInterval current_wait_interval_;
|
| -
|
| - ProtectedFields()
|
| - : stop_syncer_thread_(false),
|
| - pause_requested_(false),
|
| - paused_(false),
|
| - syncer_(NULL),
|
| - connected_(false),
|
| - pending_nudge_source_(kUnknown) {}
|
| } vault_;
|
|
|
| // Gets signaled whenever a thread outside of the syncer thread changes a
|
|
|