| 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 "chrome/browser/bookmarks/bookmark_model.h" | 7 #include "components/bookmarks/core/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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 void BookmarkModelObserverTask::BookmarkNodeFaviconChanged( | 61 void BookmarkModelObserverTask::BookmarkNodeFaviconChanged( |
| 62 BookmarkModel* model, | 62 BookmarkModel* model, |
| 63 const BookmarkNode* node) { | 63 const BookmarkNode* node) { |
| 64 } | 64 } |
| 65 | 65 |
| 66 void BookmarkModelObserverTask::BookmarkNodeChildrenReordered( | 66 void BookmarkModelObserverTask::BookmarkNodeChildrenReordered( |
| 67 BookmarkModel* model, | 67 BookmarkModel* model, |
| 68 const BookmarkNode* node) { | 68 const BookmarkNode* node) { |
| 69 } | 69 } |
| OLD | NEW |