summaryrefslogtreecommitdiffstats
path: root/components/enhanced_bookmarks/bookmark_server_cluster_service.h
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-10-21 04:24:56 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-21 11:25:34 +0000
commit00ea022b81af00857b352bae68d4ba2eb3e1493b (patch)
treeb5e3e536a25f154ab5410d611736832c11b2cfad /components/enhanced_bookmarks/bookmark_server_cluster_service.h
parent0b0885ca539071e7864061fde54c7345a0fd2aae (diff)
downloadchromium_src-00ea022b81af00857b352bae68d4ba2eb3e1493b.zip
chromium_src-00ea022b81af00857b352bae68d4ba2eb3e1493b.tar.gz
chromium_src-00ea022b81af00857b352bae68d4ba2eb3e1493b.tar.bz2
Standardize usage of virtual/override/final in components/
BUG=417463 TBR=blundell@chromium.org Review URL: https://codereview.chromium.org/666133002 Cr-Commit-Position: refs/heads/master@{#300456}
Diffstat (limited to 'components/enhanced_bookmarks/bookmark_server_cluster_service.h')
-rw-r--r--components/enhanced_bookmarks/bookmark_server_cluster_service.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/components/enhanced_bookmarks/bookmark_server_cluster_service.h b/components/enhanced_bookmarks/bookmark_server_cluster_service.h
index ae7cc08..717d49f 100644
--- a/components/enhanced_bookmarks/bookmark_server_cluster_service.h
+++ b/components/enhanced_bookmarks/bookmark_server_cluster_service.h
@@ -38,7 +38,7 @@ class BookmarkServerClusterService : public KeyedService,
SigninManagerBase* signin_manager,
EnhancedBookmarkModel* enhanced_bookmark_model,
PrefService* pref_service);
- virtual ~BookmarkServerClusterService();
+ ~BookmarkServerClusterService() override;
// Retrieves all the bookmarks associated with a cluster. The returned
// BookmarkNodes are owned by the bookmark model, and one must listen to the
@@ -58,20 +58,19 @@ class BookmarkServerClusterService : public KeyedService,
protected:
// BookmarkServerService methods.
- virtual scoped_ptr<net::URLFetcher> CreateFetcher() override;
- virtual bool ProcessResponse(const std::string& response,
- bool* should_notify) override;
- virtual void CleanAfterFailure() override;
+ scoped_ptr<net::URLFetcher> CreateFetcher() override;
+ bool ProcessResponse(const std::string& response,
+ bool* should_notify) override;
+ void CleanAfterFailure() override;
// EnhancedBookmarkModelObserver methods.
- virtual void EnhancedBookmarkModelLoaded() override;
- virtual void EnhancedBookmarkAdded(const BookmarkNode* node) override;
- virtual void EnhancedBookmarkRemoved(const BookmarkNode* node) override;
- virtual void EnhancedBookmarkAllUserNodesRemoved() override;
- virtual void EnhancedBookmarkRemoteIdChanged(
- const BookmarkNode* node,
- const std::string& old_remote_id,
- const std::string& remote_id) override;
+ void EnhancedBookmarkModelLoaded() override;
+ void EnhancedBookmarkAdded(const BookmarkNode* node) override;
+ void EnhancedBookmarkRemoved(const BookmarkNode* node) override;
+ void EnhancedBookmarkAllUserNodesRemoved() override;
+ void EnhancedBookmarkRemoteIdChanged(const BookmarkNode* node,
+ const std::string& old_remote_id,
+ const std::string& remote_id) override;
private:
FRIEND_TEST_ALL_PREFIXES(BookmarkServerServiceTest, Cluster);
@@ -84,8 +83,8 @@ class BookmarkServerClusterService : public KeyedService,
ClearClusterMapOnRemoveAllBookmarks);
// Overriden from SigninManagerBase::Observer.
- virtual void GoogleSignedOut(const std::string& account_id,
- const std::string& username) override;
+ void GoogleSignedOut(const std::string& account_id,
+ const std::string& username) override;
// Updates |cluster_data_| with the |cluster_map| and saves the result to
// profile prefs. All changes to |cluster_data_| should go through this method