| Index: chrome/browser/undo/bookmark_renumber_observer.h
|
| diff --git a/chrome/browser/undo/bookmark_renumber_observer.h b/chrome/browser/undo/bookmark_renumber_observer.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..213dba1d71e916aed8dcc5806f2142d82e8ae99d
|
| --- /dev/null
|
| +++ b/chrome/browser/undo/bookmark_renumber_observer.h
|
| @@ -0,0 +1,18 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_UNDO_BOOKMARK_RENUMBER_OBSERVER_H_
|
| +#define CHROME_BROWSER_UNDO_BOOKMARK_RENUMBER_OBSERVER_H_
|
| +
|
| +class BookmarkRenumberObserver {
|
| + public:
|
| + // Invoked when a bookmark id has been renumbered so that any
|
| + // BookmarkUndoOperations that refer to that bookmark can be updated.
|
| + virtual void OnBookmarkRenumbered(int64 old_id, int64 new_id) = 0;
|
| +
|
| + protected:
|
| + virtual ~BookmarkRenumberObserver() {}
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UNDO_BOOKMARK_RENUMBER_OBSERVER_H_
|
|
|