Index: base/partial_circular_buffer.h |
diff --git a/content/common/partial_circular_buffer.h b/base/partial_circular_buffer.h |
similarity index 88% |
rename from content/common/partial_circular_buffer.h |
rename to base/partial_circular_buffer.h |
index b692ac5ff39ce818cd9b70ed6870c17136a9523c..948e7bfe7b6447ecf1f40e836bfe5e7d2e3ade2a 100644 |
--- a/content/common/partial_circular_buffer.h |
+++ b/base/partial_circular_buffer.h |
@@ -2,14 +2,14 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CONTENT_COMMON_PARTIAL_CIRCULAR_BUFFER_H_ |
-#define CONTENT_COMMON_PARTIAL_CIRCULAR_BUFFER_H_ |
+#ifndef BASE_PARTIAL_CIRCULAR_BUFFER_H_ |
+#define BASE_PARTIAL_CIRCULAR_BUFFER_H_ |
+#include "base/base_export.h" |
#include "base/basictypes.h" |
#include "base/gtest_prod_util.h" |
-#include "content/common/content_export.h" |
-namespace content { |
+namespace base { |
// A wrapper around a memory buffer that allows circular read and write with a |
// selectable wrapping position. Buffer layout (after wrap; H is header): |
@@ -25,7 +25,7 @@ namespace content { |
// - End position of buffer. (If the last byte is at x, this will be x + 1.) |
// Users of wrappers around the same underlying buffer must ensure that writing |
// is finished before reading is started. |
-class CONTENT_EXPORT PartialCircularBuffer { |
+class BASE_EXPORT PartialCircularBuffer { |
public: |
// Use for reading. |buffer_size| is in bytes and must be larger than the |
// header size (see above). |
@@ -65,6 +65,6 @@ class CONTENT_EXPORT PartialCircularBuffer { |
uint32 total_read_; |
}; |
-} // namespace content |
+} // namespace base |
-#endif // CONTENT_COMMON_PARTIAL_CIRCULAR_BUFFER_H_ |
+#endif // BASE_PARTIAL_CIRCULAR_BUFFER_H_ |