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

Side by Side Diff: components/bookmarks/managed/managed_bookmark_service.cc

Issue 2712513004: Use a qualified path for grit-generated headers in components/ (Closed)
Patch Set: more checkdeps Created 3 years, 9 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/bookmarks/managed/managed_bookmark_service.h" 5 #include "components/bookmarks/managed/managed_bookmark_service.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 9
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/ptr_util.h" 17 #include "base/memory/ptr_util.h"
18 #include "base/strings/string16.h" 18 #include "base/strings/string16.h"
19 #include "base/values.h" 19 #include "base/values.h"
20 #include "components/bookmarks/browser/bookmark_model.h" 20 #include "components/bookmarks/browser/bookmark_model.h"
21 #include "components/bookmarks/browser/bookmark_utils.h" 21 #include "components/bookmarks/browser/bookmark_utils.h"
22 #include "components/bookmarks/managed/managed_bookmarks_tracker.h" 22 #include "components/bookmarks/managed/managed_bookmarks_tracker.h"
23 #include "grit/components_strings.h" 23 #include "components/strings/grit/components_strings.h"
24 #include "ui/base/l10n/l10n_util.h" 24 #include "ui/base/l10n/l10n_util.h"
25 25
26 namespace bookmarks { 26 namespace bookmarks {
27 namespace { 27 namespace {
28 28
29 // BookmarkPermanentNodeLoader initializes a BookmarkPermanentNode from a JSON 29 // BookmarkPermanentNodeLoader initializes a BookmarkPermanentNode from a JSON
30 // representation, title id and starting node id. 30 // representation, title id and starting node id.
31 class BookmarkPermanentNodeLoader { 31 class BookmarkPermanentNodeLoader {
32 public: 32 public:
33 BookmarkPermanentNodeLoader( 33 BookmarkPermanentNodeLoader(
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 } 180 }
181 181
182 managed_bookmarks_tracker_.reset(); 182 managed_bookmarks_tracker_.reset();
183 supervised_bookmarks_tracker_.reset(); 183 supervised_bookmarks_tracker_.reset();
184 184
185 managed_node_ = nullptr; 185 managed_node_ = nullptr;
186 supervised_node_ = nullptr; 186 supervised_node_ = nullptr;
187 } 187 }
188 188
189 } // namespace bookmarks 189 } // namespace bookmarks
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698