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

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

Issue 11448005: Add Android-specific parameters to search_engines/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing Created 8 years 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_SEARCH_TERMS_DATA_ANDROID_H_
6 #define CHROME_BROWSER_SEARCH_ENGINES_SEARCH_TERMS_DATA_ANDROID_H_
7
8 #include <string>
9
10 #include "base/lazy_instance.h"
11 #include "base/string16.h"
12
13 // Additional data needed by TemplateURLRef::ReplaceSearchTerms on Android.
14 class SearchTermsDataAndroid {
15 public:
16 static string16 GetRlzParameterValue();
17 static void SetRlzParameterValue(const string16& rlz);
18
19 static std::string GetSearchClient();
20 static void SetSearchClient(const std::string& client);
21
22 private:
23 static base::LazyInstance<string16>::Leaky rlz_parameter_value_;
24 static base::LazyInstance<std::string>::Leaky search_client_;
25 };
26
27 #endif // CHROME_BROWSER_SEARCH_ENGINES_SEARCH_TERMS_DATA_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698