blob: 4026e952d427d3814f660b15465a37156df24e77 [file] [log] [blame]
Avi Drissman8ba1bad2022-09-13 19:22:361// Copyright 2014 The Chromium Authors
[email protected]375bd7312010-08-30 22:18:132// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]eb7c2e22014-06-12 16:26:075#ifndef COMPONENTS_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_
6#define COMPONENTS_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_
[email protected]375bd7312010-08-30 22:18:137
Tommy Li24459ac2022-01-20 18:33:148#include <memory>
[email protected]375bd7312010-08-30 22:18:139#include <string>
10
[email protected]49fd7e22011-11-21 16:52:2111#include "base/compiler_specific.h"
[email protected]375bd7312010-08-30 22:18:1312
13// All data needed by TemplateURLRef::ReplaceSearchTerms which typically may
14// only be accessed on the UI thread.
15class SearchTermsData {
16 public:
Moe Ahmadib224f462023-02-16 23:02:4517 // Enumeration of the known search or suggest request sources. These values
18 // are not persisted or used in histograms; thus can be freely changed.
19 enum class RequestSource {
Mohamad Ahmadid20cff72024-09-20 21:52:3120 SEARCHBOX, // Omnibox or the NTP realbox. The default.