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

Unified Diff: chrome/common/partial_circular_buffer.h

Issue 15741003: Moving WebRTC logging related files from content to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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: 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_

Powered by Google App Engine
This is Rietveld 408576698