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

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

Issue 312093007: Revert of Added BookmarkClient::CanBeEditedByUser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
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 #ifndef CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ 5 #ifndef CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_
6 #define CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ 6 #define CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 const favicon_base::FaviconImageCallback& callback, 52 const favicon_base::FaviconImageCallback& callback,
53 base::CancelableTaskTracker* tracker) OVERRIDE; 53 base::CancelableTaskTracker* tracker) OVERRIDE;
54 virtual bool SupportsTypedCountForNodes() OVERRIDE; 54 virtual bool SupportsTypedCountForNodes() OVERRIDE;
55 virtual void GetTypedCountForNodes( 55 virtual void GetTypedCountForNodes(
56 const NodeSet& nodes, 56 const NodeSet& nodes,
57 NodeTypedCountPairs* node_typed_count_pairs) OVERRIDE; 57 NodeTypedCountPairs* node_typed_count_pairs) OVERRIDE;
58 virtual bool IsPermanentNodeVisible( 58 virtual bool IsPermanentNodeVisible(
59 const BookmarkPermanentNode* node) OVERRIDE; 59 const BookmarkPermanentNode* node) OVERRIDE;
60 virtual void RecordAction(const base::UserMetricsAction& action) OVERRIDE; 60 virtual void RecordAction(const base::UserMetricsAction& action) OVERRIDE;
61 virtual bookmarks::LoadExtraCallback GetLoadExtraNodesCallback() OVERRIDE; 61 virtual bookmarks::LoadExtraCallback GetLoadExtraNodesCallback() OVERRIDE;
62 virtual bool CanRemovePermanentNodeChildren(
63 const BookmarkNode* node) OVERRIDE;
62 virtual bool CanSetPermanentNodeTitle( 64 virtual bool CanSetPermanentNodeTitle(
63 const BookmarkNode* permanent_node) OVERRIDE; 65 const BookmarkNode* permanent_node) OVERRIDE;
64 virtual bool CanSyncNode(const BookmarkNode* node) OVERRIDE; 66 virtual bool CanSyncNode(const BookmarkNode* node) OVERRIDE;
65 virtual bool CanBeEditedByUser(const BookmarkNode* node) OVERRIDE; 67 virtual bool CanReorderChildren(const BookmarkNode* parent) OVERRIDE;
66 68
67 // content::NotificationObserver: 69 // content::NotificationObserver:
68 virtual void Observe(int type, 70 virtual void Observe(int type,
69 const content::NotificationSource& source, 71 const content::NotificationSource& source,
70 const content::NotificationDetails& details) OVERRIDE; 72 const content::NotificationDetails& details) OVERRIDE;
71 73
72 // KeyedService: 74 // KeyedService:
73 virtual void Shutdown() OVERRIDE; 75 virtual void Shutdown() OVERRIDE;
74 76
75 private: 77 private:
(...skipping 27 matching lines...) Expand all
103 105
104 scoped_ptr<BookmarkModel> model_; 106 scoped_ptr<BookmarkModel> model_;
105 107
106 policy::ManagedBookmarksTracker managed_bookmarks_tracker_; 108 policy::ManagedBookmarksTracker managed_bookmarks_tracker_;
107 BookmarkPermanentNode* managed_node_; 109 BookmarkPermanentNode* managed_node_;
108 110
109 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient); 111 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient);
110 }; 112 };
111 113
112 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ 114 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/provider/chrome_browser_provider.cc ('k') | chrome/browser/bookmarks/chrome_bookmark_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698