summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
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.