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

Side by Side Diff: chrome/browser/search_engines/ui_thread_search_terms_data_android.h

Issue 324283003: Move search_terms_data to components/search_engines (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_SEARCH_ENGINES_SEARCH_TERMS_DATA_ANDROID_H_ 5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_UI_THREAD_SEARCH_TERMS_DATA_ANDROID_H_
6 #define CHROME_BROWSER_SEARCH_ENGINES_SEARCH_TERMS_DATA_ANDROID_H_ 6 #define CHROME_BROWSER_SEARCH_ENGINES_UI_THREAD_SEARCH_TERMS_DATA_ANDROID_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 12
13 // Additional data needed by TemplateURLRef::ReplaceSearchTerms on Android. 13 // Additional data needed by TemplateURLRef::ReplaceSearchTerms on Android.
14 struct SearchTermsDataAndroid { 14 struct SearchTermsDataAndroid {
15 static base::LazyInstance<base::string16>::Leaky rlz_parameter_value_; 15 static base::LazyInstance<base::string16>::Leaky rlz_parameter_value_;
16 static base::LazyInstance<std::string>::Leaky search_client_; 16 static base::LazyInstance<std::string>::Leaky search_client_;
17 }; 17 };
18 18
19 #endif // CHROME_BROWSER_SEARCH_ENGINES_SEARCH_TERMS_DATA_ANDROID_H_ 19 #endif // CHROME_BROWSER_SEARCH_ENGINES_UI_THREAD_SEARCH_TERMS_DATA_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698