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

Unified Diff: chrome/common/instant_types.cc

Issue 12386019: Instant: Use only one hidden WebContents per profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/instant_types.cc
diff --git a/chrome/common/instant_types.cc b/chrome/common/instant_types.cc
index bf43433aac67cdb83379e94fffa678ea2a5598bf..a54d0bd1d3fb65f4225aa99bb8dfebbf9cb69a72 100644
--- a/chrome/common/instant_types.cc
+++ b/chrome/common/instant_types.cc
@@ -6,15 +6,15 @@
InstantSuggestion::InstantSuggestion()
: behavior(INSTANT_COMPLETE_NOW),
- type(INSTANT_SUGGESTION_SEARCH) {
+ is_url(false) {
}
InstantSuggestion::InstantSuggestion(const string16& in_text,
InstantCompleteBehavior in_behavior,
- InstantSuggestionType in_type)
+ bool in_is_url)
: text(in_text),
behavior(in_behavior),
- type(in_type) {
+ is_url(in_is_url) {
}
InstantSuggestion::~InstantSuggestion() {
@@ -42,3 +42,14 @@ ThemeBackgroundInfo::ThemeBackgroundInfo()
ThemeBackgroundInfo::~ThemeBackgroundInfo() {
}
+
+MostVisitedItem::MostVisitedItem() {
+}
+
+MostVisitedItem::MostVisitedItem(const GURL& in_url, const string16& in_title)
+ : url(in_url),
+ title(in_title) {
+}
+
+MostVisitedItem::~MostVisitedItem() {
+}

Powered by Google App Engine
This is Rietveld 408576698