Index: components/bookmarks/browser/bookmark_codec.cc |
diff --git a/components/bookmarks/browser/bookmark_codec.cc b/components/bookmarks/browser/bookmark_codec.cc |
index 4d997d6a08a31c4b56eecd05421e17ba326350f7..916ac8b7eaf945e176ee20814c29ebddeaae1991 100644 |
--- a/components/bookmarks/browser/bookmark_codec.cc |
+++ b/components/bookmarks/browser/bookmark_codec.cc |
@@ -19,24 +19,25 @@ using base::Time; |
namespace bookmarks { |
-const char* BookmarkCodec::kRootsKey = "roots"; |
-const char* BookmarkCodec::kRootFolderNameKey = "bookmark_bar"; |
-const char* BookmarkCodec::kOtherBookmarkFolderNameKey = "other"; |
+const char BookmarkCodec::kRootsKey[] = "roots"; |
+const char BookmarkCodec::kRootFolderNameKey[] = "bookmark_bar"; |
+const char BookmarkCodec::kOtherBookmarkFolderNameKey[] = "other"; |
// The value is left as 'synced' for historical reasons. |
-const char* BookmarkCodec::kMobileBookmarkFolderNameKey = "synced"; |
-const char* BookmarkCodec::kVersionKey = "version"; |
-const char* BookmarkCodec::kChecksumKey = "checksum"; |
-const char* BookmarkCodec::kIdKey = "id"; |
-const char* BookmarkCodec::kTypeKey = "type"; |
-const char* BookmarkCodec::kNameKey = "name"; |
-const char* BookmarkCodec::kDateAddedKey = "date_added"; |
-const char* BookmarkCodec::kURLKey = "url"; |
-const char* BookmarkCodec::kDateModifiedKey = "date_modified"; |
-const char* BookmarkCodec::kChildrenKey = "children"; |
-const char* BookmarkCodec::kMetaInfo = "meta_info"; |
-const char* BookmarkCodec::kSyncTransactionVersion = "sync_transaction_version"; |
-const char* BookmarkCodec::kTypeURL = "url"; |
-const char* BookmarkCodec::kTypeFolder = "folder"; |
+const char BookmarkCodec::kMobileBookmarkFolderNameKey[] = "synced"; |
+const char BookmarkCodec::kVersionKey[] = "version"; |
+const char BookmarkCodec::kChecksumKey[] = "checksum"; |
+const char BookmarkCodec::kIdKey[] = "id"; |
+const char BookmarkCodec::kTypeKey[] = "type"; |
+const char BookmarkCodec::kNameKey[] = "name"; |
+const char BookmarkCodec::kDateAddedKey[] = "date_added"; |
+const char BookmarkCodec::kURLKey[] = "url"; |
+const char BookmarkCodec::kDateModifiedKey[] = "date_modified"; |
+const char BookmarkCodec::kChildrenKey[] = "children"; |
+const char BookmarkCodec::kMetaInfo[] = "meta_info"; |
+const char BookmarkCodec::kSyncTransactionVersion[] = |
+ "sync_transaction_version"; |
+const char BookmarkCodec::kTypeURL[] = "url"; |
+const char BookmarkCodec::kTypeFolder[] = "folder"; |
// Current version of the file. |
static const int kCurrentVersion = 1; |