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

Side by Side Diff: cc/proto/managed_memory_policy.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 unified diff | Download patch
« no previous file with comments | « cc/proto/gpu_conversions_unittest.cc ('k') | cc/proto/memory_allocation.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import "pointf.proto"; 7 import "memory_allocation.proto";
8 import "sizef.proto"; 8
9 package cc.proto;
9 10
10 option optimize_for = LITE_RUNTIME; 11 option optimize_for = LITE_RUNTIME;
11 12
12 package cc.proto; 13 message ManagedMemoryPolicy {
13 14 optional uint32 bytes_limit_when_visible = 1;
14 message RectF { 15 optional MemoryAllocation.PriorityCutoff priority_cutoff_when_visible = 2;
15 optional cc.proto.PointF origin = 1; 16 optional uint32 num_resources_limit = 3;
16 optional cc.proto.SizeF size = 2;
17 } 17 }
OLDNEW
« no previous file with comments | « cc/proto/gpu_conversions_unittest.cc ('k') | cc/proto/memory_allocation.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698