From 08a62b874cbc45d9b6f9854cd0a11be0662e77e8 Mon Sep 17 00:00:00 2001 From: "willchan@chromium.org" <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> Date: Wed, 6 Apr 2011 10:47:50 +0000 Subject: Fix clang build. Broken by crrev.com/80540 BUG=none TEST=none Review URL: http://codereview.chromium.org/6806005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80601 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/test/live_sync/bookmark_model_verifier.cc | 8 +++++++- chrome/test/live_sync/bookmark_model_verifier.h | 7 ++----- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'chrome/test') diff --git a/chrome/test/live_sync/bookmark_model_verifier.cc b/chrome/test/live_sync/bookmark_model_verifier.cc index c8e0158..5dac1bf 100644 --- a/chrome/test/live_sync/bookmark_model_verifier.cc +++ b/chrome/test/live_sync/bookmark_model_verifier.cc @@ -64,7 +64,13 @@ class FaviconLoadObserver : public BookmarkModelObserver { DISALLOW_COPY_AND_ASSIGN(FaviconLoadObserver); }; -} +} // namespace + +BookmarkModelVerifier::BookmarkModelVerifier(BookmarkModel* model) + : verifier_model_(model), + use_verifier_model_(true) {} + +BookmarkModelVerifier::~BookmarkModelVerifier() {} bool BookmarkModelVerifier::NodesMatch(const BookmarkNode* node_a, const BookmarkNode* node_b) const { diff --git a/chrome/test/live_sync/bookmark_model_verifier.h b/chrome/test/live_sync/bookmark_model_verifier.h index e8dd49e..d5207f9 100644 --- a/chrome/test/live_sync/bookmark_model_verifier.h +++ b/chrome/test/live_sync/bookmark_model_verifier.h @@ -23,11 +23,8 @@ // expected to be a replica of |model|. class BookmarkModelVerifier { public: - explicit BookmarkModelVerifier(BookmarkModel* model) - : verifier_model_(model), - use_verifier_model_(true) {} - - ~BookmarkModelVerifier() {} + explicit BookmarkModelVerifier(BookmarkModel* model); + ~BookmarkModelVerifier(); // Checks if the hierarchies in |model_a| and |model_b| are equivalent in // terms of the data model and favicon. Returns true if they both match. -- cgit v1.1