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

Side by Side Diff: components/omnibox/browser/suggestion_answer.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_OMNIBOX_BROWSER_SUGGESTION_ANSWER_H_ 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_SUGGESTION_ANSWER_H_
6 #define COMPONENTS_OMNIBOX_BROWSER_SUGGESTION_ANSWER_H_ 6 #define COMPONENTS_OMNIBOX_BROWSER_SUGGESTION_ANSWER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
13 #include "url/gurl.h" 14 #include "url/gurl.h"
14 15
15 namespace base { 16 namespace base {
16 class DictionaryValue; 17 class DictionaryValue;
17 } 18 }
18 19
19 // Structured representation of the JSON payload of a suggestion with an answer. 20 // Structured representation of the JSON payload of a suggestion with an answer.
20 // An answer has exactly two image lines, so called because they are a 21 // An answer has exactly two image lines, so called because they are a
21 // combination of text and an optional image URL. Each image line has 1 or more 22 // combination of text and an optional image URL. Each image line has 1 or more
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 SuggestionAnswer& operator=(const SuggestionAnswer&); 150 SuggestionAnswer& operator=(const SuggestionAnswer&);
150 151
151 ImageLine first_line_; 152 ImageLine first_line_;
152 ImageLine second_line_; 153 ImageLine second_line_;
153 int type_; 154 int type_;
154 155
155 FRIEND_TEST_ALL_PREFIXES(SuggestionAnswerTest, DifferentValuesAreUnequal); 156 FRIEND_TEST_ALL_PREFIXES(SuggestionAnswerTest, DifferentValuesAreUnequal);
156 }; 157 };
157 158
158 #endif // COMPONENTS_OMNIBOX_BROWSER_SUGGESTION_ANSWER_H_ 159 #endif // COMPONENTS_OMNIBOX_BROWSER_SUGGESTION_ANSWER_H_
OLDNEW
« no previous file with comments | « components/omnibox/browser/shortcuts_provider.cc ('k') | components/omnibox/browser/suggestion_answer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698