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

Unified Diff: chrome/browser/bookmarks/bookmark_table_model.h

Issue 113815: Support for searching bookmarks for IDN.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/bookmarks/bookmark_table_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_table_model.h
===================================================================
--- chrome/browser/bookmarks/bookmark_table_model.h (revision 17304)
+++ chrome/browser/bookmarks/bookmark_table_model.h (working copy)
@@ -24,13 +24,16 @@
public:
// Methods for creating the various BookmarkTableModels. Ownership passes
// to the caller.
+ // |languages| is the kAcceptLanguages value of the user preference. It is
+ // used to decode IDN.
static BookmarkTableModel* CreateRecentlyBookmarkedModel(
BookmarkModel* model);
static BookmarkTableModel* CreateBookmarkTableModelForFolder(
BookmarkModel* model, BookmarkNode* node);
static BookmarkTableModel* CreateSearchTableModel(
BookmarkModel* model,
- const std::wstring& text);
+ const std::wstring& text,
+ const std::wstring& languages);
explicit BookmarkTableModel(BookmarkModel* model);
virtual ~BookmarkTableModel();
« no previous file with comments | « no previous file | chrome/browser/bookmarks/bookmark_table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698