Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: chrome/test/bookmark_load_observer.h

Issue 7474025: Move more files from chrome/test to chrome/test/base, part #2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/base/ui_test_utils.cc ('k') | chrome/test/bookmark_load_observer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 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.
4
5 #ifndef CHROME_TEST_BOOKMARK_LOAD_OBSERVER_H_
6 #define CHROME_TEST_BOOKMARK_LOAD_OBSERVER_H_
7 #pragma once
8
9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h"
11 #include "chrome/browser/bookmarks/bookmark_model_observer.h"
12
13 // BookmarkLoadObserver is used when blocking until the BookmarkModel
14 // finishes loading. As soon as the BookmarkModel finishes loading the message
15 // loop is quit.
16 class BookmarkLoadObserver : public BookmarkModelObserver {
17 public:
18 BookmarkLoadObserver();
19 virtual ~BookmarkLoadObserver();
20
21 virtual void Loaded(BookmarkModel* model, bool ids_reassigned) OVERRIDE;
22 virtual void BookmarkNodeMoved(BookmarkModel* model,
23 const BookmarkNode* old_parent,
24 int old_index,
25 const BookmarkNode* new_parent,
26 int new_index) OVERRIDE {}
27 virtual void BookmarkNodeAdded(BookmarkModel* model,
28 const BookmarkNode* parent,
29 int index) OVERRIDE{}
30 virtual void BookmarkNodeRemoved(BookmarkModel* model,
31 const BookmarkNode* parent,
32 int old_index,
33 const BookmarkNode* node) OVERRIDE {}
34 virtual void BookmarkNodeChanged(BookmarkModel* model,
35 const BookmarkNode* node) OVERRIDE {}
36 virtual void BookmarkNodeChildrenReordered(
37 BookmarkModel* model,
38 const BookmarkNode* node) OVERRIDE {}
39 virtual void BookmarkNodeFaviconChanged(BookmarkModel* model,
40 const BookmarkNode* node) OVERRIDE {}
41
42 private:
43 DISALLOW_COPY_AND_ASSIGN(BookmarkLoadObserver);
44 };
45
46 #endif // CHROME_TEST_BOOKMARK_LOAD_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/test/base/ui_test_utils.cc ('k') | chrome/test/bookmark_load_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698