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

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

Issue 2700783002: s/\bArc\b/ARC/g for ARC related code. (Closed)
Patch Set: Address ARC++ Created 3 years, 10 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/arc_features.cc ('k') | components/sync/base/model_type.h » ('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: 6 5 // Next MinVersion: 6
6 6
7 module arc.mojom; 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.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 // PID (within ARC's PID namespace) of the process. 82 // PID (within ARC's PID namespace) of the process.
83 uint32 pid; 83 uint32 pid;
84 84
85 // Current process state. 85 // Current process state.
86 ProcessState process_state; 86 ProcessState process_state;
87 87
88 // Package names running in the process. 88 // Package names running in the process.
89 [MinVersion=4] array<string>? packages; 89 [MinVersion=4] array<string>? packages;
90 90
91 // Whether this app is focused in ARC++ multi-window environment. 91 // Whether this app is focused in ARC multi-window environment.
92 [MinVersion=5] bool is_focused; 92 [MinVersion=5] bool is_focused;
93 93
94 // Last time the process was active. Milliseconds since boot. 94 // Last time the process was active. Milliseconds since boot.
95 // The clock is monotonic (comes from Android System.uptimeMillis()). 95 // The clock is monotonic (comes from Android System.uptimeMillis()).
96 [MinVersion=5] int64 last_activity_time; 96 [MinVersion=5] int64 last_activity_time;
97 }; 97 };
98 98
99 interface ProcessInstance { 99 interface ProcessInstance {
100 // Requests ARC instance to return the current process list. 100 // Requests ARC instance to return the current process list.
101 RequestProcessList@0() => (array<RunningAppProcessInfo> processes); 101 RequestProcessList@0() => (array<RunningAppProcessInfo> processes);
102 102
103 // Requests ARC instance to kill a process. 103 // Requests ARC instance to kill a process.
104 [MinVersion=1] 104 [MinVersion=1]
105 KillProcess@1(uint32 pid, string reason); 105 KillProcess@1(uint32 pid, string reason);
106 106
107 // Sets oom_score_adj of a process. 107 // Sets oom_score_adj of a process.
108 [MinVersion=2] 108 [MinVersion=2]
109 DeprecatedSetOomScoreAdj@2(uint32 pid, int32 score); 109 DeprecatedSetOomScoreAdj@2(uint32 pid, int32 score);
110 110
111 // Disables Android built-in oom_adj adjustment. 111 // Disables Android built-in oom_adj adjustment.
112 [MinVersion=2] 112 [MinVersion=2]
113 DeprecatedDisableBuiltinOomAdjustment@3(); 113 DeprecatedDisableBuiltinOomAdjustment@3();
114 114
115 // Disables Android lowmemorykiller. 115 // Disables Android lowmemorykiller.
116 [MinVersion=3] 116 [MinVersion=3]
117 DeprecatedDisableLowMemoryKiller@4(); 117 DeprecatedDisableLowMemoryKiller@4();
118 }; 118 };
OLDNEW
« no previous file with comments | « components/arc/arc_features.cc ('k') | components/sync/base/model_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698