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

Unified Diff: components/enhanced_bookmarks/bookmark_server_service.cc

Issue 693613003: Revert "Revert of Add Search Service in Enhanced Bookmark Bridge (patchset #6 id:100001 of https://… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « components/enhanced_bookmarks/bookmark_server_service.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/enhanced_bookmarks/bookmark_server_service.cc
diff --git a/components/enhanced_bookmarks/bookmark_server_service.cc b/components/enhanced_bookmarks/bookmark_server_service.cc
index 1e6f4b0f102b0da8db7cd5c8de378678a2b0dcf3..73cd8f8c93f4e3607020e62789bd84f6564f1bb7 100644
--- a/components/enhanced_bookmarks/bookmark_server_service.cc
+++ b/components/enhanced_bookmarks/bookmark_server_service.cc
@@ -56,6 +56,11 @@ const std::string BookmarkServerService::RemoteIDForBookmark(
return model_->GetRemoteId(bookmark);
}
+void BookmarkServerService::Cancel() {
+ url_fetcher_.reset();
+ token_request_.reset();
+}
+
void BookmarkServerService::Notify() {
FOR_EACH_OBSERVER(BookmarkServerServiceObserver, observers_, OnChange(this));
}
« no previous file with comments | « components/enhanced_bookmarks/bookmark_server_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698