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 #ifndef COMPONENTS_DOWNLOAD_PUBLIC_CLIENTS_H_ | |
6 #define COMPONENTS_DOWNLOAD_PUBLIC_CLIENTS_H_ | |
7 | |
8 namespace download { | |
9 | |
10 // A list of all clients that are able to make download requests through the | |
11 // DownloadService. | |
12 // To add a new client, add the metric here and update | |
13 // DownloadService.DownloadClients in histograms.xml. | |
Peter Beverloo
2017/05/02 16:12:21
nit: mention that it's append only and that existi
David Trainor- moved to gerrit
2017/05/03 06:02:59
Will do. Histogram isn't added yet since there is
| |
14 enum DownloadClient { | |
15 // Represents an uninitialized DownloadClient variable. | |
16 INVALID = 0, | |
17 | |
18 OFFLINE_PAGE_PREFETCH = 1, | |
19 | |
20 BOUNDARY = 2, | |
21 }; | |
22 | |
23 } // namespace download | |
24 | |
25 #endif // COMPONENTS_DOWNLOAD_PUBLIC_CLIENTS_H_ | |
OLD | NEW |