| OLD | NEW | 
|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_MEMORY_OOM_PRIORITY_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_MEMORY_OOM_PRIORITY_MANAGER_H_ | 
| 6 #define CHROME_BROWSER_CHROMEOS_MEMORY_OOM_PRIORITY_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_MEMORY_OOM_PRIORITY_MANAGER_H_ | 
| 7 | 7 | 
| 8 #include <vector> | 8 #include <vector> | 
| 9 | 9 | 
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" | 
| 11 #include "base/containers/hash_tables.h" | 11 #include "base/containers/hash_tables.h" | 
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" | 
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" | 
| 14 #include "base/process.h" | 14 #include "base/process/process.h" | 
| 15 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" | 
| 16 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" | 
| 17 #include "base/time/time.h" | 17 #include "base/time/time.h" | 
| 18 #include "base/timer/timer.h" | 18 #include "base/timer/timer.h" | 
| 19 #include "chromeos/memory/low_memory_listener_delegate.h" | 19 #include "chromeos/memory/low_memory_listener_delegate.h" | 
| 20 #include "content/public/browser/notification_observer.h" | 20 #include "content/public/browser/notification_observer.h" | 
| 21 #include "content/public/browser/notification_registrar.h" | 21 #include "content/public/browser/notification_registrar.h" | 
| 22 | 22 | 
| 23 class GURL; | 23 class GURL; | 
| 24 | 24 | 
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 164   // Whether a tab discard event has occurred during the last time interval, | 164   // Whether a tab discard event has occurred during the last time interval, | 
| 165   // used for statistics normalized by usage. | 165   // used for statistics normalized by usage. | 
| 166   bool recent_tab_discard_; | 166   bool recent_tab_discard_; | 
| 167 | 167 | 
| 168   DISALLOW_COPY_AND_ASSIGN(OomPriorityManager); | 168   DISALLOW_COPY_AND_ASSIGN(OomPriorityManager); | 
| 169 }; | 169 }; | 
| 170 | 170 | 
| 171 }  // namespace chrome | 171 }  // namespace chrome | 
| 172 | 172 | 
| 173 #endif  // CHROME_BROWSER_CHROMEOS_MEMORY_OOM_PRIORITY_MANAGER_H_ | 173 #endif  // CHROME_BROWSER_CHROMEOS_MEMORY_OOM_PRIORITY_MANAGER_H_ | 
| OLD | NEW | 
|---|