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

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

Issue 2110833002: Basic framework for Budget API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Integrated code review comments. Created 4 years, 5 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/BudgetChunk.idl
diff --git a/gpu/ipc/common/mailbox.mojom b/third_party/WebKit/Source/modules/budget/BudgetChunk.idl
similarity index 58%
copy from gpu/ipc/common/mailbox.mojom
copy to third_party/WebKit/Source/modules/budget/BudgetChunk.idl
index fcc20ee8c7b7515d3ccbc6ae609a4d3b7144ad73..5995a5831636a95b0aabdb8a28fdebcc518bb150 100644
--- a/gpu/ipc/common/mailbox.mojom
+++ b/third_party/WebKit/Source/modules/budget/BudgetChunk.idl
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module gpu.mojom;
+// TODO(harkness) Add reference to W3C standard doc.
Peter Beverloo 2016/07/22 12:27:01 nit: s/W3C standard doc/specification/ (dito elsew
harkness 2016/08/03 09:34:05 Done.
-// See gpu/command_buffer/common/mailbox.h
-struct Mailbox {
- array<int8, 64> name;
+dictionary BudgetChunk {
+ double amount;
+ double expiration;
};

Powered by Google App Engine
This is Rietveld 408576698