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

Side by Side Diff: chrome/browser/oom_priority_manager.h

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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 | Annotate | Revision Log
OLDNEW
1 1
2 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 #ifndef CHROME_BROWSER_OOM_PRIORITY_MANAGER_H_ 6 #ifndef CHROME_BROWSER_OOM_PRIORITY_MANAGER_H_
7 #define CHROME_BROWSER_OOM_PRIORITY_MANAGER_H_ 7 #define CHROME_BROWSER_OOM_PRIORITY_MANAGER_H_
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/hash_tables.h" 13 #include "base/hash_tables.h"
14 #include "base/process.h" 14 #include "base/process.h"
15 #include "base/string16.h" 15 #include "base/string16.h"
16 #include "base/synchronization/lock.h" 16 #include "base/synchronization/lock.h"
17 #include "base/task.h"
18 #include "base/time.h" 17 #include "base/time.h"
19 #include "base/timer.h" 18 #include "base/timer.h"
20 #include "content/public/browser/notification_observer.h" 19 #include "content/public/browser/notification_observer.h"
21 #include "content/public/browser/notification_registrar.h" 20 #include "content/public/browser/notification_registrar.h"
22 21
23 class TabContents; 22 class TabContents;
24 23
25 namespace browser { 24 namespace browser {
26 25
27 // The OomPriorityManager periodically checks (see 26 // The OomPriorityManager periodically checks (see
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 typedef base::hash_map<base::ProcessHandle, int> ProcessScoreMap; 94 typedef base::hash_map<base::ProcessHandle, int> ProcessScoreMap;
96 ProcessScoreMap pid_to_oom_score_; 95 ProcessScoreMap pid_to_oom_score_;
97 base::ProcessHandle focused_tab_pid_; 96 base::ProcessHandle focused_tab_pid_;
98 97
99 DISALLOW_COPY_AND_ASSIGN(OomPriorityManager); 98 DISALLOW_COPY_AND_ASSIGN(OomPriorityManager);
100 }; 99 };
101 100
102 } // namespace browser 101 } // namespace browser
103 102
104 #endif // CHROME_BROWSER_OOM_PRIORITY_MANAGER_H_ 103 #endif // CHROME_BROWSER_OOM_PRIORITY_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/sdch_dictionary_fetcher.h ('k') | chrome/browser/password_manager/password_store_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698