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

Side by Side Diff: chrome/browser/chromeos/arc/arc_process.h

Issue 2023643002: Add ARC app icons to the Task Manager UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 4 years, 6 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_PROCESS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_PROCESS_H_
5 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_PROCESS_H_ 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_PROCESS_H_
6 7
7 #include <string> 8 #include <string>
9 #include <vector>
8 10
9 #include "base/process/process_handle.h" 11 #include "base/process/process_handle.h"
10 #include "components/arc/common/process.mojom.h" 12 #include "components/arc/common/process.mojom.h"
11 13
12 namespace arc { 14 namespace arc {
13 15
14 struct ArcProcess { 16 struct ArcProcess {
Luis Héctor Chávez 2016/05/31 22:10:53 As discussed offline, this looks like it needs to
Yusuke Sato 2016/05/31 23:11:52 Done. Changed to class and added DISALLOW_COPY_AND
17 ArcProcess(base::ProcessId nspid,
18 base::ProcessId pid,
19 const std::string& process_name,
20 mojom::ProcessState process_state);
21 ~ArcProcess();
22 ArcProcess(const ArcProcess& rhs);
23
15 base::ProcessId nspid; 24 base::ProcessId nspid;
16 base::ProcessId pid; 25 base::ProcessId pid;
17 std::string process_name; 26 std::string process_name;
18 mojom::ProcessState process_state; 27 mojom::ProcessState process_state;
28 std::vector<std::string> packages;
19 }; 29 };
20 30
21 } // namespace arc 31 } // namespace arc
22 32
23 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_PROCESS_H_ 33 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_PROCESS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698