Index: components/enhanced_bookmarks/bookmark_server_search_service.cc |
diff --git a/components/enhanced_bookmarks/bookmark_server_search_service.cc b/components/enhanced_bookmarks/bookmark_server_search_service.cc |
index 642d5c8c4167a8196057378ca65030b1ce313d13..10a569b78c01f9752af32077bcea38865f382a53 100644 |
--- a/components/enhanced_bookmarks/bookmark_server_search_service.cc |
+++ b/components/enhanced_bookmarks/bookmark_server_search_service.cc |
@@ -4,7 +4,6 @@ |
#include "components/enhanced_bookmarks/bookmark_server_search_service.h" |
-#include "components/bookmarks/browser/bookmark_model.h" |
#include "components/enhanced_bookmarks/enhanced_bookmark_utils.h" |
#include "components/enhanced_bookmarks/proto/search.pb.h" |
#include "net/base/url_util.h" |
@@ -21,11 +20,11 @@ BookmarkServerSearchService::BookmarkServerSearchService( |
scoped_refptr<net::URLRequestContextGetter> request_context_getter, |
ProfileOAuth2TokenService* token_service, |
SigninManagerBase* signin_manager, |
- BookmarkModel* bookmark_model) |
+ EnhancedBookmarkModel* enhanced_bookmark_model) |
: BookmarkServerService(request_context_getter, |
token_service, |
signin_manager, |
- bookmark_model) { |
+ enhanced_bookmark_model) { |
} |
BookmarkServerSearchService::~BookmarkServerSearchService() { |
@@ -102,14 +101,12 @@ void BookmarkServerSearchService::CleanAfterFailure() { |
void BookmarkServerSearchService::BookmarkNodeAdded(BookmarkModel* model, |
const BookmarkNode* parent, |
int index) { |
noyau (Ping after 24h)
2014/09/17 08:24:35
The superclass used to register for bookmark model
Rune Fevang
2014/09/17 22:51:04
Oops! Put the inheritance back in the superclass s
noyau (Ping after 24h)
2014/09/18 08:43:21
If one register for the model notification and do
Rune Fevang
2014/09/19 01:18:07
Hmm, I think there's an additional issue with the
|
- BookmarkServerService::BookmarkNodeAdded(model, parent, index); |
searches_.clear(); |
} |
void BookmarkServerSearchService::BookmarkMetaInfoChanged( |
BookmarkModel* model, |
const BookmarkNode* node) { |
- BookmarkServerService::BookmarkMetaInfoChanged(model, node); |
searches_.clear(); |
noyau (Ping after 24h)
2014/09/18 08:43:21
In this case you're right, just swapping the id wo
|
} |
} // namespace enhanced_bookmarks |