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

Side by Side Diff: chrome/common/instant_types.h

Issue 1731483003: chrome: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_COMMON_INSTANT_TYPES_H_ 5 #ifndef CHROME_COMMON_INSTANT_TYPES_H_
6 #define CHROME_COMMON_INSTANT_TYPES_H_ 6 #define CHROME_COMMON_INSTANT_TYPES_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // True if theme has attribution logo. 118 // True if theme has attribution logo.
119 // Value is only valid if |theme_id| is valid. 119 // Value is only valid if |theme_id| is valid.
120 bool has_attribution; 120 bool has_attribution;
121 121
122 // True if theme has an alternate logo. 122 // True if theme has an alternate logo.
123 bool logo_alternate; 123 bool logo_alternate;
124 }; 124 };
125 125
126 struct InstantMostVisitedItem { 126 struct InstantMostVisitedItem {
127 InstantMostVisitedItem(); 127 InstantMostVisitedItem();
128 InstantMostVisitedItem(const InstantMostVisitedItem& other);
128 ~InstantMostVisitedItem(); 129 ~InstantMostVisitedItem();
129 130
130 // The URL of the Most Visited item. 131 // The URL of the Most Visited item.
131 GURL url; 132 GURL url;
132 133
133 // The title of the Most Visited page. May be empty, in which case the |url| 134 // The title of the Most Visited page. May be empty, in which case the |url|
134 // is used as the title. 135 // is used as the title.
135 base::string16 title; 136 base::string16 title;
136 137
137 // The external URL of the thumbnail associated with this page. 138 // The external URL of the thumbnail associated with this page.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 184
184 // The optional assisted query stats, aka AQS, used for logging purposes. 185 // The optional assisted query stats, aka AQS, used for logging purposes.
185 // This string contains impressions of all autocomplete matches shown 186 // This string contains impressions of all autocomplete matches shown
186 // at the query submission time. For privacy reasons, we require the 187 // at the query submission time. For privacy reasons, we require the
187 // search provider to support HTTPS protocol in order to receive the AQS 188 // search provider to support HTTPS protocol in order to receive the AQS
188 // param. 189 // param.
189 // For more details, see http://goto.google.com/binary-clients-logging. 190 // For more details, see http://goto.google.com/binary-clients-logging.
190 base::string16 assisted_query_stats; 191 base::string16 assisted_query_stats;
191 }; 192 };
192 #endif // CHROME_COMMON_INSTANT_TYPES_H_ 193 #endif // CHROME_COMMON_INSTANT_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698