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

Side by Side Diff: remoting/base/telemetry_log_writer.h

Issue 2643483003: [Remoting Android] Refactor ClientTelemetryLogger (Closed)
Patch Set: PTAL Created 3 years, 11 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
« no previous file with comments | « remoting/android/BUILD.gn ('k') | remoting/base/telemetry_log_writer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_BASE_TELEMETRY_LOG_WRITER_H_ 5 #ifndef REMOTING_BASE_TELEMETRY_LOG_WRITER_H_
6 #define REMOTING_BASE_TELEMETRY_LOG_WRITER_H_ 6 #define REMOTING_BASE_TELEMETRY_LOG_WRITER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/weak_ptr.h"
14 #include "base/threading/thread_checker.h" 13 #include "base/threading/thread_checker.h"
15 #include "base/values.h" 14 #include "base/values.h"
16 #include "remoting/base/chromoting_event.h" 15 #include "remoting/base/chromoting_event.h"
17 #include "remoting/base/chromoting_event_log_writer.h" 16 #include "remoting/base/chromoting_event_log_writer.h"
18 #include "remoting/base/url_request.h" 17 #include "remoting/base/url_request.h"
19 18
20 namespace remoting { 19 namespace remoting {
21 20
22 // TelemetryLogWriter sends log entries (ChromotingEvent) to the telemetry 21 // TelemetryLogWriter sends log entries (ChromotingEvent) to the telemetry
23 // server. 22 // server.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 61
63 // Entries being sent. 62 // Entries being sent.
64 // These will be pushed back to pending_entries if error occurs. 63 // These will be pushed back to pending_entries if error occurs.
65 std::deque<ChromotingEvent> sending_entries_; 64 std::deque<ChromotingEvent> sending_entries_;
66 65
67 DISALLOW_COPY_AND_ASSIGN(TelemetryLogWriter); 66 DISALLOW_COPY_AND_ASSIGN(TelemetryLogWriter);
68 }; 67 };
69 68
70 } // namespace remoting 69 } // namespace remoting
71 #endif // REMOTING_BASE_TELEMETRY_LOG_WRITER_H_ 70 #endif // REMOTING_BASE_TELEMETRY_LOG_WRITER_H_
OLDNEW
« no previous file with comments | « remoting/android/BUILD.gn ('k') | remoting/base/telemetry_log_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698