diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-03 16:03:47 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-03 16:03:47 +0000 |
commit | 230f513db014fa6b33e5fd880ee5f8ff9e7aa28c (patch) | |
tree | 44a3a58726594412a67f1d6fcaca0db138316378 | |
parent | 5a7f0b9b48976c5e043eabf4d6e54f0cf19f01c9 (diff) | |
download | chromium_src-230f513db014fa6b33e5fd880ee5f8ff9e7aa28c.zip chromium_src-230f513db014fa6b33e5fd880ee5f8ff9e7aa28c.tar.gz chromium_src-230f513db014fa6b33e5fd880ee5f8ff9e7aa28c.tar.bz2 |
Remove ifdefs around parts ported by all platforms.
Review URL: http://codereview.chromium.org/39016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10795 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/renderer/render_thread.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc index f77686b..1870c00 100644 --- a/chrome/renderer/render_thread.cc +++ b/chrome/renderer/render_thread.cc @@ -208,24 +208,14 @@ void RenderThread::OnSetCacheCapacities(size_t min_dead_capacity, size_t max_dead_capacity, size_t capacity) { EnsureWebKitInitialized(); -#if defined(OS_WIN) || defined(OS_LINUX) CacheManager::SetCapacities(min_dead_capacity, max_dead_capacity, capacity); -#else - // TODO(port) - NOTIMPLEMENTED(); -#endif } void RenderThread::OnGetCacheResourceStats() { EnsureWebKitInitialized(); -#if defined(OS_WIN) || defined(OS_LINUX) CacheManager::ResourceTypeStats stats; CacheManager::GetResourceTypeStats(&stats); Send(new ViewHostMsg_ResourceTypeStats(stats)); -#else - // TODO(port) - NOTIMPLEMENTED(); -#endif } void RenderThread::OnGetRendererHistograms() { @@ -234,14 +224,9 @@ void RenderThread::OnGetRendererHistograms() { void RenderThread::InformHostOfCacheStats() { EnsureWebKitInitialized(); -#if defined(OS_WIN) || defined(OS_LINUX) CacheManager::UsageStats stats; CacheManager::GetUsageStats(&stats); Send(new ViewHostMsg_UpdatedCacheStats(stats)); -#else - // TODO(port) - NOTIMPLEMENTED(); -#endif } void RenderThread::InformHostOfCacheStatsLater() { |