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

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

Issue 176563002: Revert r252832: Eliminate Bookmarks dependence to bookmark_undo_utils.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_ 5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_
6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_ 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "chrome/browser/bookmarks/bookmark_node_data.h" 12 #include "chrome/browser/bookmarks/bookmark_node_data.h"
13 13
14 class BookmarkModel; 14 class BookmarkModel;
15 class BookmarkNode; 15 class BookmarkNode;
16 class Profile;
17 16
18 namespace user_prefs { 17 namespace user_prefs {
19 class PrefRegistrySyncable; 18 class PrefRegistrySyncable;
20 } 19 }
21 20
22 // A collection of bookmark utility functions used by various parts of the UI 21 // A collection of bookmark utility functions used by various parts of the UI
23 // that show bookmarks: bookmark manager, bookmark bar view ... 22 // that show bookmarks: bookmark manager, bookmark bar view ...
24 namespace bookmark_utils { 23 namespace bookmark_utils {
25 24
26 // Fields to use when finding matching bookmarks. 25 // Fields to use when finding matching bookmarks.
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 void AddIfNotBookmarked(BookmarkModel* model, 102 void AddIfNotBookmarked(BookmarkModel* model,
104 const GURL& url, 103 const GURL& url,
105 const base::string16& title); 104 const base::string16& title);
106 105
107 // Removes all bookmarks for the given |url|. 106 // Removes all bookmarks for the given |url|.
108 void RemoveAllBookmarks(BookmarkModel* model, const GURL& url); 107 void RemoveAllBookmarks(BookmarkModel* model, const GURL& url);
109 108
110 } // namespace bookmark_utils 109 } // namespace bookmark_utils
111 110
112 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_ 111 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_model_observer.h ('k') | chrome/browser/bookmarks/bookmark_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698