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

Unified Diff: chrome/common/partial_circular_buffer.cc

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/partial_circular_buffer.h ('k') | chrome/common/partial_circular_buffer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/partial_circular_buffer.cc
diff --git a/content/common/partial_circular_buffer.cc b/chrome/common/partial_circular_buffer.cc
similarity index 98%
rename from content/common/partial_circular_buffer.cc
rename to chrome/common/partial_circular_buffer.cc
index cba2243d1dfeb4263502eef05638d963a6743cb3..d2afc496dde2d698369fe3b6a11b37ec3fb339b3 100644
--- a/content/common/partial_circular_buffer.cc
+++ b/chrome/common/partial_circular_buffer.cc
@@ -2,14 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/common/partial_circular_buffer.h"
+#include "chrome/common/partial_circular_buffer.h"
#include <algorithm>
#include "base/logging.h"
-namespace content {
-
namespace {
inline uint32 Min3(uint32 a, uint32 b, uint32 c) {
@@ -162,5 +160,3 @@ void PartialCircularBuffer::DoWrite(void* dest, const void* src, uint32 num) {
std::min(buffer_data_->total_written + num, data_size_);
buffer_data_->end_position = position_;
}
-
-} // namespace content
« no previous file with comments | « chrome/common/partial_circular_buffer.h ('k') | chrome/common/partial_circular_buffer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698