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

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

Issue 284893003: Move bookmarks/core/... to bookmarks/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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 COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_UTILS_H_ 5 #ifndef COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_UTILS_H_
6 #define COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_UTILS_H_ 6 #define COMPONENTS_BOOKMARKS_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 "base/strings/utf_offset_string_conversions.h" 12 #include "base/strings/utf_offset_string_conversions.h"
13 #include "components/bookmarks/core/browser/bookmark_node_data.h" 13 #include "components/bookmarks/browser/bookmark_node_data.h"
14 14
15 class BookmarkModel; 15 class BookmarkModel;
16 class BookmarkNode; 16 class BookmarkNode;
17 class Profile; 17 class Profile;
18 class GURL; 18 class GURL;
19 19
20 namespace user_prefs { 20 namespace user_prefs {
21 class PrefRegistrySyncable; 21 class PrefRegistrySyncable;
22 } 22 }
23 23
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 135
136 // Returns the lower-cased title, possibly truncated if the original title 136 // Returns the lower-cased title, possibly truncated if the original title
137 // is overly-long. 137 // is overly-long.
138 base::string16 CleanUpTitleForMatching(const base::string16& title); 138 base::string16 CleanUpTitleForMatching(const base::string16& title);
139 139
140 } // namespace bookmark_utils 140 } // namespace bookmark_utils
141 141
142 // Returns the node with |id|, or NULL if there is no node with |id|. 142 // Returns the node with |id|, or NULL if there is no node with |id|.
143 const BookmarkNode* GetBookmarkNodeByID(const BookmarkModel* model, int64 id); 143 const BookmarkNode* GetBookmarkNodeByID(const BookmarkModel* model, int64 id);
144 144
145 #endif // COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_UTILS_H_ 145 #endif // COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698