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

Side by Side Diff: gpu/command_buffer/client/atomicops.cc

Issue 15938002: Get rid of the relative paths in command_buffer client/common (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 7 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 | « gpu/command_buffer/client/atomicops.h ('k') | gpu/command_buffer/client/buffer_tracker.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 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 4
5 #include "../client/atomicops.h" 5 #include "gpu/command_buffer/client/atomicops.h"
6 #include "../common/logging.h" 6 #include "gpu/command_buffer/common/logging.h"
7 7
8 #if !defined(__native_client__) 8 #if !defined(__native_client__)
9 #include "base/atomicops.h" 9 #include "base/atomicops.h"
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
11 #else 11 #else
12 #include <pthread.h> 12 #include <pthread.h>
13 #endif 13 #endif
14 14
15 namespace gpu { 15 namespace gpu {
16 16
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 bool Lock::Try() { 90 bool Lock::Try() {
91 return lock_->Try(); 91 return lock_->Try();
92 } 92 }
93 93
94 void Lock::AssertAcquired() const { 94 void Lock::AssertAcquired() const {
95 return lock_->AssertAcquired(); 95 return lock_->AssertAcquired();
96 } 96 }
97 97
98 } // namespace gpu 98 } // namespace gpu
99 99
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/atomicops.h ('k') | gpu/command_buffer/client/buffer_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698