| Index: chrome/common/partial_circular_buffer.h
|
| diff --git a/content/common/partial_circular_buffer.h b/chrome/common/partial_circular_buffer.h
|
| similarity index 88%
|
| rename from content/common/partial_circular_buffer.h
|
| rename to chrome/common/partial_circular_buffer.h
|
| index b692ac5ff39ce818cd9b70ed6870c17136a9523c..059446b65eb2da6b99f4210bcce674c352d95a99 100644
|
| --- a/content/common/partial_circular_buffer.h
|
| +++ b/chrome/common/partial_circular_buffer.h
|
| @@ -2,14 +2,13 @@
|
| // 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 CHROME_COMMON_PARTIAL_CIRCULAR_BUFFER_H_
|
| +#define CHROME_COMMON_PARTIAL_CIRCULAR_BUFFER_H_
|
|
|
| #include "base/basictypes.h"
|
| #include "base/gtest_prod_util.h"
|
| -#include "content/common/content_export.h"
|
|
|
| -namespace content {
|
| +namespace chrome {
|
|
|
| // 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 +24,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 PartialCircularBuffer {
|
| public:
|
| // Use for reading. |buffer_size| is in bytes and must be larger than the
|
| // header size (see above).
|
| @@ -65,6 +64,6 @@ class CONTENT_EXPORT PartialCircularBuffer {
|
| uint32 total_read_;
|
| };
|
|
|
| -} // namespace content
|
| +} // namespace chrome
|
|
|
| -#endif // CONTENT_COMMON_PARTIAL_CIRCULAR_BUFFER_H_
|
| +#endif // CHROME_COMMON_PARTIAL_CIRCULAR_BUFFER_H_
|
|
|