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

Side by Side Diff: components/sync/base/cancelation_signal.h

Issue 2427803002: [Sync] Replacing NULL with nullptr in code and null in comments for components/sync/ (Closed)
Patch Set: Fixing start of sentence capitlization. Created 4 years, 2 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
« no previous file with comments | « no previous file | components/sync/base/cancelation_signal.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 COMPONENTS_SYNC_BASE_CANCELATION_SIGNAL_H_ 5 #ifndef COMPONENTS_SYNC_BASE_CANCELATION_SIGNAL_H_
6 #define COMPONENTS_SYNC_BASE_CANCELATION_SIGNAL_H_ 6 #define COMPONENTS_SYNC_BASE_CANCELATION_SIGNAL_H_
7 7
8 #include "base/synchronization/lock.h" 8 #include "base/synchronization/lock.h"
9 9
10 namespace syncer { 10 namespace syncer {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // SignalReceived() will be called with the |signal_lock_| held. 55 // SignalReceived() will be called with the |signal_lock_| held.
56 void Signal(); 56 void Signal();
57 57
58 private: 58 private:
59 // Protects all members of this class. 59 // Protects all members of this class.
60 base::Lock signal_lock_; 60 base::Lock signal_lock_;
61 61
62 // True if Signal() has been invoked. 62 // True if Signal() has been invoked.
63 bool signalled_; 63 bool signalled_;
64 64
65 // The registered abort handler. May be NULL. 65 // The registered abort handler. May be null.
66 CancelationObserver* handler_; 66 CancelationObserver* handler_;
67 }; 67 };
68 68
69 } // namespace syncer 69 } // namespace syncer
70 70
71 #endif // COMPONENTS_SYNC_BASE_CANCELATION_SIGNAL_H_ 71 #endif // COMPONENTS_SYNC_BASE_CANCELATION_SIGNAL_H_
OLDNEW
« no previous file with comments | « no previous file | components/sync/base/cancelation_signal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698