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

Side by Side Diff: chrome/browser/bookmarks/chrome_bookmark_client.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 "chrome/browser/bookmarks/chrome_bookmark_client.h" 5 #include "chrome/browser/bookmarks/chrome_bookmark_client.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "build/build_config.h"
8 #include "chrome/browser/favicon/favicon_service_factory.h" 9 #include "chrome/browser/favicon/favicon_service_factory.h"
9 #include "chrome/browser/history/history_service_factory.h" 10 #include "chrome/browser/history/history_service_factory.h"
10 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
11 #include "components/bookmarks/browser/bookmark_node.h" 12 #include "components/bookmarks/browser/bookmark_node.h"
12 #include "components/bookmarks/browser/bookmark_storage.h" 13 #include "components/bookmarks/browser/bookmark_storage.h"
13 #include "components/bookmarks/managed/managed_bookmark_service.h" 14 #include "components/bookmarks/managed/managed_bookmark_service.h"
14 #include "components/bookmarks/managed/managed_bookmark_util.h" 15 #include "components/bookmarks/managed/managed_bookmark_util.h"
15 #include "components/favicon/core/favicon_util.h" 16 #include "components/favicon/core/favicon_util.h"
16 #include "components/history/core/browser/history_service.h" 17 #include "components/history/core/browser/history_service.h"
17 #include "components/history/core/browser/url_database.h" 18 #include "components/history/core/browser/url_database.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 ? true 116 ? true
116 : managed_bookmark_service_->CanSyncNode(node); 117 : managed_bookmark_service_->CanSyncNode(node);
117 } 118 }
118 119
119 bool ChromeBookmarkClient::CanBeEditedByUser( 120 bool ChromeBookmarkClient::CanBeEditedByUser(
120 const bookmarks::BookmarkNode* node) { 121 const bookmarks::BookmarkNode* node) {
121 return !managed_bookmark_service_ 122 return !managed_bookmark_service_
122 ? true 123 ? true
123 : managed_bookmark_service_->CanBeEditedByUser(node); 124 : managed_bookmark_service_->CanBeEditedByUser(node);
124 } 125 }
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_model_factory.cc ('k') | chrome/browser/bookmarks/startup_task_runner_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698