OLD | NEW |
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_CORE_BROWSER_BOOKMARK_CODEC_H_ | 5 #ifndef COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_CODEC_H_ |
6 #define COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_CODEC_H_ | 6 #define COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_CODEC_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/md5.h" | 12 #include "base/md5.h" |
13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "components/bookmarks/core/browser/bookmark_node.h" | 14 #include "components/bookmarks/browser/bookmark_node.h" |
15 | 15 |
16 class BookmarkModel; | 16 class BookmarkModel; |
17 | 17 |
18 namespace base { | 18 namespace base { |
19 class DictionaryValue; | 19 class DictionaryValue; |
20 class ListValue; | 20 class ListValue; |
21 class Value; | 21 class Value; |
22 } | 22 } |
23 | 23 |
24 // BookmarkCodec is responsible for encoding and decoding the BookmarkModel | 24 // BookmarkCodec is responsible for encoding and decoding the BookmarkModel |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 | 197 |
198 // Meta info set on bookmark model root. | 198 // Meta info set on bookmark model root. |
199 BookmarkNode::MetaInfoMap model_meta_info_map_; | 199 BookmarkNode::MetaInfoMap model_meta_info_map_; |
200 | 200 |
201 // Sync transaction version set on bookmark model root. | 201 // Sync transaction version set on bookmark model root. |
202 int64 model_sync_transaction_version_; | 202 int64 model_sync_transaction_version_; |
203 | 203 |
204 DISALLOW_COPY_AND_ASSIGN(BookmarkCodec); | 204 DISALLOW_COPY_AND_ASSIGN(BookmarkCodec); |
205 }; | 205 }; |
206 | 206 |
207 #endif // COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_CODEC_H_ | 207 #endif // COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_CODEC_H_ |
OLD | NEW |