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

Side by Side Diff: native_client_sdk/src/libraries/sdk_util/auto_lock.h

Issue 19673003: [NaCl SDK] Consistent use of copyright header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 */
5 4
6 #ifndef LIBRARIES_SDK_UTIL_AUTO_LOCK_H_ 5 #ifndef LIBRARIES_SDK_UTIL_AUTO_LOCK_H_
7 #define LIBRARIES_SDK_UTIL_AUTO_LOCK_H_ 6 #define LIBRARIES_SDK_UTIL_AUTO_LOCK_H_
8 7
9 #include <pthread.h> 8 #include <pthread.h>
10 #include "sdk_util/macros.h" 9 #include "sdk_util/macros.h"
11 #include "sdk_util/simple_lock.h" 10 #include "sdk_util/simple_lock.h"
12 11
13 12
14 // This macro is provided to allow us to quickly instrument locking for 13 // This macro is provided to allow us to quickly instrument locking for
(...skipping 17 matching lines...) Expand all
32 lock_ = NULL; 31 lock_ = NULL;
33 } 32 }
34 33
35 private: 34 private:
36 pthread_mutex_t* lock_; 35 pthread_mutex_t* lock_;
37 36
38 DISALLOW_COPY_AND_ASSIGN(AutoLock); 37 DISALLOW_COPY_AND_ASSIGN(AutoLock);
39 }; 38 };
40 39
41 #endif // LIBRARIES_SDK_UTIL_AUTO_LOCK_H_ 40 #endif // LIBRARIES_SDK_UTIL_AUTO_LOCK_H_
42
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698