OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/android/provider/bookmark_model_observer_task.h" | 5 #include "chrome/browser/android/provider/bookmark_model_observer_task.h" |
6 | 6 |
7 #include "components/bookmarks/core/browser/bookmark_model.h" | 7 #include "components/bookmarks/browser/bookmark_model.h" |
8 #include "content/public/browser/browser_thread.h" | 8 #include "content/public/browser/browser_thread.h" |
9 | 9 |
10 using content::BrowserThread; | 10 using content::BrowserThread; |
11 | 11 |
12 BookmarkModelTask::BookmarkModelTask(BookmarkModel* model) | 12 BookmarkModelTask::BookmarkModelTask(BookmarkModel* model) |
13 : model_(model) { | 13 : model_(model) { |
14 // Ensure the initialization of the native bookmark model. | 14 // Ensure the initialization of the native bookmark model. |
15 DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::UI)); | 15 DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::UI)); |
16 DCHECK(model_); | 16 DCHECK(model_); |
17 model_->BlockTillLoaded(); | 17 model_->BlockTillLoaded(); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 void BookmarkModelObserverTask::BookmarkNodeFaviconChanged( | 67 void BookmarkModelObserverTask::BookmarkNodeFaviconChanged( |
68 BookmarkModel* model, | 68 BookmarkModel* model, |
69 const BookmarkNode* node) { | 69 const BookmarkNode* node) { |
70 } | 70 } |
71 | 71 |
72 void BookmarkModelObserverTask::BookmarkNodeChildrenReordered( | 72 void BookmarkModelObserverTask::BookmarkNodeChildrenReordered( |
73 BookmarkModel* model, | 73 BookmarkModel* model, |
74 const BookmarkNode* node) { | 74 const BookmarkNode* node) { |
75 } | 75 } |
OLD | NEW |