summaryrefslogtreecommitdiffstats
path: root/components/toolbar/toolbar_model.cc
blob: b7f1f2ec4d86f247485b5dc9ab9272d00bf3f362 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/toolbar/toolbar_model.h"

ToolbarModel::ToolbarModel()
    : input_in_progress_(false),
      url_replacement_enabled_(true) {
}

ToolbarModel::~ToolbarModel() {
}

bool ToolbarModel::WouldReplaceURL() const {
  return WouldPerformSearchTermReplacement(false);
}