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

Unified Diff: third_party/WebKit/Source/modules/budget_service/BudgetChunk.idl

Issue 2110833002: Basic framework for Budget API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added BudgetChunk.idl Created 4 years, 6 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
Index: third_party/WebKit/Source/modules/budget_service/BudgetChunk.idl
diff --git a/components/arc/common/bitmap.mojom b/third_party/WebKit/Source/modules/budget_service/BudgetChunk.idl
similarity index 55%
copy from components/arc/common/bitmap.mojom
copy to third_party/WebKit/Source/modules/budget_service/BudgetChunk.idl
index 02d96647b6cf7833d42a0a8d7e84f92cfa1e9da4..39f30afe7b25dc35fa426ff48fe026b9a3dbb4b3 100644
--- a/components/arc/common/bitmap.mojom
+++ b/third_party/WebKit/Source/modules/budget_service/BudgetChunk.idl
@@ -2,10 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module arc.mojom;
+// TODO(harkness) Add reference to W3C standard doc.
-struct ArcBitmap {
- uint32 width;
- uint32 height;
- array<uint8> pixel_data; // Must be ARGB_8888
+dictionary BudgetChunk {
+ double budget_amount;
Peter Beverloo 2016/07/01 13:21:59 Let's call this `budget` or `amount`. There is a
harkness 2016/07/20 09:41:48 Done.
+ double expiration_timestamp;
Peter Beverloo 2016/07/01 13:21:59 `expiration`?
harkness 2016/07/20 09:41:48 Done.
};

Powered by Google App Engine
This is Rietveld 408576698