| OLD | NEW |
| 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 COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_UTILS_H_ |
| 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_ | 6 #define COMPONENTS_BOOKMARKS_CORE_BROWSER_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 "components/bookmarks/core/browser/bookmark_node_data.h" |
| 13 | 13 |
| 14 class BookmarkModel; | 14 class BookmarkModel; |
| 15 class BookmarkNode; | 15 class BookmarkNode; |
| 16 class Profile; | 16 class Profile; |
| 17 class GURL; | 17 class GURL; |
| 18 | 18 |
| 19 namespace user_prefs { | 19 namespace user_prefs { |
| 20 class PrefRegistrySyncable; | 20 class PrefRegistrySyncable; |
| 21 } | 21 } |
| 22 | 22 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 | 122 |
| 123 // Returns the lower-cased title, possibly truncated if the original title | 123 // Returns the lower-cased title, possibly truncated if the original title |
| 124 // is overly-long. | 124 // is overly-long. |
| 125 base::string16 CleanUpTitleForMatching(const base::string16& title); | 125 base::string16 CleanUpTitleForMatching(const base::string16& title); |
| 126 | 126 |
| 127 } // namespace bookmark_utils | 127 } // namespace bookmark_utils |
| 128 | 128 |
| 129 // Returns the node with |id|, or NULL if there is no node with |id|. | 129 // Returns the node with |id|, or NULL if there is no node with |id|. |
| 130 const BookmarkNode* GetBookmarkNodeByID(const BookmarkModel* model, int64 id); | 130 const BookmarkNode* GetBookmarkNodeByID(const BookmarkModel* model, int64 id); |
| 131 | 131 |
| 132 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_UTILS_H_ | 132 #endif // COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_UTILS_H_ |
| OLD | NEW |