1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "components/bookmarks/browser/bookmark_model_observer.h"
6 #include "testing/gmock/include/gmock/gmock.h"
11 class MockBookmarkModelObserver
: public BookmarkModelObserver
{
13 MockBookmarkModelObserver();
14 virtual ~MockBookmarkModelObserver();
16 MOCK_METHOD2(BookmarkModelLoaded
, void(BookmarkModel
*, bool));
18 MOCK_METHOD5(BookmarkNodeMoved
, void(BookmarkModel
*,
24 MOCK_METHOD3(BookmarkNodeAdded
, void(BookmarkModel
*,
28 MOCK_METHOD5(BookmarkNodeRemoved
, void(BookmarkModel
*,
32 const std::set
<GURL
>&));
34 MOCK_METHOD2(BookmarkNodeChanged
, void(BookmarkModel
*, const BookmarkNode
*));
36 MOCK_METHOD2(BookmarkNodeFaviconChanged
, void(BookmarkModel
*,
37 const BookmarkNode
*));
39 MOCK_METHOD2(BookmarkNodeChildrenReordered
, void(BookmarkModel
*,
40 const BookmarkNode
*));
42 MOCK_METHOD2(BookmarkAllUserNodesRemoved
, void(BookmarkModel
*,
43 const std::set
<GURL
>&));
46 } // namespace bookmarks