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

Side by Side Diff: components/arc/common/process.mojom

Issue 1885683005: Add module suffix in .mojom files for components/arc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase only Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « components/arc/common/power.mojom ('k') | components/arc/common/video.mojom » ('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 // Next MinVersion: 3 5 // Next MinVersion: 3
6 6
7 module arc; 7 module arc.mojom;
8 8
9 // Describes the current process state, as defined by AOSP in 9 // Describes the current process state, as defined by AOSP in
10 // android.app.ActivityManager. 10 // android.app.ActivityManager.
11 enum ProcessState { 11 enum ProcessState {
12 // Process does not exist. 12 // Process does not exist.
13 NONEXISTENT = -1, 13 NONEXISTENT = -1,
14 14
15 // Process is a persistent system process. 15 // Process is a persistent system process.
16 PERSISTENT = 0, 16 PERSISTENT = 0,
17 17
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // Set oom_score_adj of a process. 97 // Set oom_score_adj of a process.
98 [MinVersion=2] 98 [MinVersion=2]
99 SetOomScoreAdj(uint32 pid, int32 score); 99 SetOomScoreAdj(uint32 pid, int32 score);
100 100
101 // Disable android built-in oom_adj adjustment. 101 // Disable android built-in oom_adj adjustment.
102 // After calling this method, Chrome will take over OOM scores management, 102 // After calling this method, Chrome will take over OOM scores management,
103 // namely oom_score_adj settings. 103 // namely oom_score_adj settings.
104 [MinVersion=2] 104 [MinVersion=2]
105 DisableBuiltinOomAdjustment(); 105 DisableBuiltinOomAdjustment();
106 }; 106 };
OLDNEW
« no previous file with comments | « components/arc/common/power.mojom ('k') | components/arc/common/video.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698