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

Side by Side Diff: components/toolbar/toolbar_model.cc

Issue 2232863002: Remove search::GetSearchTerms since it always returns empty string (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_query_extract
Patch Set: Android Created 4 years, 4 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
« no previous file with comments | « components/toolbar/toolbar_model.h ('k') | components/toolbar/toolbar_model_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/toolbar/toolbar_model.h" 5 #include "components/toolbar/toolbar_model.h"
6 6
7 ToolbarModel::ToolbarModel() 7 ToolbarModel::ToolbarModel()
8 : input_in_progress_(false), 8 : input_in_progress_(false),
9 url_replacement_enabled_(true) { 9 url_replacement_enabled_(true) {
10 } 10 }
11 11
12 ToolbarModel::~ToolbarModel() { 12 ToolbarModel::~ToolbarModel() {
13 } 13 }
14
15 bool ToolbarModel::WouldReplaceURL() const {
16 return WouldPerformSearchTermReplacement(false);
17 }
18
OLDNEW
« no previous file with comments | « components/toolbar/toolbar_model.h ('k') | components/toolbar/toolbar_model_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698