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

Side by Side Diff: trunk/src/chrome/browser/bookmarks/bookmark_model.cc

Issue 14985007: Revert 198844 "Move sequenced_task_runner to base/task" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
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/bookmarks/bookmark_model.h" 5 #include "chrome/browser/bookmarks/bookmark_model.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/i18n/string_compare.h" 12 #include "base/i18n/string_compare.h"
13 #include "base/json/json_string_value_serializer.h" 13 #include "base/json/json_string_value_serializer.h"
14 #include "base/sequenced_task_runner.h"
14 #include "base/string_util.h" 15 #include "base/string_util.h"
15 #include "base/task/sequenced_task_runner.h"
16 #include "base/utf_string_conversions.h" 16 #include "base/utf_string_conversions.h"
17 #include "base/values.h" 17 #include "base/values.h"
18 #include "build/build_config.h" 18 #include "build/build_config.h"
19 #include "chrome/browser/bookmarks/bookmark_expanded_state_tracker.h" 19 #include "chrome/browser/bookmarks/bookmark_expanded_state_tracker.h"
20 #include "chrome/browser/bookmarks/bookmark_index.h" 20 #include "chrome/browser/bookmarks/bookmark_index.h"
21 #include "chrome/browser/bookmarks/bookmark_model_observer.h" 21 #include "chrome/browser/bookmarks/bookmark_model_observer.h"
22 #include "chrome/browser/bookmarks/bookmark_storage.h" 22 #include "chrome/browser/bookmarks/bookmark_storage.h"
23 #include "chrome/browser/bookmarks/bookmark_utils.h" 23 #include "chrome/browser/bookmarks/bookmark_utils.h"
24 #include "chrome/browser/favicon/favicon_service.h" 24 #include "chrome/browser/favicon/favicon_service.h"
25 #include "chrome/browser/favicon/favicon_service_factory.h" 25 #include "chrome/browser/favicon/favicon_service_factory.h"
(...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 BookmarkPermanentNode* bb_node = 997 BookmarkPermanentNode* bb_node =
998 CreatePermanentNode(BookmarkNode::BOOKMARK_BAR); 998 CreatePermanentNode(BookmarkNode::BOOKMARK_BAR);
999 BookmarkPermanentNode* other_node = 999 BookmarkPermanentNode* other_node =
1000 CreatePermanentNode(BookmarkNode::OTHER_NODE); 1000 CreatePermanentNode(BookmarkNode::OTHER_NODE);
1001 BookmarkPermanentNode* mobile_node = 1001 BookmarkPermanentNode* mobile_node =
1002 CreatePermanentNode(BookmarkNode::MOBILE); 1002 CreatePermanentNode(BookmarkNode::MOBILE);
1003 return new BookmarkLoadDetails(bb_node, other_node, mobile_node, 1003 return new BookmarkLoadDetails(bb_node, other_node, mobile_node,
1004 new BookmarkIndex(profile_), 1004 new BookmarkIndex(profile_),
1005 next_node_id_); 1005 next_node_id_);
1006 } 1006 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698