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

Side by Side Diff: components/bookmarks/browser/bookmark_node_data.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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_NODE_DATA_H_ 5 #ifndef COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_NODE_DATA_H_
6 #define COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_NODE_DATA_H_ 6 #define COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_NODE_DATA_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 // For reading/writing this Element. 87 // For reading/writing this Element.
88 void WriteToPickle(base::Pickle* pickle) const; 88 void WriteToPickle(base::Pickle* pickle) const;
89 bool ReadFromPickle(base::PickleIterator* iterator); 89 bool ReadFromPickle(base::PickleIterator* iterator);
90 90
91 // ID of the node. 91 // ID of the node.
92 int64 id_; 92 int64 id_;
93 }; 93 };
94 94
95 // The MIME type for the clipboard format for BookmarkNodeData. 95 // The MIME type for the clipboard format for BookmarkNodeData.
96 static const char* kClipboardFormatString; 96 static const char kClipboardFormatString[];
97 97
98 BookmarkNodeData(); 98 BookmarkNodeData();
99 99
100 // Created a BookmarkNodeData populated from the arguments. 100 // Created a BookmarkNodeData populated from the arguments.
101 explicit BookmarkNodeData(const BookmarkNode* node); 101 explicit BookmarkNodeData(const BookmarkNode* node);
102 explicit BookmarkNodeData(const std::vector<const BookmarkNode*>& nodes); 102 explicit BookmarkNodeData(const std::vector<const BookmarkNode*>& nodes);
103 103
104 ~BookmarkNodeData(); 104 ~BookmarkNodeData();
105 105
106 #if defined(TOOLKIT_VIEWS) 106 #if defined(TOOLKIT_VIEWS)
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 std::vector<Element> elements; 179 std::vector<Element> elements;
180 180
181 private: 181 private:
182 // Path of the profile we originated from. 182 // Path of the profile we originated from.
183 base::FilePath profile_path_; 183 base::FilePath profile_path_;
184 }; 184 };
185 185
186 } // namespace bookmarks 186 } // namespace bookmarks
187 187
188 #endif // COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_NODE_DATA_H_ 188 #endif // COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_NODE_DATA_H_
OLDNEW
« no previous file with comments | « components/bookmarks/browser/bookmark_codec.cc ('k') | components/bookmarks/browser/bookmark_node_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698