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

Side by Side 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: Add missing return-statements for conversions 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 package cc.proto;
8
7 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
8 10
9 package cc.proto; 11 message MemoryAllocation {
10 12 enum PriorityCutoff {
11 message SkRegion { 13 UNKNOWN = 0;
vmpstr 2015/12/01 18:59:53 SkRegion has this as ops as Op_Blah, this is BLAH_
nyquist 2015/12/01 22:36:47 OK. This follow-up is done in: https://codereview
12 enum Op { 14 ALLOW_NOTHING = 1;
13 Op_Difference = 0; 15 ALLOW_REQUIRED_ONLY = 2;
14 Op_Intersect = 1; 16 ALLOW_NICE_TO_HAVE = 3;
15 Op_Union = 2; 17 ALLOW_EVERYTHING = 4;
16 Op_XOR = 3;
17 Op_ReverseDifference = 4;
18 Op_Replace = 5;
19 } 18 }
20 } 19 }
OLDNEW
« cc/proto/gpu_conversions_unittest.cc ('K') | « cc/proto/managed_memory_policy.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698