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

Side by Side Diff: components/download/public/clients.h

Issue 2851303003: Add the download component and initial setup (Closed)
Patch Set: Removed accidental rename Created 3 years, 7 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
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 #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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698