blob: 965f39f5f5cb1b999d1a86a3305c2084f2937318 [file] [log] [blame]
// Copyright 2014 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 COMPONENTS_BOOKMARKS_BROWSER_SCOPED_GROUP_BOOKMARK_ACTIONS_H_
#define COMPONENTS_BOOKMARKS_BROWSER_SCOPED_GROUP_BOOKMARK_ACTIONS_H_
#include "base/macros.h"
class BookmarkModel;
namespace bookmarks {
// Scopes the grouping of a set of changes into one undoable action.
class ScopedGroupBookmarkActions {
public:
explicit ScopedGroupBookmarkActions(BookmarkModel* model);
~ScopedGroupBookmarkActions();
private:
BookmarkModel* model_;
DISALLOW_COPY_AND_ASSIGN(ScopedGroupBookmarkActions);
};
} // namespace bookmarks
#endif // COMPONENTS_BOOKMARKS_BROWSER_SCOPED_GROUP_BOOKMARK_ACTIONS_H_