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

Unified Diff: chrome/browser/bookmarks/bookmark_node_data.h

Issue 22855011: Added date_added and folder_modification_time to BookmarkNodeData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix clang and android compile errors. Created 7 years, 4 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/bookmarks/bookmark_model.cc ('k') | chrome/browser/bookmarks/bookmark_node_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_node_data.h
diff --git a/chrome/browser/bookmarks/bookmark_node_data.h b/chrome/browser/bookmarks/bookmark_node_data.h
index 1401e70320400a557ebf4fd3314108d7416bd2a8..c1cb7b85aefd63397f342a111bde54134c373a58 100644
--- a/chrome/browser/bookmarks/bookmark_node_data.h
+++ b/chrome/browser/bookmarks/bookmark_node_data.h
@@ -9,6 +9,7 @@
#include "base/files/file_path.h"
#include "base/strings/string16.h"
+#include "base/time/time.h"
#include "url/gurl.h"
#if defined(TOOLKIT_VIEWS)
@@ -54,6 +55,12 @@ struct BookmarkNodeData {
// Title of the entry, used for both urls and folders.
string16 title;
+ // Date of when this node was created.
+ base::Time date_added;
+
+ // Date of the last modification. Only used for folders.
+ base::Time date_folder_modified;
+
// Children, only used for non-URL nodes.
std::vector<Element> children;
« no previous file with comments | « chrome/browser/bookmarks/bookmark_model.cc ('k') | chrome/browser/bookmarks/bookmark_node_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698