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

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

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 | « chrome/browser/bookmarks/bookmark_codec.h ('k') | chrome/browser/bookmarks/bookmark_context_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_codec.cc
===================================================================
--- chrome/browser/bookmarks/bookmark_codec.cc (revision 4885)
+++ chrome/browser/bookmarks/bookmark_codec.cc (working copy)
@@ -14,22 +14,19 @@
using base::Time;
-// Key names.
-static const wchar_t* kRootsKey = L"roots";
-static const wchar_t* kRootFolderNameKey = L"bookmark_bar";
-static const wchar_t* kOtherBookmarFolderNameKey = L"other";
-static const wchar_t* kVersionKey = L"version";
-static const wchar_t* kTypeKey = L"type";
-static const wchar_t* kNameKey = L"name";
-static const wchar_t* kDateAddedKey = L"date_added";
-static const wchar_t* kURLKey = L"url";
-static const wchar_t* kDateModifiedKey = L"date_modified";
-static const wchar_t* kChildrenKey = L"children";
+const wchar_t* BookmarkCodec::kRootsKey = L"roots";
+const wchar_t* BookmarkCodec::kRootFolderNameKey = L"bookmark_bar";
+const wchar_t* BookmarkCodec::kOtherBookmarFolderNameKey = L"other";
+const wchar_t* BookmarkCodec::kVersionKey = L"version";
+const wchar_t* BookmarkCodec::kTypeKey = L"type";
+const wchar_t* BookmarkCodec::kNameKey = L"name";
+const wchar_t* BookmarkCodec::kDateAddedKey = L"date_added";
+const wchar_t* BookmarkCodec::kURLKey = L"url";
+const wchar_t* BookmarkCodec::kDateModifiedKey = L"date_modified";
+const wchar_t* BookmarkCodec::kChildrenKey = L"children";
+const wchar_t* BookmarkCodec::kTypeURL = L"url";
+const wchar_t* BookmarkCodec::kTypeFolder = L"folder";
-// Possible values for kTypeKey.
-static const wchar_t* kTypeURL = L"url";
-static const wchar_t* kTypeFolder = L"folder";
-
// Current version of the file.
static const int kCurrentVersion = 1;
« no previous file with comments | « chrome/browser/bookmarks/bookmark_codec.h ('k') | chrome/browser/bookmarks/bookmark_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698