summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-06 10:47:50 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-06 10:47:50 +0000
commit08a62b874cbc45d9b6f9854cd0a11be0662e77e8 (patch)
tree9a2b1137568ae71fc9863e437cb5ae60051238f6 /chrome/test
parent058749bb1d39016bd1050879f97a356dc3a2f78c (diff)
downloadchromium_src-08a62b874cbc45d9b6f9854cd0a11be0662e77e8.zip
chromium_src-08a62b874cbc45d9b6f9854cd0a11be0662e77e8.tar.gz
chromium_src-08a62b874cbc45d9b6f9854cd0a11be0662e77e8.tar.bz2
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
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/live_sync/bookmark_model_verifier.cc8
-rw-r--r--chrome/test/live_sync/bookmark_model_verifier.h7
2 files changed, 9 insertions, 6 deletions
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.