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

Side by Side Diff: runtime/bin/lockers.h

Issue 2450713004: Make header include guards great again (Closed)
Patch Set: Fix header include guards Created 4 years, 1 month 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 | « runtime/bin/loader.h ('k') | runtime/bin/log.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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef BIN_LOCKERS_H_ 5 #ifndef RUNTIME_BIN_LOCKERS_H_
6 #define BIN_LOCKERS_H_ 6 #define RUNTIME_BIN_LOCKERS_H_
7 7
8 #include "bin/thread.h" 8 #include "bin/thread.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 10
11 namespace dart { 11 namespace dart {
12 namespace bin { 12 namespace bin {
13 13
14 class MutexLocker { 14 class MutexLocker {
15 public: 15 public:
16 explicit MutexLocker(Mutex* mutex) : mutex_(mutex) { 16 explicit MutexLocker(Mutex* mutex) : mutex_(mutex) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 private: 55 private:
56 Monitor* const monitor_; 56 Monitor* const monitor_;
57 57
58 DISALLOW_COPY_AND_ASSIGN(MonitorLocker); 58 DISALLOW_COPY_AND_ASSIGN(MonitorLocker);
59 }; 59 };
60 60
61 } // namespace bin 61 } // namespace bin
62 } // namespace dart 62 } // namespace dart
63 63
64 #endif // BIN_LOCKERS_H_ 64 #endif // RUNTIME_BIN_LOCKERS_H_
OLDNEW
« no previous file with comments | « runtime/bin/loader.h ('k') | runtime/bin/log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698