diff options
author | ianwen <ianwen@chromium.org> | 2014-10-30 11:06:33 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-30 18:06:58 +0000 |
commit | e52346f194e9f2d097b4f6d3fbfa359eca7c92df (patch) | |
tree | 32b1bcf240c35ada9a33bbda9546db6d8b38abd2 /components/enhanced_bookmarks/bookmark_server_service.h | |
parent | 302dbd2dcc4f2f2f4690b3da284d6405ed7955c8 (diff) | |
download | chromium_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.h | 3 |
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(); |