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

Side by Side Diff: chrome/browser/memory/tab_manager_delegate_chromeos.h

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
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 #ifndef CHROME_BROWSER_MEMORY_TAB_MANAGER_DELEGATE_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_MEMORY_TAB_MANAGER_DELEGATE_CHROMEOS_H_
6 #define CHROME_BROWSER_MEMORY_TAB_MANAGER_DELEGATE_CHROMEOS_H_ 6 #define CHROME_BROWSER_MEMORY_TAB_MANAGER_DELEGATE_CHROMEOS_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // Timer to guarantee that the tab is focused for a certain amount of time. 172 // Timer to guarantee that the tab is focused for a certain amount of time.
173 base::OneShotTimer focus_tab_score_adjust_timer_; 173 base::OneShotTimer focus_tab_score_adjust_timer_;
174 // This lock is for |oom_score_map_| and |focused_tab_process_info_|. 174 // This lock is for |oom_score_map_| and |focused_tab_process_info_|.
175 base::Lock oom_score_lock_; 175 base::Lock oom_score_lock_;
176 // Map maintaining the process handle - oom_score mapping. Behind 176 // Map maintaining the process handle - oom_score mapping. Behind
177 // |oom_score_lock_|. 177 // |oom_score_lock_|.
178 ProcessScoreMap oom_score_map_; 178 ProcessScoreMap oom_score_map_;
179 // Holds the focused tab's child process host id. Behind |oom_score_lock_|. 179 // Holds the focused tab's child process host id. Behind |oom_score_lock_|.
180 ProcessInfo focused_tab_process_info_; 180 ProcessInfo focused_tab_process_info_;
181 181
182 // Holds a weak pointer to arc::ProcessInstance. 182 // Holds a weak pointer to arc::mojom::ProcessInstance.
183 arc::ProcessInstance* arc_process_instance_; 183 arc::mojom::ProcessInstance* arc_process_instance_;
184 // Current ProcessInstance version. 184 // Current ProcessInstance version.
185 int arc_process_instance_version_; 185 int arc_process_instance_version_;
186 186
187 // Weak pointer factory used for posting tasks to other threads. 187 // Weak pointer factory used for posting tasks to other threads.
188 base::WeakPtrFactory<TabManagerDelegate> weak_ptr_factory_; 188 base::WeakPtrFactory<TabManagerDelegate> weak_ptr_factory_;
189 189
190 DISALLOW_COPY_AND_ASSIGN(TabManagerDelegate); 190 DISALLOW_COPY_AND_ASSIGN(TabManagerDelegate);
191 }; 191 };
192 192
193 } // namespace memory 193 } // namespace memory
194 194
195 #endif // CHROME_BROWSER_MEMORY_TAB_MANAGER_DELEGATE_CHROMEOS_H_ 195 #endif // CHROME_BROWSER_MEMORY_TAB_MANAGER_DELEGATE_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/arc/gpu_arc_video_service_host.cc ('k') | chrome/browser/memory/tab_manager_delegate_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698