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

Side by Side Diff: chrome/browser/android/contextualsearch/resolved_search_term.h

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_ANDROID_CONTEXTUALSEARCH_RESOLVED_SEARCH_TERM_H_ 5 #ifndef CHROME_BROWSER_ANDROID_CONTEXTUALSEARCH_RESOLVED_SEARCH_TERM_H_
6 #define CHROME_BROWSER_ANDROID_CONTEXTUALSEARCH_RESOLVED_SEARCH_TERM_H_ 6 #define CHROME_BROWSER_ANDROID_CONTEXTUALSEARCH_RESOLVED_SEARCH_TERM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/macros.h"
11 11
12 // Encapsulates the various parts of a Resolved Search Term, which tells 12 // Encapsulates the various parts of a Resolved Search Term, which tells
13 // Contextual Search what to search for and how that term appears in the 13 // Contextual Search what to search for and how that term appears in the
14 // surrounding text. 14 // surrounding text.
15 struct ResolvedSearchTerm { 15 struct ResolvedSearchTerm {
16 public: 16 public:
17 ResolvedSearchTerm(bool is_invalid, 17 ResolvedSearchTerm(bool is_invalid,
18 int response_code, 18 int response_code,
19 const std::string& search_term, 19 const std::string& search_term,
20 const std::string& display_text, 20 const std::string& display_text,
(...skipping 11 matching lines...) Expand all
32 const std::string& alternate_term; 32 const std::string& alternate_term;
33 const bool prevent_preload; 33 const bool prevent_preload;
34 const int selection_start_adjust; 34 const int selection_start_adjust;
35 const int selection_end_adjust; 35 const int selection_end_adjust;
36 const std::string& context_language; 36 const std::string& context_language;
37 37
38 DISALLOW_COPY_AND_ASSIGN(ResolvedSearchTerm); 38 DISALLOW_COPY_AND_ASSIGN(ResolvedSearchTerm);
39 }; 39 };
40 40
41 #endif // CHROME_BROWSER_ANDROID_CONTEXTUALSEARCH_RESOLVED_SEARCH_TERM_H_ 41 #endif // CHROME_BROWSER_ANDROID_CONTEXTUALSEARCH_RESOLVED_SEARCH_TERM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698