root/chrome/browser/ui/toolbar/toolbar_model.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. url_replacement_enabled_
  2. WouldReplaceURL

// 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 "chrome/browser/ui/toolbar/toolbar_model.h"

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

ToolbarModel::~ToolbarModel() {
}

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

/* [<][>][^][v][top][bottom][index][help] */