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

Side by Side Diff: components/undo/bookmark_undo_utils.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « components/undo/bookmark_undo_service_test.cc ('k') | components/undo/undo_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_UNDO_BOOKMARK_UNDO_UTILS_H_ 5 #ifndef COMPONENTS_UNDO_BOOKMARK_UNDO_UTILS_H_
6 #define COMPONENTS_UNDO_BOOKMARK_UNDO_UTILS_H_ 6 #define COMPONENTS_UNDO_BOOKMARK_UNDO_UTILS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/macros.h"
9 9
10 class BookmarkUndoService; 10 class BookmarkUndoService;
11 class UndoManager; 11 class UndoManager;
12 12
13 // ScopedSuspendBookmarkUndo -------------------------------------------------- 13 // ScopedSuspendBookmarkUndo --------------------------------------------------
14 14
15 // Scopes the suspension of the undo tracking for non-user initiated changes 15 // Scopes the suspension of the undo tracking for non-user initiated changes
16 // such as those occuring during account synchronization. 16 // such as those occuring during account synchronization.
17 class ScopedSuspendBookmarkUndo { 17 class ScopedSuspendBookmarkUndo {
18 public: 18 public:
19 explicit ScopedSuspendBookmarkUndo( 19 explicit ScopedSuspendBookmarkUndo(
20 BookmarkUndoService* bookmark_undo_service); 20 BookmarkUndoService* bookmark_undo_service);
21 ~ScopedSuspendBookmarkUndo(); 21 ~ScopedSuspendBookmarkUndo();
22 22
23 private: 23 private:
24 UndoManager* undo_manager_; 24 UndoManager* undo_manager_;
25 25
26 DISALLOW_COPY_AND_ASSIGN(ScopedSuspendBookmarkUndo); 26 DISALLOW_COPY_AND_ASSIGN(ScopedSuspendBookmarkUndo);
27 }; 27 };
28 28
29 #endif // COMPONENTS_UNDO_BOOKMARK_UNDO_UTILS_H_ 29 #endif // COMPONENTS_UNDO_BOOKMARK_UNDO_UTILS_H_
OLDNEW
« no previous file with comments | « components/undo/bookmark_undo_service_test.cc ('k') | components/undo/undo_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698