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

Side by Side Diff: components/download/internal/stats.cc

Issue 2895953004: Add initial Controller to DownloadService (Closed)
Patch Set: Rebased Created 3 years, 6 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 | « components/download/internal/stats.h ('k') | components/download/internal/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "components/download/internal/stats.h"
6
7 #include "components/download/internal/startup_status.h"
8
9 namespace download {
10 namespace stats {
11
12 void LogControllerStartupStatus(const StartupStatus& status) {
13 DCHECK(status.Complete());
14
15 // TODO(dtrainor): Log each failure reason.
16 // TODO(dtrainor): Finally, log SUCCESS or FAILURE based on status.Ok().
17 }
18
19 void LogServiceApiAction(DownloadClient client, ServiceApiAction action) {
20 // TODO(dtrainor): Log |action| for |client|.
21 }
22
23 void LogStartDownloadResult(DownloadClient client,
24 DownloadParams::StartResult result) {
25 // TODO(dtrainor): Log |result| for |client|.
26 }
27
28 void LogModelOperationResult(ModelAction action, bool success) {
29 // TODO(dtrainor): Log |action|.
30 }
31
32 } // namespace stats
33 } // namespace download
OLDNEW
« no previous file with comments | « components/download/internal/stats.h ('k') | components/download/internal/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698