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

Unified Diff: components/compression/compression_utils.cc

Issue 1304563003: Move //components/metrics/compression_utils into standalone component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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 | « components/compression/compression_utils.h ('k') | components/compression/compression_utils_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/compression/compression_utils.cc
diff --git a/components/metrics/compression_utils.cc b/components/compression/compression_utils.cc
similarity index 98%
rename from components/metrics/compression_utils.cc
rename to components/compression/compression_utils.cc
index da099aea592228d5fd15331f9a17aade3a3f2522..19de730360f671424f68f01832ab29bf4d4f70c6 100644
--- a/components/metrics/compression_utils.cc
+++ b/components/compression/compression_utils.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/metrics/compression_utils.h"
+#include "components/compression/compression_utils.h"
#include <vector>
@@ -123,7 +123,7 @@ uint32 GetUncompressedSize(const std::string& compressed_data) {
} // namespace
-namespace metrics {
+namespace compression {
bool GzipCompress(const std::string& input, std::string* output) {
const uLongf input_size = static_cast<uLongf>(input.size());
@@ -158,4 +158,4 @@ bool GzipUncompress(const std::string& input, std::string* output) {
return false;
}
-} // namespace metrics
+} // namespace compression
« no previous file with comments | « components/compression/compression_utils.h ('k') | components/compression/compression_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698