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

Side by Side Diff: content/renderer/shared_memory_seqlock_reader.h

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_RENDERER_SHARED_MEMORY_SEQLOCK_READER_H_ 5 #ifndef CONTENT_RENDERER_SHARED_MEMORY_SEQLOCK_READER_H_
6 #define CONTENT_RENDERER_SHARED_MEMORY_SEQLOCK_READER_H_ 6 #define CONTENT_RENDERER_SHARED_MEMORY_SEQLOCK_READER_H_
7 7
8 #include <stddef.h>
9
8 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/shared_memory.h" 13 #include "base/memory/shared_memory.h"
11 #include "content/common/shared_memory_seqlock_buffer.h" 14 #include "content/common/shared_memory_seqlock_buffer.h"
12 15
13 namespace content { 16 namespace content {
14 namespace internal { 17 namespace internal {
15 18
16 class SharedMemorySeqLockReaderBase { 19 class SharedMemorySeqLockReaderBase {
17 protected: 20 protected:
18 SharedMemorySeqLockReaderBase(); 21 SharedMemorySeqLockReaderBase();
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 private: 64 private:
62 SharedMemorySeqLockBuffer<Data>* buffer_; 65 SharedMemorySeqLockBuffer<Data>* buffer_;
63 scoped_ptr<Data> temp_buffer_; 66 scoped_ptr<Data> temp_buffer_;
64 67
65 DISALLOW_COPY_AND_ASSIGN(SharedMemorySeqLockReader); 68 DISALLOW_COPY_AND_ASSIGN(SharedMemorySeqLockReader);
66 }; 69 };
67 70
68 } // namespace content 71 } // namespace content
69 72
70 #endif // CONTENT_RENDERER_SHARED_MEMORY_SEQLOCK_READER_H_ 73 #endif // CONTENT_RENDERER_SHARED_MEMORY_SEQLOCK_READER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698