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

Side by Side Diff: cc/base/completion_event.h

Issue 13051003: cpplint.py pass on cc/(base|debug|quads|resources)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix prioritized_resource_unittest Created 7 years, 9 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 | cc/base/hash_pair.h » ('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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CC_BASE_COMPLETION_EVENT_H_ 5 #ifndef CC_BASE_COMPLETION_EVENT_H_
6 #define CC_BASE_COMPLETION_EVENT_H_ 6 #define CC_BASE_COMPLETION_EVENT_H_
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/synchronization/waitable_event.h" 9 #include "base/synchronization/waitable_event.h"
10 #include "base/threading/thread_restrictions.h" 10 #include "base/threading/thread_restrictions.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 private: 52 private:
53 base::WaitableEvent event_; 53 base::WaitableEvent event_;
54 #ifndef NDEBUG 54 #ifndef NDEBUG
55 // Used to assert that Wait() and Signal() are each called exactly once. 55 // Used to assert that Wait() and Signal() are each called exactly once.
56 bool waited_; 56 bool waited_;
57 bool signaled_; 57 bool signaled_;
58 #endif 58 #endif
59 }; 59 };
60 60
61 } 61 } // namespace cc
62 62
63 #endif // CC_BASE_COMPLETION_EVENT_H_ 63 #endif // CC_BASE_COMPLETION_EVENT_H_
OLDNEW
« no previous file with comments | « no previous file | cc/base/hash_pair.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698