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

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

Issue 9471: Adds import/export of bookmarks to bookmarks.html file.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 | « base/task.h ('k') | chrome/browser/bookmarks/bookmark_codec.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_codec.h
===================================================================
--- chrome/browser/bookmarks/bookmark_codec.h (revision 4885)
+++ chrome/browser/bookmarks/bookmark_codec.h (working copy)
@@ -43,6 +43,22 @@
// nodes.
bool Decode(BookmarkModel* model, const Value& value);
+ // Names of the various keys written to the Value.
+ static const wchar_t* kRootsKey;
+ static const wchar_t* kRootFolderNameKey;
+ static const wchar_t* kOtherBookmarFolderNameKey;
+ static const wchar_t* kVersionKey;
+ static const wchar_t* kTypeKey;
+ static const wchar_t* kNameKey;
+ static const wchar_t* kDateAddedKey;
+ static const wchar_t* kURLKey;
+ static const wchar_t* kDateModifiedKey;
+ static const wchar_t* kChildrenKey;
+
+ // Possible values for kTypeKey.
+ static const wchar_t* kTypeURL;
+ static const wchar_t* kTypeFolder;
+
private:
// Encodes node and all its children into a Value object and returns it.
// The caller takes ownership of the returned object.
« no previous file with comments | « base/task.h ('k') | chrome/browser/bookmarks/bookmark_codec.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698