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

Side by Side Diff: components/enhanced_bookmarks/bookmark_image_service.cc

Issue 1198963014: Change ownership of BookmarkClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup_managed_and_supervised_nodes
Patch Set: Rebase Created 5 years, 6 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/bookmarks/test/test_bookmark_client.cc ('k') | components/enhanced_bookmarks/enhanced_bookmark_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698