diff options
Diffstat (limited to 'chrome/browser/history/text_database_manager.h')
| -rw-r--r-- | chrome/browser/history/text_database_manager.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/chrome/browser/history/text_database_manager.h b/chrome/browser/history/text_database_manager.h index 89b750a..120f4b1 100644 --- a/chrome/browser/history/text_database_manager.h +++ b/chrome/browser/history/text_database_manager.h @@ -12,7 +12,6 @@ #include "base/basictypes.h" #include "base/file_path.h" #include "base/gtest_prod_util.h" -#include "base/memory/weak_ptr.h" #include "base/string16.h" #include "base/task.h" #include "base/memory/mru_cache.h" @@ -33,7 +32,7 @@ class VisitDatabase; // It will also keep a list of partial changes, such as page adds and title and // body sets, all of which come in at different times for a given page. When // all data is received or enough time has elapsed since adding, the indexed -// data will be committed. +// data will be comitted. // // This allows us to minimize inserts and modifications, which are slow for the // full text database, since each page's information is added exactly once. @@ -127,7 +126,7 @@ class TextDatabaseManager { // The text database manager keeps a list of changes that are made to the // file AddPageURL/Title/Body that may not be committed to the database yet. - // This function removes entries from this list happening between the given + // This function removes entires from this list happening between the given // time range. It is called when the user clears their history for a time // range, and we don't want any of our data to "leak." If restrict_urls is // not empty, only changes on those URLs are deleted. @@ -278,7 +277,7 @@ class TextDatabaseManager { DBCache db_cache_; // Tells us about the existence of database files on disk. All existing - // databases will be in here, and non-existent ones will not, so we don't + // databases will be in here, and non-existant ones will not, so we don't // have to check the disk every time. // // This set is populated LAZILY by InitDBList(), you should call that function @@ -297,7 +296,7 @@ class TextDatabaseManager { QueryParser query_parser_; // Generates tasks for our periodic checking of expired "recent changes". - base::WeakPtrFactory<TextDatabaseManager> weak_factory_; + ScopedRunnableMethodFactory<TextDatabaseManager> factory_; // This object is created and managed by the history backend. We maintain an // opaque pointer to the object for our use. |
