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

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

Issue 2106015: Move data types used in the importer process to common/, in preparation for i... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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/importer/firefox2_importer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_types.cc
===================================================================
--- chrome/browser/history/history_types.cc (revision 47674)
+++ chrome/browser/history/history_types.cc (working copy)
@@ -12,28 +12,6 @@
namespace history {
-// URLRow ----------------------------------------------------------------------
-
-void URLRow::Swap(URLRow* other) {
- std::swap(id_, other->id_);
- url_.Swap(&other->url_);
- title_.swap(other->title_);
- std::swap(visit_count_, other->visit_count_);
- std::swap(typed_count_, other->typed_count_);
- std::swap(last_visit_, other->last_visit_);
- std::swap(hidden_, other->hidden_);
- std::swap(favicon_id_, other->favicon_id_);
-}
-
-void URLRow::Initialize() {
- id_ = 0;
- visit_count_ = false;
- typed_count_ = false;
- last_visit_ = Time();
- hidden_ = false;
- favicon_id_ = 0;
-}
-
// VisitRow --------------------------------------------------------------------
VisitRow::VisitRow()
« no previous file with comments | « chrome/browser/history/history_types.h ('k') | chrome/browser/importer/firefox2_importer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698