summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bookmarks/bookmark_model.h
diff options
context:
space:
mode:
authormarkus@chromium.org <markus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-09 22:31:39 +0000
committermarkus@chromium.org <markus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-09 22:31:39 +0000
commitcbcd641584f5871ec827e5e92d2e701c3d1a4471 (patch)
tree0d247c884cecad5ed158bc260ea495d6670d8b97 /chrome/browser/bookmarks/bookmark_model.h
parent23eb8cd1862166d32bff8dcf9ee1b6e0e4717fff (diff)
downloadchromium_src-cbcd641584f5871ec827e5e92d2e701c3d1a4471.zip
chromium_src-cbcd641584f5871ec827e5e92d2e701c3d1a4471.tar.gz
chromium_src-cbcd641584f5871ec827e5e92d2e701c3d1a4471.tar.bz2
Adds support for BlockTillLoaded to Linux.
Review URL: http://codereview.chromium.org/39298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11300 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_model.h')
-rw-r--r--chrome/browser/bookmarks/bookmark_model.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/chrome/browser/bookmarks/bookmark_model.h b/chrome/browser/bookmarks/bookmark_model.h
index 23517dd..bd94c12 100644
--- a/chrome/browser/bookmarks/bookmark_model.h
+++ b/chrome/browser/bookmarks/bookmark_model.h
@@ -9,9 +9,7 @@
#include "base/lock.h"
#include "base/observer_list.h"
-#if defined(OS_WIN)
-#include "base/scoped_handle.h"
-#endif // defined(OS_WIN)
+#include "base/waitable_event.h"
#include "chrome/browser/bookmarks/bookmark_service.h"
#include "chrome/browser/bookmarks/bookmark_storage.h"
#include "chrome/browser/cancelable_request.h"
@@ -430,12 +428,7 @@ class BookmarkModel : public NotificationObserver, public BookmarkService {
// doesn't exist and the history service hasn't finished loading.
bool waiting_for_history_load_;
-#if defined(OS_WIN)
- // TODO(port): Implement for other platforms.
-
- // Handle to event signaled when loading is done.
- ScopedHandle loaded_signal_;
-#endif
+ base::WaitableEvent loaded_signal_;
DISALLOW_COPY_AND_ASSIGN(BookmarkModel);
};