ui_thread_search_terms_data_android.h revision f8ee788a64d60abd8f2d742a5fdedde054ecd910
1// Copyright 2014 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef CHROME_BROWSER_SEARCH_ENGINES_UI_THREAD_SEARCH_TERMS_DATA_ANDROID_H_ 6#define CHROME_BROWSER_SEARCH_ENGINES_UI_THREAD_SEARCH_TERMS_DATA_ANDROID_H_ 7 8#include <string> 9 10#include "base/lazy_instance.h" 11#include "base/strings/string16.h" 12 13// Additional data needed by TemplateURLRef::ReplaceSearchTerms on Android. 14struct SearchTermsDataAndroid { 15 static base::LazyInstance<base::string16>::Leaky rlz_parameter_value_; 16 static base::LazyInstance<std::string>::Leaky search_client_; 17}; 18 19#endif // CHROME_BROWSER_SEARCH_ENGINES_UI_THREAD_SEARCH_TERMS_DATA_ANDROID_H_ 20