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

Side by Side Diff: components/omnibox/browser/bookmark_provider.h

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in elide_url.cc Created 4 years, 8 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 (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 COMPONENTS_OMNIBOX_BROWSER_BOOKMARK_PROVIDER_H_ 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_BOOKMARK_PROVIDER_H_
6 #define COMPONENTS_OMNIBOX_BROWSER_BOOKMARK_PROVIDER_H_ 6 #define COMPONENTS_OMNIBOX_BROWSER_BOOKMARK_PROVIDER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // 'unhighlighted' classification span so the tail of the source string 70 // 'unhighlighted' classification span so the tail of the source string
71 // properly highlighted. 71 // properly highlighted.
72 static ACMatchClassifications ClassificationsFromMatch( 72 static ACMatchClassifications ClassificationsFromMatch(
73 const query_parser::Snippet::MatchPositions& positions, 73 const query_parser::Snippet::MatchPositions& positions,
74 size_t text_length, 74 size_t text_length,
75 bool is_url); 75 bool is_url);
76 76
77 AutocompleteProviderClient* client_; 77 AutocompleteProviderClient* client_;
78 bookmarks::BookmarkModel* bookmark_model_; 78 bookmarks::BookmarkModel* bookmark_model_;
79 79
80 // Languages used during the URL formatting.
81 std::string languages_;
82
83 DISALLOW_COPY_AND_ASSIGN(BookmarkProvider); 80 DISALLOW_COPY_AND_ASSIGN(BookmarkProvider);
84 }; 81 };
85 82
86 #endif // COMPONENTS_OMNIBOX_BROWSER_BOOKMARK_PROVIDER_H_ 83 #endif // COMPONENTS_OMNIBOX_BROWSER_BOOKMARK_PROVIDER_H_
OLDNEW
« no previous file with comments | « components/omnibox/browser/base_search_provider.cc ('k') | components/omnibox/browser/bookmark_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698