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

Unified Diff: components/history/core/browser/keyword_search_term.cc

Issue 339433007: Componentize URLDatabase (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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: components/history/core/browser/keyword_search_term.cc
diff --git a/components/history/core/browser/keyword_id.h b/components/history/core/browser/keyword_search_term.cc
similarity index 41%
copy from components/history/core/browser/keyword_id.h
copy to components/history/core/browser/keyword_search_term.cc
index 9dda5e1c371c5bc910f9874f803c2a97fe9dd258..08c0239b677ffb4ed2da9253fbbef210835acabb 100644
--- a/components/history/core/browser/keyword_id.h
+++ b/components/history/core/browser/keyword_search_term.cc
@@ -2,17 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_HISTORY_CORE_BROWSER_KEYWORD_ID_H_
-#define COMPONENTS_HISTORY_CORE_BROWSER_KEYWORD_ID_H_
-
-#include "base/basictypes.h"
+#include "components/history/core/browser/keyword_search_term.h"
namespace history {
-// ID of a keyword associated with a URL and a search term.
-// 0 is the invalid value.
-typedef int64 KeywordID;
+KeywordSearchTermVisit::KeywordSearchTermVisit() : visits(0) {}
+
+KeywordSearchTermVisit::~KeywordSearchTermVisit() {}
-} // namespace history
-#endif // COMPONENTS_HISTORY_CORE_BROWSER_KEYWORD_ID_H_
+KeywordSearchTermRow::KeywordSearchTermRow() : keyword_id(0), url_id(0) {}
+
+KeywordSearchTermRow::~KeywordSearchTermRow() {}
+
+} // namespace history
« no previous file with comments | « components/history/core/browser/keyword_search_term.h ('k') | components/history/core/browser/url_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698