| Index: components/shared_memory_seqlock/one_writer_seqlock.cc
|
| diff --git a/content/common/one_writer_seqlock.cc b/components/shared_memory_seqlock/one_writer_seqlock.cc
|
| similarity index 87%
|
| rename from content/common/one_writer_seqlock.cc
|
| rename to components/shared_memory_seqlock/one_writer_seqlock.cc
|
| index fa0c8b2d0cf424a5cfa09ca18a1b5749259de8f8..71985a4749b620a591aea3c0aa67ab01b9d622ac 100644
|
| --- a/content/common/one_writer_seqlock.cc
|
| +++ b/components/shared_memory_seqlock/one_writer_seqlock.cc
|
| @@ -2,12 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "content/common/one_writer_seqlock.h"
|
| +#include "components/shared_memory_seqlock/one_writer_seqlock.h"
|
|
|
| -namespace content {
|
| +namespace shared_memory_seqlock {
|
|
|
| -OneWriterSeqLock::OneWriterSeqLock()
|
| - : sequence_(0) {
|
| +OneWriterSeqLock::OneWriterSeqLock() : sequence_(0) {
|
| }
|
|
|
| base::subtle::Atomic32 OneWriterSeqLock::ReadBegin() {
|
| @@ -46,4 +45,4 @@ void OneWriterSeqLock::WriteEnd() {
|
| base::subtle::Barrier_AtomicIncrement(&sequence_, 1);
|
| }
|
|
|
| -} // namespace content
|
| +} // namespace shared_memory_seqlock
|
|
|