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

Side by Side Diff: components/undo/bookmark_undo_service.cc

Issue 2712513004: Use a qualified path for grit-generated headers in components/ (Closed)
Patch Set: more checkdeps Created 3 years, 10 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "components/undo/bookmark_undo_service.h" 5 #include "components/undo/bookmark_undo_service.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "components/bookmarks/browser/bookmark_model.h" 14 #include "components/bookmarks/browser/bookmark_model.h"
15 #include "components/bookmarks/browser/bookmark_node_data.h" 15 #include "components/bookmarks/browser/bookmark_node_data.h"
16 #include "components/bookmarks/browser/bookmark_undo_provider.h" 16 #include "components/bookmarks/browser/bookmark_undo_provider.h"
17 #include "components/bookmarks/browser/bookmark_utils.h" 17 #include "components/bookmarks/browser/bookmark_utils.h"
18 #include "components/bookmarks/browser/scoped_group_bookmark_actions.h" 18 #include "components/bookmarks/browser/scoped_group_bookmark_actions.h"
19 #include "components/strings/grit/components_strings.h"
19 #include "components/undo/undo_operation.h" 20 #include "components/undo/undo_operation.h"
20 #include "grit/components_strings.h"
21 21
22 using bookmarks::BookmarkModel; 22 using bookmarks::BookmarkModel;
23 using bookmarks::BookmarkNode; 23 using bookmarks::BookmarkNode;
24 using bookmarks::BookmarkNodeData; 24 using bookmarks::BookmarkNodeData;
25 using bookmarks::BookmarkUndoProvider; 25 using bookmarks::BookmarkUndoProvider;
26 26
27 namespace { 27 namespace {
28 28
29 // BookmarkUndoOperation ------------------------------------------------------ 29 // BookmarkUndoOperation ------------------------------------------------------
30 30
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 void BookmarkUndoService::OnBookmarkNodeRemoved( 407 void BookmarkUndoService::OnBookmarkNodeRemoved(
408 BookmarkModel* model, 408 BookmarkModel* model,
409 const BookmarkNode* parent, 409 const BookmarkNode* parent,
410 int index, 410 int index,
411 std::unique_ptr<BookmarkNode> node) { 411 std::unique_ptr<BookmarkNode> node) {
412 DCHECK(undo_provider_); 412 DCHECK(undo_provider_);
413 std::unique_ptr<UndoOperation> op(new BookmarkRemoveOperation( 413 std::unique_ptr<UndoOperation> op(new BookmarkRemoveOperation(
414 model, undo_provider_, parent, index, std::move(node))); 414 model, undo_provider_, parent, index, std::move(node)));
415 undo_manager()->AddUndoOperation(std::move(op)); 415 undo_manager()->AddUndoOperation(std::move(op));
416 } 416 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698