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

Unified Diff: components/metrics/persisted_logs.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/metrics/metrics_service_unittest.cc ('k') | components/metrics/persisted_logs_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/persisted_logs.cc
diff --git a/components/metrics/persisted_logs.cc b/components/metrics/persisted_logs.cc
index ef562d6858dcb1946f8ddaace4007a739d721bbc..e28ae4a9f8cd2c93a03ce6a3ba4057f38a6a8ba6 100644
--- a/components/metrics/persisted_logs.cc
+++ b/components/metrics/persisted_logs.cc
@@ -13,7 +13,7 @@
#include "base/prefs/scoped_user_pref_update.h"
#include "base/sha1.h"
#include "base/timer/elapsed_timer.h"
-#include "components/metrics/compression_utils.h"
+#include "components/compression/compression_utils.h"
namespace metrics {
@@ -49,7 +49,7 @@ void AppendBase64String(const std::string& str, base::ListValue* list_value) {
void PersistedLogs::LogHashPair::Init(const std::string& log_data) {
DCHECK(!log_data.empty());
- if (!GzipCompress(log_data, &compressed_log_data)) {
+ if (!compression::GzipCompress(log_data, &compressed_log_data)) {
NOTREACHED();
return;
}
« no previous file with comments | « components/metrics/metrics_service_unittest.cc ('k') | components/metrics/persisted_logs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698