diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-09 20:03:23 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-09 20:03:23 +0000 |
commit | 24287ab52e13898447a882b34f369bf2a05ebc8a (patch) | |
tree | eca3609858f6c77e41a3c5fef7556de0dc96cd04 /chrome/browser/task_manager.h | |
parent | 19d9acf355595fcf5b13814cc38b6e4e7153452d (diff) | |
download | chromium_src-24287ab52e13898447a882b34f369bf2a05ebc8a.zip chromium_src-24287ab52e13898447a882b34f369bf2a05ebc8a.tar.gz chromium_src-24287ab52e13898447a882b34f369bf2a05ebc8a.tar.bz2 |
Fix some problems with TaskManagerBrowserTest.PopulateWebCacheFields:
- wait for an actual update to occur; otherwise we're not testing the real thing
- change DCHECKs to EXPECT_EQs; that's what we should use in tests
This change should also fix the crashiness of this test.
TEST=browser_tests
BUG=42301
Review URL: http://codereview.chromium.org/2856091
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55449 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/task_manager.h')
-rw-r--r-- | chrome/browser/task_manager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/task_manager.h b/chrome/browser/task_manager.h index 4a92582..d078cb4 100644 --- a/chrome/browser/task_manager.h +++ b/chrome/browser/task_manager.h @@ -45,7 +45,7 @@ class TaskManager { virtual SkBitmap GetIcon() const = 0; virtual base::ProcessHandle GetProcess() const = 0; - virtual bool ReportsCacheStats() const { return false; } + virtual bool HasCacheStats() const { return false; } virtual WebKit::WebCache::ResourceTypeStats GetWebCoreCacheStats() const { return WebKit::WebCache::ResourceTypeStats(); } |