Index: chrome/browser/download/simple_download_item_fields.h |
diff --git a/chrome/browser/download/simple_download_item_fields.h b/chrome/browser/download/simple_download_item_fields.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e83c55f75b32540bac2b97fb756c1fd8b2bb0fa3 |
--- /dev/null |
+++ b/chrome/browser/download/simple_download_item_fields.h |
@@ -0,0 +1,24 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// This file intentionally does not have header guards, it's included |
+// inside macros to translate between Values and C++ types. |
+ |
+// This file lists the fields of chrome.experimental.downloads.DownloadItem. |
+// See chrome/common/extensions/api/extension_api.json for their descriptions. |
+ |
+FIELD(id, Integer) |
+FIELD(url, String) |
+FIELD(filename, String) |
+FIELD(danger, String) |
+FIELD(dangerAccepted, Boolean) |
+FIELD(state, String) |
+FIELD(paused, Boolean) |
+FIELD(mime, String) |
+FIELD(startTime, Integer) |
+FIELD(endTime, Integer) |
+FIELD(bytesReceived, Integer) |
+FIELD(totalBytes, Integer) |
+FIELD(fileSize, Integer) |
+FIELD(error, Integer) |