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

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

Issue 2893943003: TabManager: Add more logs to understand how it works when memory is low. (Closed)
Patch Set: more review comments Created 3 years, 7 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 | « no previous file | chrome/browser/chromeos/arc/process/arc_process.cc » ('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 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
5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_PROCESS_ARC_PROCESS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_PROCESS_ARC_PROCESS_H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_PROCESS_ARC_PROCESS_H_ 6 #define CHROME_BROWSER_CHROMEOS_ARC_PROCESS_ARC_PROCESS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 std::string process_name_; 56 std::string process_name_;
57 mojom::ProcessState process_state_; 57 mojom::ProcessState process_state_;
58 // If the Android app is the focused window. 58 // If the Android app is the focused window.
59 bool is_focused_; 59 bool is_focused_;
60 // A monotonic timer recording the last time this process was active. 60 // A monotonic timer recording the last time this process was active.
61 // Milliseconds since Android boot. This info is passed from Android 61 // Milliseconds since Android boot. This info is passed from Android
62 // ActivityManagerService via IPC. 62 // ActivityManagerService via IPC.
63 int64_t last_activity_time_; 63 int64_t last_activity_time_;
64 std::vector<std::string> packages_; 64 std::vector<std::string> packages_;
65 65
66 friend std::ostream& operator<<(std::ostream& out,
67 const ArcProcess& arc_process);
68
66 DISALLOW_COPY_AND_ASSIGN(ArcProcess); 69 DISALLOW_COPY_AND_ASSIGN(ArcProcess);
67 }; 70 };
68 71
69 } // namespace arc 72 } // namespace arc
70 73
71 #endif // CHROME_BROWSER_CHROMEOS_ARC_PROCESS_ARC_PROCESS_H_ 74 #endif // CHROME_BROWSER_CHROMEOS_ARC_PROCESS_ARC_PROCESS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/process/arc_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698