summaryrefslogtreecommitdiffstats
path: root/components/enhanced_bookmarks/bookmark_server_service.h
diff options
context:
space:
mode:
authorianwen <ianwen@chromium.org>2014-10-30 11:06:33 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-30 18:06:58 +0000
commite52346f194e9f2d097b4f6d3fbfa359eca7c92df (patch)
tree32b1bcf240c35ada9a33bbda9546db6d8b38abd2 /components/enhanced_bookmarks/bookmark_server_service.h
parent302dbd2dcc4f2f2f4690b3da284d6405ed7955c8 (diff)
downloadchromium_src-e52346f194e9f2d097b4f6d3fbfa359eca7c92df.zip
chromium_src-e52346f194e9f2d097b4f6d3fbfa359eca7c92df.tar.gz
chromium_src-e52346f194e9f2d097b4f6d3fbfa359eca7c92df.tar.bz2
Add Search Service in Enhanced Bookmark Bridge
A Search client is created during initialization of EnhancedBookmarkBridge. And when the bridge destructs, search service is also destroyed. BUG=415774 Review URL: https://codereview.chromium.org/637323005 Cr-Commit-Position: refs/heads/master@{#302107}
Diffstat (limited to 'components/enhanced_bookmarks/bookmark_server_service.h')
-rw-r--r--components/enhanced_bookmarks/bookmark_server_service.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/enhanced_bookmarks/bookmark_server_service.h b/components/enhanced_bookmarks/bookmark_server_service.h
index 41416fd..9f2fd52 100644
--- a/components/enhanced_bookmarks/bookmark_server_service.h
+++ b/components/enhanced_bookmarks/bookmark_server_service.h
@@ -57,6 +57,9 @@ class BookmarkServerService : protected net::URLFetcherDelegate,
const std::string& remote_id) const;
const std::string RemoteIDForBookmark(const BookmarkNode* bookmark) const;
+ // Cancels the ongoing request, if any.
+ void Cancel();
+
// Notifies the observers that something changed.
void Notify();