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

Side by Side Diff: components/metrics/simple_metrics_log_uploader.h

Issue 2778203003: WebView: Create UMA uploader (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_METRICS_SIMPLE_METRICS_LOG_UPLOADER_H_
6 #define COMPONENTS_METRICS_SIMPLE_METRICS_LOG_UPLOADER_H_
7
8 #include <string>
9
10 #include "base/callback.h"
11 #include "base/macros.h"
12 #include "components/metrics/metrics_log_uploader.h"
13
14 namespace metrics {
15
16 // Intermediate abstraction layer to save simpler uploaders from dealing with
17 // compression or hashes.
Alexei Svitkine (slow) 2017/03/29 17:32:23 Do we really need this? Seems all this is doing is
paulmiller 2017/03/29 17:39:32 I did that initially, but checkdeps complained. Ra
Alexei Svitkine (slow) 2017/03/29 17:41:57 Given this code is not being used by anything else
paulmiller 2017/03/29 18:33:28 Will do. I could go either way. On one hand, there
18 class SimpleMetricsLogUploader : public MetricsLogUploader {
19 public:
20 virtual ~SimpleMetricsLogUploader() {}
21
22 void UploadLog(const std::string& compressed_log_data,
23 const std::string& log_hash) override;
24
25 virtual void UploadLog(const std::string& uncompressed_log_data) = 0;
26 };
27
28 } // namespace metrics
29
30 #endif // COMPONENTS_METRICS_SIMPLE_METRICS_LOG_UPLOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698