Vectorize website settings icons in omnibox
[chromium-blink-merge.git] / components / bookmarks / test / mock_bookmark_model_observer.h
blob25d323a2a25d02bacbf3cb0c63a3d184bb7afbe1
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"
7 #include "url/gurl.h"
9 namespace bookmarks {
11 class MockBookmarkModelObserver : public BookmarkModelObserver {
12 public:
13 MockBookmarkModelObserver();
14 virtual ~MockBookmarkModelObserver();
16 MOCK_METHOD2(BookmarkModelLoaded, void(BookmarkModel*, bool));
18 MOCK_METHOD5(BookmarkNodeMoved, void(BookmarkModel*,
19 const BookmarkNode*,
20 int,
21 const BookmarkNode*,
22 int));
24 MOCK_METHOD3(BookmarkNodeAdded, void(BookmarkModel*,
25 const BookmarkNode*,
26 int));
28 MOCK_METHOD5(BookmarkNodeRemoved, void(BookmarkModel*,
29 const BookmarkNode*,
30 int,
31 const BookmarkNode*,
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