OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/enhanced_bookmarks/bookmark_image_service.h" | 5 #include "components/enhanced_bookmarks/bookmark_image_service.h" |
6 | 6 |
| 7 #include "base/bind.h" |
| 8 #include "base/location.h" |
7 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
8 #include "base/task_runner_util.h" | 10 #include "base/task_runner_util.h" |
9 #include "base/thread_task_runner_handle.h" | 11 #include "base/thread_task_runner_handle.h" |
10 #include "base/threading/sequenced_worker_pool.h" | 12 #include "base/threading/sequenced_worker_pool.h" |
11 #include "components/bookmarks/browser/bookmark_model.h" | 13 #include "components/bookmarks/browser/bookmark_model.h" |
12 #include "components/bookmarks/browser/bookmark_model_observer.h" | 14 #include "components/bookmarks/browser/bookmark_model_observer.h" |
13 #include "components/enhanced_bookmarks/enhanced_bookmark_model.h" | 15 #include "components/enhanced_bookmarks/enhanced_bookmark_model.h" |
14 #include "components/enhanced_bookmarks/enhanced_bookmark_utils.h" | 16 #include "components/enhanced_bookmarks/enhanced_bookmark_utils.h" |
15 #include "components/enhanced_bookmarks/image_store_util.h" | 17 #include "components/enhanced_bookmarks/image_store_util.h" |
16 #include "components/enhanced_bookmarks/persistent_image_store.h" | 18 #include "components/enhanced_bookmarks/persistent_image_store.h" |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 const BookmarkNode* node) { | 372 const BookmarkNode* node) { |
371 } | 373 } |
372 | 374 |
373 void BookmarkImageService::BookmarkAllUserNodesRemoved( | 375 void BookmarkImageService::BookmarkAllUserNodesRemoved( |
374 BookmarkModel* model, | 376 BookmarkModel* model, |
375 const std::set<GURL>& removed_urls) { | 377 const std::set<GURL>& removed_urls) { |
376 ClearAll(); | 378 ClearAll(); |
377 } | 379 } |
378 | 380 |
379 } // namespace enhanced_bookmarks | 381 } // namespace enhanced_bookmarks |
OLD | NEW |