| OLD | NEW |
| (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 |
| OLD | NEW |