| Index: chrome/browser/undo/bookmark_undo_utils.cc
|
| diff --git a/chrome/browser/undo/bookmark_undo_utils.cc b/chrome/browser/undo/bookmark_undo_utils.cc
|
| deleted file mode 100644
|
| index 48dfeaca579270b28ba2a43f231f1396bfb268e8..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/undo/bookmark_undo_utils.cc
|
| +++ /dev/null
|
| @@ -1,24 +0,0 @@
|
| -// 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.
|
| -
|
| -#include "chrome/browser/undo/bookmark_undo_utils.h"
|
| -
|
| -#include "chrome/browser/undo/bookmark_undo_service.h"
|
| -#include "chrome/browser/undo/undo_manager.h"
|
| -
|
| -// ScopedSuspendBookmarkUndo --------------------------------------------------
|
| -
|
| -ScopedSuspendBookmarkUndo::ScopedSuspendBookmarkUndo(
|
| - BookmarkUndoService* bookmark_undo_service)
|
| - : undo_manager_(bookmark_undo_service
|
| - ? bookmark_undo_service->undo_manager()
|
| - : nullptr) {
|
| - if (undo_manager_)
|
| - undo_manager_->SuspendUndoTracking();
|
| -}
|
| -
|
| -ScopedSuspendBookmarkUndo::~ScopedSuspendBookmarkUndo() {
|
| - if (undo_manager_)
|
| - undo_manager_->ResumeUndoTracking();
|
| -}
|
|
|