| Index: components/history/core/browser/history_types.cc
|
| diff --git a/chrome/browser/history/history_types.cc b/components/history/core/browser/history_types.cc
|
| similarity index 79%
|
| copy from chrome/browser/history/history_types.cc
|
| copy to components/history/core/browser/history_types.cc
|
| index 97d860dde08b4da7f954e959d981daefd78c4491..1bb484798bfd2aa39cacdfc336f920e752466238 100644
|
| --- a/chrome/browser/history/history_types.cc
|
| +++ b/components/history/core/browser/history_types.cc
|
| @@ -2,42 +2,16 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/history/history_types.h"
|
| +#include "components/history/core/browser/history_types.h"
|
|
|
| #include <limits>
|
|
|
| #include "base/logging.h"
|
| #include "base/stl_util.h"
|
| -#include "chrome/browser/history/page_usage_data.h"
|
| +#include "components/history/core/browser/page_usage_data.h"
|
|
|
| namespace history {
|
|
|
| -// VisitRow --------------------------------------------------------------------
|
| -
|
| -VisitRow::VisitRow()
|
| - : visit_id(0),
|
| - url_id(0),
|
| - referring_visit(0),
|
| - transition(content::PAGE_TRANSITION_LINK),
|
| - segment_id(0) {
|
| -}
|
| -
|
| -VisitRow::VisitRow(URLID arg_url_id,
|
| - base::Time arg_visit_time,
|
| - VisitID arg_referring_visit,
|
| - content::PageTransition arg_transition,
|
| - SegmentID arg_segment_id)
|
| - : visit_id(0),
|
| - url_id(arg_url_id),
|
| - visit_time(arg_visit_time),
|
| - referring_visit(arg_referring_visit),
|
| - transition(arg_transition),
|
| - segment_id(arg_segment_id) {
|
| -}
|
| -
|
| -VisitRow::~VisitRow() {
|
| -}
|
| -
|
| // QueryResults ----------------------------------------------------------------
|
|
|
| QueryResults::QueryResults() : reached_beginning_(false) {
|
| @@ -177,14 +151,6 @@ int QueryOptions::EffectiveMaxCount() const {
|
| return max_count ? max_count : std::numeric_limits<int>::max();
|
| }
|
|
|
| -// QueryURLResult -------------------------------------------------------------
|
| -
|
| -QueryURLResult::QueryURLResult() : success(false) {
|
| -}
|
| -
|
| -QueryURLResult::~QueryURLResult() {
|
| -}
|
| -
|
| // MostVisitedURL --------------------------------------------------------------
|
|
|
| MostVisitedURL::MostVisitedURL() {}
|
| @@ -237,42 +203,14 @@ TopSitesDelta::TopSitesDelta() {}
|
|
|
| TopSitesDelta::~TopSitesDelta() {}
|
|
|
| -// HistoryAddPageArgs ---------------------------------------------------------
|
| -
|
| -HistoryAddPageArgs::HistoryAddPageArgs()
|
| - : context_id(NULL),
|
| - page_id(0),
|
| - transition(content::PAGE_TRANSITION_LINK),
|
| - visit_source(SOURCE_BROWSED),
|
| - did_replace_entry(false) {}
|
| -
|
| -HistoryAddPageArgs::HistoryAddPageArgs(
|
| - const GURL& url,
|
| - base::Time time,
|
| - ContextID context_id,
|
| - int32 page_id,
|
| - const GURL& referrer,
|
| - const history::RedirectList& redirects,
|
| - content::PageTransition transition,
|
| - VisitSource source,
|
| - bool did_replace_entry)
|
| - : url(url),
|
| - time(time),
|
| - context_id(context_id),
|
| - page_id(page_id),
|
| - referrer(referrer),
|
| - redirects(redirects),
|
| - transition(transition),
|
| - visit_source(source),
|
| - did_replace_entry(did_replace_entry) {
|
| -}
|
| -
|
| -HistoryAddPageArgs::~HistoryAddPageArgs() {}
|
| +// ThumbnailMigration ---------------------------------------------------------
|
|
|
| ThumbnailMigration::ThumbnailMigration() {}
|
|
|
| ThumbnailMigration::~ThumbnailMigration() {}
|
|
|
| +// MostVisitedThumbnails ------------------------------------------------------
|
| +
|
| MostVisitedThumbnails::MostVisitedThumbnails() {}
|
|
|
| MostVisitedThumbnails::~MostVisitedThumbnails() {}
|
| @@ -303,9 +241,7 @@ FaviconBitmap::FaviconBitmap()
|
| FaviconBitmap::~FaviconBitmap() {
|
| }
|
|
|
| -// VisitDatabaseObserver -------------------------------------------------------
|
| -
|
| -VisitDatabaseObserver::~VisitDatabaseObserver() {}
|
| +// ExpireHistoryArgs ----------------------------------------------------------
|
|
|
| ExpireHistoryArgs::ExpireHistoryArgs() {
|
| }
|
|
|