diff options
author | agayev@chromium.org <agayev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-27 18:37:03 +0000 |
---|---|---|
committer | agayev@chromium.org <agayev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-27 18:37:03 +0000 |
commit | b4ae444bfcf965b735181d9a9198eec26773f2fa (patch) | |
tree | 2603be60f19659b8f68dce72ddde08dd4fda0caf /chrome/browser/history/text_database_manager.h | |
parent | e5d35a6d5fa430bb4e70c08ff13b9b13bf3fd2c7 (diff) | |
download | chromium_src-b4ae444bfcf965b735181d9a9198eec26773f2fa.zip chromium_src-b4ae444bfcf965b735181d9a9198eec26773f2fa.tar.gz chromium_src-b4ae444bfcf965b735181d9a9198eec26773f2fa.tar.bz2 |
Moved mru_cache from content/common to base/memory.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/6883187
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83182 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/text_database_manager.h')
-rw-r--r-- | chrome/browser/history/text_database_manager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/history/text_database_manager.h b/chrome/browser/history/text_database_manager.h index 952edc6..0bf541f 100644 --- a/chrome/browser/history/text_database_manager.h +++ b/chrome/browser/history/text_database_manager.h @@ -14,11 +14,11 @@ #include "base/gtest_prod_util.h" #include "base/string16.h" #include "base/task.h" +#include "base/memory/mru_cache.h" #include "chrome/browser/history/history_types.h" #include "chrome/browser/history/text_database.h" #include "chrome/browser/history/query_parser.h" #include "chrome/browser/history/url_database.h" -#include "content/common/mru_cache.h" namespace history { @@ -262,7 +262,7 @@ class TextDatabaseManager { // using Get. Instead, we keep them in the order they were inserted, since // this is the metric we use to measure age. The MRUCache gives us an ordered // list with fast lookup by URL. - typedef MRUCache<GURL, PageInfo> RecentChangeList; + typedef base::MRUCache<GURL, PageInfo> RecentChangeList; RecentChangeList recent_changes_; // Nesting levels of transactions. Since sqlite only allows one open @@ -273,7 +273,7 @@ class TextDatabaseManager { // The cache owns the TextDatabase pointers, they will be automagically // deleted when the cache entry is removed or expired. - typedef OwningMRUCache<TextDatabase::DBIdent, TextDatabase*> DBCache; + typedef base::OwningMRUCache<TextDatabase::DBIdent, TextDatabase*> DBCache; DBCache db_cache_; // Tells us about the existence of database files on disk. All existing |