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

Side by Side Diff: components/enhanced_bookmarks/metadata_accessor.h

Issue 476573004: Set version field when changes are made to enhanced bookmarks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 6 years, 3 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_ENHANCED_BOOKMARKS_METADATA_ACCESSOR_H_ 5 #ifndef COMPONENTS_ENHANCED_BOOKMARKS_METADATA_ACCESSOR_H_
6 #define COMPONENTS_ENHANCED_BOOKMARKS_METADATA_ACCESSOR_H_ 6 #define COMPONENTS_ENHANCED_BOOKMARKS_METADATA_ACCESSOR_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 class BookmarkModel; 12 class BookmarkModel;
13 class BookmarkNode; 13 class BookmarkNode;
14 class GURL; 14 class GURL;
15 15
16 // TODO(rfevang): Remove this file once the remaining caller
17 // is converted (enhanced_bookmarks_bridge.cc)
18
16 // The functions in this file store and retrieve structured data encoded in the 19 // The functions in this file store and retrieve structured data encoded in the
17 // bookmark metadata. This information suplements the data in the bookmark with 20 // bookmark metadata. This information suplements the data in the bookmark with
18 // images and descriptions related to the url. 21 // images and descriptions related to the url.
19 namespace enhanced_bookmarks { 22 namespace enhanced_bookmarks {
20 23
21 typedef std::vector<const BookmarkNode*> NodeVector; 24 typedef std::vector<const BookmarkNode*> NodeVector;
22 typedef std::set<const BookmarkNode*> NodeSet; 25 typedef std::set<const BookmarkNode*> NodeSet;
23 26
24 // The keys used to store the data in the bookmarks metadata dictionary. 27 // The keys used to store the data in the bookmarks metadata dictionary.
25 extern const char* kPageDataKey; 28 extern const char* kPageDataKey;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 const GURL& image_url, 79 const GURL& image_url,
77 int image_width, 80 int image_width,
78 int image_height, 81 int image_height,
79 const GURL& thumbnail_url, 82 const GURL& thumbnail_url,
80 int thumbnail_width, 83 int thumbnail_width,
81 int thumbnail_height); 84 int thumbnail_height);
82 85
83 } // namespace enhanced_bookmarks 86 } // namespace enhanced_bookmarks
84 87
85 #endif // COMPONENTS_ENHANCED_BOOKMARKS_METADATA_ACCESSOR_H_ 88 #endif // COMPONENTS_ENHANCED_BOOKMARKS_METADATA_ACCESSOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698