OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Holds helpers for gathering UMA stats about downloads. | 5 // Holds helpers for gathering UMA stats about downloads. |
6 | 6 |
7 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_STATS_H_ | 7 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_STATS_H_ |
8 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_STATS_H_ | 8 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_STATS_H_ |
9 #pragma once | |
10 | 9 |
11 #include <string> | 10 #include <string> |
12 | 11 |
13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
14 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
15 #include "content/public/browser/download_interrupt_reasons.h" | 14 #include "content/public/browser/download_interrupt_reasons.h" |
16 | 15 |
17 namespace base { | 16 namespace base { |
18 class Time; | 17 class Time; |
19 class TimeDelta; | 18 class TimeDelta; |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 SAVE_PACKAGE_WRITE_TO_FAILED, | 168 SAVE_PACKAGE_WRITE_TO_FAILED, |
170 | 169 |
171 SAVE_PACKAGE_LAST_ENTRY | 170 SAVE_PACKAGE_LAST_ENTRY |
172 }; | 171 }; |
173 | 172 |
174 void RecordSavePackageEvent(SavePackageEvent event); | 173 void RecordSavePackageEvent(SavePackageEvent event); |
175 | 174 |
176 } // namespace download_stats | 175 } // namespace download_stats |
177 | 176 |
178 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_STATS_H_ | 177 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_STATS_H_ |
OLD | NEW |