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

Side by Side Diff: components/omnibox/browser/omnibox_client.cc

Issue 2816353002: Make const versions GetTemplateURLForKeyword, GetTemplateURLForGUID, GetTemplateURLForHost (Closed)
Patch Set: Make definition and declaration order of new functions match Created 3 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #include "components/omnibox/browser/omnibox_client.h" 5 #include "components/omnibox/browser/omnibox_client.h"
6 6
7 #include "base/strings/string_util.h" 7 #include "base/strings/string_util.h"
8 #include "ui/gfx/image/image.h" 8 #include "ui/gfx/image/image.h"
9 9
10 std::unique_ptr<OmniboxNavigationObserver> 10 std::unique_ptr<OmniboxNavigationObserver>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 AutocompleteClassifier* OmniboxClient::GetAutocompleteClassifier() { 66 AutocompleteClassifier* OmniboxClient::GetAutocompleteClassifier() {
67 return nullptr; 67 return nullptr;
68 } 68 }
69 69
70 gfx::Image OmniboxClient::GetIconIfExtensionMatch( 70 gfx::Image OmniboxClient::GetIconIfExtensionMatch(
71 const AutocompleteMatch& match) const { 71 const AutocompleteMatch& match) const {
72 return gfx::Image(); 72 return gfx::Image();
73 } 73 }
74 74
75 bool OmniboxClient::ProcessExtensionKeyword( 75 bool OmniboxClient::ProcessExtensionKeyword(
76 TemplateURL* template_url, 76 const TemplateURL* template_url,
77 const AutocompleteMatch& match, 77 const AutocompleteMatch& match,
78 WindowOpenDisposition disposition, 78 WindowOpenDisposition disposition,
79 OmniboxNavigationObserver* observer) { 79 OmniboxNavigationObserver* observer) {
80 return false; 80 return false;
81 } 81 }
OLDNEW
« no previous file with comments | « components/omnibox/browser/omnibox_client.h ('k') | components/search_engines/template_url_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698