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

Unified Diff: components/download/public/clients.h

Issue 2870753003: Add a Model to the download component. (Closed)
Patch Set: Renamed test base class 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/download/internal/test/test_store.cc ('k') | components/download/public/download_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/download/public/clients.h
diff --git a/components/download/public/clients.h b/components/download/public/clients.h
index 7ce237823d04496edc1fa9ad7aca4014229a9c88..a464d212017efb76b1014a244d317b62e2a05642 100644
--- a/components/download/public/clients.h
+++ b/components/download/public/clients.h
@@ -16,11 +16,16 @@ namespace download {
// download with the right client.
enum class DownloadClient {
// Represents an uninitialized DownloadClient variable.
- DOWNLOAD_CLIENT_INVALID = 0,
+ INVALID = 0,
- DOWNLOAD_CLIENT_OFFLINE_PAGE_PREFETCH = 1,
+ // Test client values. Meant to be used by the testing framework and not
+ // production code. Callers will be unable to access the DownloadService with
+ // these test APIs.
+ TEST = 1,
- DOWNLOAD_CLIENT_BOUNDARY = 2,
+ OFFLINE_PAGE_PREFETCH = 2,
+
+ BOUNDARY = 3,
};
} // namespace download
« no previous file with comments | « components/download/internal/test/test_store.cc ('k') | components/download/public/download_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698