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

Unified 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: Addressing nits 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/search_engines/search_terms_data_android.h
diff --git a/chrome/browser/search_engines/search_terms_data_android.h b/chrome/browser/search_engines/search_terms_data_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..06bb106dcbc338258a55af9a82f7071dda9746db
--- /dev/null
+++ b/chrome/browser/search_engines/search_terms_data_android.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2012 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.
+
+#ifndef CHROME_BROWSER_SEARCH_ENGINES_SEARCH_TERMS_DATA_ANDROID_H_
+#define CHROME_BROWSER_SEARCH_ENGINES_SEARCH_TERMS_DATA_ANDROID_H_
+
+#include <string>
+
+#include "base/lazy_instance.h"
+#include "base/string16.h"
+
+// Additional data needed by TemplateURLRef::ReplaceSearchTerms on Android.
+struct SearchTermsDataAndroid {
+ static base::LazyInstance<string16>::Leaky rlz_parameter_value_;
+ static base::LazyInstance<std::string>::Leaky search_client_;
+};
+
+#endif // CHROME_BROWSER_SEARCH_ENGINES_SEARCH_TERMS_DATA_ANDROID_H_
« no previous file with comments | « chrome/browser/search_engines/search_terms_data.cc ('k') | chrome/browser/search_engines/search_terms_data_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698