OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_TEST_BOOKMARK_LOAD_OBSERVER_H_ | 5 #ifndef CHROME_TEST_BASE_BOOKMARK_LOAD_OBSERVER_H_ |
6 #define CHROME_TEST_BOOKMARK_LOAD_OBSERVER_H_ | 6 #define CHROME_TEST_BASE_BOOKMARK_LOAD_OBSERVER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "chrome/browser/bookmarks/bookmark_model_observer.h" | 11 #include "chrome/browser/bookmarks/bookmark_model_observer.h" |
12 | 12 |
13 // BookmarkLoadObserver is used when blocking until the BookmarkModel | 13 // BookmarkLoadObserver is used when blocking until the BookmarkModel |
14 // finishes loading. As soon as the BookmarkModel finishes loading the message | 14 // finishes loading. As soon as the BookmarkModel finishes loading the message |
15 // loop is quit. | 15 // loop is quit. |
16 class BookmarkLoadObserver : public BookmarkModelObserver { | 16 class BookmarkLoadObserver : public BookmarkModelObserver { |
(...skipping 19 matching lines...) Expand all Loading... |
36 virtual void BookmarkNodeChildrenReordered( | 36 virtual void BookmarkNodeChildrenReordered( |
37 BookmarkModel* model, | 37 BookmarkModel* model, |
38 const BookmarkNode* node) OVERRIDE {} | 38 const BookmarkNode* node) OVERRIDE {} |
39 virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, | 39 virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, |
40 const BookmarkNode* node) OVERRIDE {} | 40 const BookmarkNode* node) OVERRIDE {} |
41 | 41 |
42 private: | 42 private: |
43 DISALLOW_COPY_AND_ASSIGN(BookmarkLoadObserver); | 43 DISALLOW_COPY_AND_ASSIGN(BookmarkLoadObserver); |
44 }; | 44 }; |
45 | 45 |
46 #endif // CHROME_TEST_BOOKMARK_LOAD_OBSERVER_H_ | 46 #endif // CHROME_TEST_BASE_BOOKMARK_LOAD_OBSERVER_H_ |
OLD | NEW |