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

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

Issue 924793003: Cleanup: Convert const char* kFoo to const char kFoo[]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 5 years 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/themes/theme_service.cc ('k') | components/bookmarks/browser/bookmark_codec.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/bookmarks/browser/bookmark_codec.h
diff --git a/components/bookmarks/browser/bookmark_codec.h b/components/bookmarks/browser/bookmark_codec.h
index 4697e79f4ded40846000dffc1ab1320c0e0b6dd3..8b42d3940bbb12bc3475b42564d0021721c87440 100644
--- a/components/bookmarks/browser/bookmark_codec.h
+++ b/components/bookmarks/browser/bookmark_codec.h
@@ -86,25 +86,25 @@ class BookmarkCodec {
bool ids_reassigned() const { return ids_reassigned_; }
// Names of the various keys written to the Value.
- static const char* kRootsKey;
- static const char* kRootFolderNameKey;
- static const char* kOtherBookmarkFolderNameKey;
- static const char* kMobileBookmarkFolderNameKey;
- static const char* kVersionKey;
- static const char* kChecksumKey;
- static const char* kIdKey;
- static const char* kTypeKey;
- static const char* kNameKey;
- static const char* kDateAddedKey;
- static const char* kURLKey;
- static const char* kDateModifiedKey;
- static const char* kChildrenKey;
- static const char* kMetaInfo;
- static const char* kSyncTransactionVersion;
+ static const char kRootsKey[];
+ static const char kRootFolderNameKey[];
+ static const char kOtherBookmarkFolderNameKey[];
+ static const char kMobileBookmarkFolderNameKey[];
+ static const char kVersionKey[];
+ static const char kChecksumKey[];
+ static const char kIdKey[];
+ static const char kTypeKey[];
+ static const char kNameKey[];
+ static const char kDateAddedKey[];
+ static const char kURLKey[];
+ static const char kDateModifiedKey[];
+ static const char kChildrenKey[];
+ static const char kMetaInfo[];
+ static const char kSyncTransactionVersion[];
// Possible values for kTypeKey.
- static const char* kTypeURL;
- static const char* kTypeFolder;
+ static const char kTypeURL[];
+ static const char kTypeFolder[];
private:
// Encodes node and all its children into a Value object and returns it.
« no previous file with comments | « chrome/browser/themes/theme_service.cc ('k') | components/bookmarks/browser/bookmark_codec.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698