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

Side by Side Diff: chrome/browser/bookmarks/bookmark_model_observer.h

Issue 10700155: Remove #pragma once from chrome/browser/{printing,safe_browsing,prefs,bookmarks,autocomplete} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_BOOKMARKS_BOOKMARK_MODEL_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_OBSERVER_H_
6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_OBSERVER_H_ 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_OBSERVER_H_
7 #pragma once
8 7
9 class BookmarkModel; 8 class BookmarkModel;
10 class BookmarkNode; 9 class BookmarkNode;
11 10
12 // Observer for the BookmarkModel. 11 // Observer for the BookmarkModel.
13 class BookmarkModelObserver { 12 class BookmarkModelObserver {
14 public: 13 public:
15 // Invoked when the model has finished loading. |ids_reassigned| mirrors 14 // Invoked when the model has finished loading. |ids_reassigned| mirrors
16 // that of BookmarkLoadDetails::ids_reassigned. See it for details. 15 // that of BookmarkLoadDetails::ids_reassigned. See it for details.
17 virtual void Loaded(BookmarkModel* model, bool ids_reassigned) = 0; 16 virtual void Loaded(BookmarkModel* model, bool ids_reassigned) = 0;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // Invoked after an extensive set of model changes has ended. 64 // Invoked after an extensive set of model changes has ended.
66 // This tells observers to update themselves if they were waiting for the 65 // This tells observers to update themselves if they were waiting for the
67 // update to finish. 66 // update to finish.
68 virtual void ExtensiveBookmarkChangesEnded(BookmarkModel* model) {} 67 virtual void ExtensiveBookmarkChangesEnded(BookmarkModel* model) {}
69 68
70 protected: 69 protected:
71 virtual ~BookmarkModelObserver() {} 70 virtual ~BookmarkModelObserver() {}
72 }; 71 };
73 72
74 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_OBSERVER_H_ 73 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_model_factory.h ('k') | chrome/browser/bookmarks/bookmark_model_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698