Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4636)

Unified Diff: chrome/browser/bookmarks/bookmark_storage.h

Issue 342068: Third patch in getting rid of caching MessageLoop pointers and always using C... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/bookmarks/bookmark_model_unittest.cc ('k') | chrome/browser/bookmarks/bookmark_storage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_storage.h
===================================================================
--- chrome/browser/bookmarks/bookmark_storage.h (revision 30650)
+++ chrome/browser/bookmarks/bookmark_storage.h (working copy)
@@ -19,10 +19,6 @@
class Task;
class Value;
-namespace base {
-class Thread;
-}
-
// BookmarkStorage handles reading/write the bookmark bar model. The
// BookmarkModel uses the BookmarkStorage to load bookmarks from disk, as well
// as notifying the BookmarkStorage every time the model changes.
@@ -143,23 +139,12 @@
// Returns true on successful serialization.
bool SaveNow();
- // Runs task on backend thread (or on current thread if backend thread
- // is NULL). Takes ownership of |task|.
- void RunTaskOnBackendThread(Task* task) const;
-
- // Returns the thread the backend is run on.
- const base::Thread* backend_thread() const { return backend_thread_; }
-
// Keep the pointer to profile, we may need it for migration from history.
Profile* profile_;
// The model. The model is NULL once BookmarkModelDeleted has been invoked.
BookmarkModel* model_;
- // Thread read/writing is run on. This comes from the profile, and is null
- // during testing.
- const base::Thread* backend_thread_;
-
// Helper to write bookmark data safely.
ImportantFileWriter writer_;
« no previous file with comments | « chrome/browser/bookmarks/bookmark_model_unittest.cc ('k') | chrome/browser/bookmarks/bookmark_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698