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

Side by Side Diff: sky/engine/wtf/ThreadingPrimitives.h

Issue 736373003: Fix sky include guards to match Chromium style (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Reran script after fixing missing break Created 6 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 | « sky/engine/wtf/Threading.h ('k') | sky/engine/wtf/TreeNode.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 /* 1 /*
2 * Copyright (C) 2007, 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Justin Haygood (jhaygood@reaktix.com) 3 * Copyright (C) 2007 Justin Haygood (jhaygood@reaktix.com)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 10 matching lines...) Expand all
21 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY 21 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 * 28 *
29 */ 29 */
30 30
31 #ifndef ThreadingPrimitives_h 31 #ifndef SKY_ENGINE_WTF_THREADINGPRIMITIVES_H_
32 #define ThreadingPrimitives_h 32 #define SKY_ENGINE_WTF_THREADINGPRIMITIVES_H_
33 33
34 #include "sky/engine/wtf/Assertions.h" 34 #include "sky/engine/wtf/Assertions.h"
35 #include "sky/engine/wtf/FastAllocBase.h" 35 #include "sky/engine/wtf/FastAllocBase.h"
36 #include "sky/engine/wtf/Locker.h" 36 #include "sky/engine/wtf/Locker.h"
37 #include "sky/engine/wtf/Noncopyable.h" 37 #include "sky/engine/wtf/Noncopyable.h"
38 #include "sky/engine/wtf/WTFExport.h" 38 #include "sky/engine/wtf/WTFExport.h"
39 39
40 #if USE(PTHREADS) 40 #if USE(PTHREADS)
41 #include <pthread.h> 41 #include <pthread.h>
42 #endif 42 #endif
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 } // namespace WTF 127 } // namespace WTF
128 128
129 using WTF::MutexBase; 129 using WTF::MutexBase;
130 using WTF::Mutex; 130 using WTF::Mutex;
131 using WTF::RecursiveMutex; 131 using WTF::RecursiveMutex;
132 using WTF::MutexLocker; 132 using WTF::MutexLocker;
133 using WTF::MutexTryLocker; 133 using WTF::MutexTryLocker;
134 using WTF::ThreadCondition; 134 using WTF::ThreadCondition;
135 135
136 #endif // ThreadingPrimitives_h 136 #endif // SKY_ENGINE_WTF_THREADINGPRIMITIVES_H_
OLDNEW
« no previous file with comments | « sky/engine/wtf/Threading.h ('k') | sky/engine/wtf/TreeNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698