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

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: Created 5 years, 10 months 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 // For reading/writing this Element. 79 // For reading/writing this Element.
80 void WriteToPickle(Pickle* pickle) const; 80 void WriteToPickle(Pickle* pickle) const;
81 bool ReadFromPickle(PickleIterator* iterator); 81 bool ReadFromPickle(PickleIterator* iterator);
82 82
83 // ID of the node. 83 // ID of the node.
84 int64 id_; 84 int64 id_;
85 }; 85 };
86 86
87 // The MIME type for the clipboard format for BookmarkNodeData. 87 // The MIME type for the clipboard format for BookmarkNodeData.
88 static const char* kClipboardFormatString; 88 static const char kClipboardFormatString[];
89 89
90 BookmarkNodeData(); 90 BookmarkNodeData();
91 91
92 // Created a BookmarkNodeData populated from the arguments. 92 // Created a BookmarkNodeData populated from the arguments.
93 explicit BookmarkNodeData(const BookmarkNode* node); 93 explicit BookmarkNodeData(const BookmarkNode* node);
94 explicit BookmarkNodeData(const std::vector<const BookmarkNode*>& nodes); 94 explicit BookmarkNodeData(const std::vector<const BookmarkNode*>& nodes);
95 95
96 ~BookmarkNodeData(); 96 ~BookmarkNodeData();
97 97
98 #if defined(TOOLKIT_VIEWS) 98 #if defined(TOOLKIT_VIEWS)
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 std::vector<Element> elements; 170 std::vector<Element> elements;
171 171
172 private: 172 private:
173 // Path of the profile we originated from. 173 // Path of the profile we originated from.
174 base::FilePath profile_path_; 174 base::FilePath profile_path_;
175 }; 175 };
176 176
177 } // namespace bookmarks 177 } // namespace bookmarks
178 178
179 #endif // COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_NODE_DATA_H_ 179 #endif // COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_NODE_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698