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

Unified Diff: cc/proto/memory_allocation.proto

Issue 1490513005: Add support for ManagedMemoryPolicy (de)serialization (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@renderer-settings
Patch Set: Rebase on top of origin/master Created 5 years 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 | « cc/proto/managed_memory_policy.proto ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/proto/memory_allocation.proto
diff --git a/cc/proto/skregion.proto b/cc/proto/memory_allocation.proto
similarity index 58%
copy from cc/proto/skregion.proto
copy to cc/proto/memory_allocation.proto
index 1f6b337e9b39c5e926b1ff497263b46687c0b760..436461d6044e3df3a74f811ff06363ea7c321cba 100644
--- a/cc/proto/skregion.proto
+++ b/cc/proto/memory_allocation.proto
@@ -4,17 +4,16 @@
syntax = "proto2";
-option optimize_for = LITE_RUNTIME;
-
package cc.proto;
-message SkRegion {
- enum Op {
- Op_Difference = 0;
- Op_Intersect = 1;
- Op_Union = 2;
- Op_XOR = 3;
- Op_ReverseDifference = 4;
- Op_Replace = 5;
+option optimize_for = LITE_RUNTIME;
+
+message MemoryAllocation {
+ enum PriorityCutoff {
+ UNKNOWN = 0;
+ ALLOW_NOTHING = 1;
+ ALLOW_REQUIRED_ONLY = 2;
+ ALLOW_NICE_TO_HAVE = 3;
+ ALLOW_EVERYTHING = 4;
}
-}
+}
« no previous file with comments | « cc/proto/managed_memory_policy.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698