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

Unified Diff: chrome/browser/android/contextualsearch/contextual_search_manager.cc

Issue 2351283002: [TTS] Decode Now on Tap results for v1 integration. (Closed)
Patch Set: Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/contextualsearch/contextual_search_manager.cc
diff --git a/chrome/browser/android/contextualsearch/contextual_search_manager.cc b/chrome/browser/android/contextualsearch/contextual_search_manager.cc
index b986859e008ae9e1e1968f5dbd4d4f62c95b9f59..b3e65e48eae81dbb7c92f4991869c9ae0f18cb95 100644
--- a/chrome/browser/android/contextualsearch/contextual_search_manager.cc
+++ b/chrome/browser/android/contextualsearch/contextual_search_manager.cc
@@ -11,6 +11,7 @@
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
#include "chrome/browser/android/contextualsearch/contextual_search_delegate.h"
+#include "chrome/browser/android/contextualsearch/contextual_search_field_trial.h"
#include "chrome/browser/android/contextualsearch/resolved_search_term.h"
#include "chrome/browser/android/tab_android.h"
#include "chrome/browser/profiles/profile_manager.h"
@@ -49,7 +50,9 @@ ContextualSearchManager::ContextualSearchManager(JNIEnv* env,
base::Bind(&ContextualSearchManager::OnSurroundingTextAvailable,
base::Unretained(this)),
base::Bind(&ContextualSearchManager::OnIcingSelectionAvailable,
- base::Unretained(this))));
+ base::Unretained(this)),
+ std::unique_ptr<ContextualSearchFieldTrial>(
+ new ContextualSearchFieldTrial())));
}
ContextualSearchManager::~ContextualSearchManager() {

Powered by Google App Engine
This is Rietveld 408576698