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

Unified Diff: chrome/browser/history/history_types.cc

Issue 584013002: Componentize history_types.{cc,h} and android_history_types.{cc,h} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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
« no previous file with comments | « chrome/browser/history/history_types.h ('k') | chrome/browser/history/history_types_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_types.cc
diff --git a/chrome/browser/history/history_types.cc b/chrome/browser/history/history_types.cc
deleted file mode 100644
index 5e733cc2ce3b60a496d26fe00560854064e3a04b..0000000000000000000000000000000000000000
--- a/chrome/browser/history/history_types.cc
+++ /dev/null
@@ -1,84 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// 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 <limits>
-
-#include "base/logging.h"
-#include "base/stl_util.h"
-
-namespace history {
-
-// VisitRow --------------------------------------------------------------------
-
-VisitRow::VisitRow()
- : visit_id(0),
- url_id(0),
- referring_visit(0),
- transition(ui::PAGE_TRANSITION_LINK),
- segment_id(0) {
-}
-
-VisitRow::VisitRow(URLID arg_url_id,
- base::Time arg_visit_time,
- VisitID arg_referring_visit,
- ui::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() {
-}
-
-// QueryURLResult -------------------------------------------------------------
-
-QueryURLResult::QueryURLResult() : success(false) {
-}
-
-QueryURLResult::~QueryURLResult() {
-}
-
-// HistoryAddPageArgs ---------------------------------------------------------
-
-HistoryAddPageArgs::HistoryAddPageArgs()
- : context_id(NULL),
- page_id(0),
- transition(ui::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,
- ui::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() {}
-
-// VisitDatabaseObserver -------------------------------------------------------
-
-VisitDatabaseObserver::~VisitDatabaseObserver() {}
-
-} // namespace history
« no previous file with comments | « chrome/browser/history/history_types.h ('k') | chrome/browser/history/history_types_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698