| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_BOOKMARK_STORAGE_H_ | 5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_STORAGE_H_ |
| 6 #define CHROME_BROWSER_BOOKMARK_STORAGE_H_ | 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_STORAGE_H_ |
| 7 | 7 |
| 8 #include "base/ref_counted.h" | 8 #include "base/ref_counted.h" |
| 9 #include "base/task.h" | 9 #include "base/task.h" |
| 10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
| 11 | 11 |
| 12 class BookmarkBarModel; | 12 class BookmarkBarModel; |
| 13 class Profile; | 13 class Profile; |
| 14 class Value; | 14 class Value; |
| 15 | 15 |
| 16 // BookmarkStorage handles reading/write the bookmark bar model. The | 16 // BookmarkStorage handles reading/write the bookmark bar model. The |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 MessageLoop* message_loop, | 84 MessageLoop* message_loop, |
| 85 bool load_from_history); | 85 bool load_from_history); |
| 86 | 86 |
| 87 private: | 87 private: |
| 88 // Path we read/write to. | 88 // Path we read/write to. |
| 89 const std::wstring path_; | 89 const std::wstring path_; |
| 90 | 90 |
| 91 // Path bookmarks are read from if asked to load from history file. | 91 // Path bookmarks are read from if asked to load from history file. |
| 92 const std::wstring tmp_history_path_; | 92 const std::wstring tmp_history_path_; |
| 93 | 93 |
| 94 DISALLOW_EVIL_CONSTRUCTORS(BookmarkStorageBackend); | 94 DISALLOW_COPY_AND_ASSIGN(BookmarkStorageBackend); |
| 95 }; | 95 }; |
| 96 | 96 |
| 97 #endif // CHROME_BROWSER_BOOKMARK_STORAGE_H_ | 97 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_STORAGE_H_ |
| 98 | |
| OLD | NEW |