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

Unified Diff: components/shared_memory_seqlock/one_writer_seqlock.cc

Issue 1164563003: Extract device_sensors to /device via Mojofication (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « components/shared_memory_seqlock/one_writer_seqlock.h ('k') | components/shared_memory_seqlock/one_writer_seqlock_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698