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

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

Issue 1354763003: [Contextual Search] Trigger the translation one-box. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated comment about test infrastructure needing to be updated when shifting to new API. Created 5 years, 1 month 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
« no previous file with comments | « chrome/browser/android/contextualsearch/resolved_search_term.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/contextualsearch/resolved_search_term.cc
diff --git a/chrome/browser/android/contextualsearch/resolved_search_term.cc b/chrome/browser/android/contextualsearch/resolved_search_term.cc
new file mode 100644
index 0000000000000000000000000000000000000000..7dbae1170f9ac99667b9fe81e2e90ec1820e4627
--- /dev/null
+++ b/chrome/browser/android/contextualsearch/resolved_search_term.cc
@@ -0,0 +1,26 @@
+// Copyright 2015 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.
+
+#include "chrome/browser/android/contextualsearch/resolved_search_term.h"
+
+ResolvedSearchTerm::ResolvedSearchTerm(bool is_invalid,
+ int response_code,
+ const std::string& search_term,
+ const std::string& display_text,
+ const std::string& alternate_term,
+ bool prevent_preload,
+ int selection_start_adjust,
+ int selection_end_adjust,
+ const std::string& context_language)
+ : is_invalid(is_invalid),
+ response_code(response_code),
+ search_term(search_term),
+ display_text(display_text),
+ alternate_term(alternate_term),
+ prevent_preload(prevent_preload),
+ selection_start_adjust(selection_start_adjust),
+ selection_end_adjust(selection_end_adjust),
+ context_language(context_language) {}
+
+ResolvedSearchTerm::~ResolvedSearchTerm() {}
« no previous file with comments | « chrome/browser/android/contextualsearch/resolved_search_term.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698