| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_BOOKMARKS_BOOKMARK_STORAGE_H_ | 5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_STORAGE_H_ |
| 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_STORAGE_H_ | 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_STORAGE_H_ |
| 7 | 7 |
| 8 #include "base/files/important_file_writer.h" | 8 #include "base/files/important_file_writer.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "chrome/browser/bookmarks/bookmark_model.h" | 11 #include "components/bookmarks/core/browser/bookmark_node.h" |
| 12 | 12 |
| 13 class BookmarkIndex; | 13 class BookmarkIndex; |
| 14 class BookmarkModel; | 14 class BookmarkModel; |
| 15 class BookmarkPermanentNode; | |
| 16 | 15 |
| 17 namespace base { | 16 namespace base { |
| 18 class SequencedTaskRunner; | 17 class SequencedTaskRunner; |
| 19 } | 18 } |
| 20 | 19 |
| 21 namespace content { | 20 namespace content { |
| 22 class BrowserContext; | 21 class BrowserContext; |
| 23 } | 22 } |
| 24 | 23 |
| 25 // BookmarkLoadDetails is used by BookmarkStorage when loading bookmarks. | 24 // BookmarkLoadDetails is used by BookmarkStorage when loading bookmarks. |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 // See class description of BookmarkLoadDetails for details on this. | 155 // See class description of BookmarkLoadDetails for details on this. |
| 157 scoped_ptr<BookmarkLoadDetails> details_; | 156 scoped_ptr<BookmarkLoadDetails> details_; |
| 158 | 157 |
| 159 // Sequenced task runner where file I/O operations will be performed at. | 158 // Sequenced task runner where file I/O operations will be performed at. |
| 160 scoped_refptr<base::SequencedTaskRunner> sequenced_task_runner_; | 159 scoped_refptr<base::SequencedTaskRunner> sequenced_task_runner_; |
| 161 | 160 |
| 162 DISALLOW_COPY_AND_ASSIGN(BookmarkStorage); | 161 DISALLOW_COPY_AND_ASSIGN(BookmarkStorage); |
| 163 }; | 162 }; |
| 164 | 163 |
| 165 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_STORAGE_H_ | 164 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_STORAGE_H_ |
| OLD | NEW |