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

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: Rebase 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
« no previous file with comments | « chrome/common/media/webrtc_logging_messages.h ('k') | chrome/common/partial_circular_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..dc627ad518fd4e059768e30772a31b4a391fe6cf 100644
--- a/content/common/partial_circular_buffer.h
+++ b/chrome/common/partial_circular_buffer.h
@@ -2,14 +2,11 @@
// 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 {
// 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 +22,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 +62,4 @@ class CONTENT_EXPORT PartialCircularBuffer {
uint32 total_read_;
};
-} // namespace content
-
-#endif // CONTENT_COMMON_PARTIAL_CIRCULAR_BUFFER_H_
+#endif // CHROME_COMMON_PARTIAL_CIRCULAR_BUFFER_H_
« no previous file with comments | « chrome/common/media/webrtc_logging_messages.h ('k') | chrome/common/partial_circular_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698