1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/history/history_types.h"
9 #include "base/logging.h"
10 #include "base/stl_util.h"
14 // VisitRow --------------------------------------------------------------------
20 transition(content::PAGE_TRANSITION_LINK),
24 VisitRow::VisitRow(URLID arg_url_id,
25 base::Time arg_visit_time,
26 VisitID arg_referring_visit,
27 content::PageTransition arg_transition,
28 SegmentID arg_segment_id)
31 visit_time(arg_visit_time),
32 referring_visit(arg_referring_visit),
33 transition(arg_transition),
34 segment_id(arg_segment_id) {
37 VisitRow::~VisitRow() {
40 // QueryURLResult -------------------------------------------------------------
42 QueryURLResult::QueryURLResult() : success(false) {
45 QueryURLResult::~QueryURLResult() {
48 // HistoryAddPageArgs ---------------------------------------------------------
50 HistoryAddPageArgs::HistoryAddPageArgs()
53 transition(content::PAGE_TRANSITION_LINK),
54 visit_source(SOURCE_BROWSED),
55 did_replace_entry(false) {}
57 HistoryAddPageArgs::HistoryAddPageArgs(
63 const history::RedirectList& redirects,
64 content::PageTransition transition,
66 bool did_replace_entry)
69 context_id(context_id),
73 transition(transition),
75 did_replace_entry(did_replace_entry) {
78 HistoryAddPageArgs::~HistoryAddPageArgs() {}
80 // VisitDatabaseObserver -------------------------------------------------------
82 VisitDatabaseObserver::~VisitDatabaseObserver() {}
84 } // namespace history