diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-30 20:42:27 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-30 20:42:27 +0000 |
commit | 57a336aa8b9a591e42fadcae359b20d596af7526 (patch) | |
tree | 74c2068e69aaa70c2040e62d8d14dc3583246c2b /chrome/browser/browser_process.h | |
parent | 0003f509cd63c23518dd20e62e871807ae973065 (diff) | |
download | chromium_src-57a336aa8b9a591e42fadcae359b20d596af7526.zip chromium_src-57a336aa8b9a591e42fadcae359b20d596af7526.tar.gz chromium_src-57a336aa8b9a591e42fadcae359b20d596af7526.tar.bz2 |
Remove all MemoryModel-related code, since we're unlikely to use it again. Also changes some sample code to use a random generic name ("PruningAlgorithm") instead of MemoryModel in hopes that no one will be confused.
This does not remove IdleTimer, even though it now has no users. I do plan to remove it, but I want to do that in a separate commit so it's easy to reference and revert if at some later point we want this functionality.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/242079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27652 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process.h')
-rw-r--r-- | chrome/browser/browser_process.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/chrome/browser/browser_process.h b/chrome/browser/browser_process.h index ff41250..7c1c5b3 100644 --- a/chrome/browser/browser_process.h +++ b/chrome/browser/browser_process.h @@ -53,21 +53,6 @@ class BrowserProcess { BrowserProcess() {} virtual ~BrowserProcess() {} - // The browser has 3 memory model configurations. These models have to - // do with how aggressively we release Renderer memory to the OS. - // Low memory releases memory the fastest, High memory releases it the - // slowest. Geek out! - enum MemoryModel { - // Will release as much memory as it can after each tab switch, and also - // after user idle. - LOW_MEMORY_MODEL, - // Will release a little memory after each tab switch and also after - // user idle. - MEDIUM_MEMORY_MODEL, - // Hangs onto every last byte. - HIGH_MEMORY_MODEL - }; - // Invoked when the user is logging out/shutting down. When logging off we may // not have enough time to do a normal shutdown. This method is invoked prior // to normal shutdown and saves any state that must be saved before we are @@ -133,8 +118,6 @@ class BrowserProcess { // Returns the locale used by the application. virtual const std::string& GetApplicationLocale() = 0; - virtual MemoryModel memory_model() = 0; - DownloadRequestManager* download_request_manager(); // Returns an event that is signaled when the browser shutdown. |