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

Unified Diff: components/bookmarks/browser/bookmark_model.h

Issue 299403005: Move BookmarkStorage into bookmarks namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/bookmarks/browser/bookmark_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/bookmarks/browser/bookmark_model.h
diff --git a/components/bookmarks/browser/bookmark_model.h b/components/bookmarks/browser/bookmark_model.h
index c765fa26afac5d976aca05696c7bd5d47fe2f348..eef85fb88beebe9812c5ec259ab769181446cda4 100644
--- a/components/bookmarks/browser/bookmark_model.h
+++ b/components/bookmarks/browser/bookmark_model.h
@@ -25,9 +25,7 @@
class BookmarkExpandedStateTracker;
class BookmarkIndex;
-class BookmarkLoadDetails;
class BookmarkModelObserver;
-class BookmarkStorage;
struct BookmarkMatch;
class PrefService;
class ScopedGroupBookmarkActions;
@@ -38,6 +36,8 @@ class SequencedTaskRunner;
}
namespace bookmarks {
+class BookmarkLoadDetails;
+class BookmarkStorage;
class ScopedGroupBookmarkActions;
}
@@ -285,7 +285,7 @@ class BookmarkModel : public BookmarkService {
private:
friend class BookmarkCodecTest;
friend class BookmarkModelTest;
- friend class BookmarkStorage;
+ friend class bookmarks::BookmarkStorage;
friend class bookmarks::ScopedGroupBookmarkActions;
friend class test::TestBookmarkClient;
@@ -309,7 +309,7 @@ class BookmarkModel : public BookmarkService {
// Invoked when loading is finished. Sets |loaded_| and notifies observers.
// BookmarkModel takes ownership of |details|.
- void DoneLoading(scoped_ptr<BookmarkLoadDetails> details);
+ void DoneLoading(scoped_ptr<bookmarks::BookmarkLoadDetails> details);
// Populates |nodes_ordered_by_url_set_| from root.
void PopulateNodesByURL(BookmarkNode* node);
@@ -373,7 +373,7 @@ class BookmarkModel : public BookmarkService {
// Creates and returns a new BookmarkLoadDetails. It's up to the caller to
// delete the returned object.
- scoped_ptr<BookmarkLoadDetails> CreateLoadDetails(
+ scoped_ptr<bookmarks::BookmarkLoadDetails> CreateLoadDetails(
const std::string& accept_languages);
BookmarkClient* const client_;
@@ -407,7 +407,7 @@ class BookmarkModel : public BookmarkService {
base::CancelableTaskTracker cancelable_task_tracker_;
// Reads/writes bookmarks to disk.
- scoped_refptr<BookmarkStorage> store_;
+ scoped_refptr<bookmarks::BookmarkStorage> store_;
scoped_ptr<BookmarkIndex> index_;
« no previous file with comments | « no previous file | components/bookmarks/browser/bookmark_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698