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

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

Issue 8960010: base::Bind: Convert NewRunnableMethod in chrome/browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix 55. Created 9 years 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
« no previous file with comments | « chrome/browser/omnibox_search_hint.cc ('k') | chrome/browser/oom_priority_manager.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 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
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // map maintaining the process - oom_score mapping. 94 // map maintaining the process - oom_score mapping.
95 typedef base::hash_map<base::ProcessHandle, int> ProcessScoreMap; 95 typedef base::hash_map<base::ProcessHandle, int> ProcessScoreMap;
96 ProcessScoreMap pid_to_oom_score_; 96 ProcessScoreMap pid_to_oom_score_;
97 base::ProcessHandle focused_tab_pid_; 97 base::ProcessHandle focused_tab_pid_;
98 98
99 DISALLOW_COPY_AND_ASSIGN(OomPriorityManager); 99 DISALLOW_COPY_AND_ASSIGN(OomPriorityManager);
100 }; 100 };
101 101
102 } // namespace browser 102 } // namespace browser
103 103
104 DISABLE_RUNNABLE_METHOD_REFCOUNT(browser::OomPriorityManager);
105
106 #endif // CHROME_BROWSER_OOM_PRIORITY_MANAGER_H_ 104 #endif // CHROME_BROWSER_OOM_PRIORITY_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/omnibox_search_hint.cc ('k') | chrome/browser/oom_priority_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698