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

Unified Diff: components/compression/compression_utils.h

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/OWNERS ('k') | components/compression/compression_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/compression/compression_utils.h
diff --git a/components/metrics/compression_utils.h b/components/compression/compression_utils.h
similarity index 75%
rename from components/metrics/compression_utils.h
rename to components/compression/compression_utils.h
index 0aa407f4f4dba55847cf7ee5f9e63afbad606251..46cfd517ca6a1c30f2ae01cbde3130f413829956 100644
--- a/components/metrics/compression_utils.h
+++ b/components/compression/compression_utils.h
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_METRICS_COMPRESSION_UTILS_H_
-#define COMPONENTS_METRICS_COMPRESSION_UTILS_H_
+#ifndef COMPONENTS_COMPRESSION_COMPRESSION_UTILS_H_
+#define COMPONENTS_COMPRESSION_COMPRESSION_UTILS_H_
#include <string>
-namespace metrics {
+namespace compression {
// Compresses the data in |input| using gzip, storing the result in |output|.
// |input| and |output| are allowed to be the same string (in-place operation).
@@ -17,6 +17,6 @@ bool GzipCompress(const std::string& input, std::string* output);
// |input| and |output| are allowed to be the same string (in-place operation).
bool GzipUncompress(const std::string& input, std::string* output);
-} // namespace metrics
+} // namespace compression
-#endif // COMPONENTS_METRICS_COMPRESSION_UTILS_H_
+#endif // COMPONENTS_COMPRESSION_COMPRESSION_UTILS_H_
« no previous file with comments | « components/compression/OWNERS ('k') | components/compression/compression_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698