OLD | NEW |
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 "chrome/browser/ui/bookmarks/bookmark_utils_desktop.h" | 5 #include "chrome/browser/ui/bookmarks/bookmark_utils_desktop.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 | 38 |
39 #if BUILDFLAG(ENABLE_EXTENSIONS) | 39 #if BUILDFLAG(ENABLE_EXTENSIONS) |
40 #include "chrome/browser/extensions/api/commands/command_service.h" | 40 #include "chrome/browser/extensions/api/commands/command_service.h" |
41 #include "extensions/browser/extension_registry.h" | 41 #include "extensions/browser/extension_registry.h" |
42 #include "extensions/common/extension_set.h" | 42 #include "extensions/common/extension_set.h" |
43 #endif | 43 #endif |
44 | 44 |
45 #if defined(TOOLKIT_VIEWS) | 45 #if defined(TOOLKIT_VIEWS) |
46 #include "ui/gfx/color_palette.h" | 46 #include "ui/gfx/color_palette.h" |
47 #include "ui/gfx/paint_vector_icon.h" | 47 #include "ui/gfx/paint_vector_icon.h" |
48 #include "ui/gfx/vector_icons_public.h" | |
49 #endif | 48 #endif |
50 | 49 |
51 #if defined(OS_WIN) | 50 #if defined(OS_WIN) |
52 #include "chrome/grit/theme_resources.h" | 51 #include "chrome/grit/theme_resources.h" |
53 #include "ui/base/material_design/material_design_controller.h" | 52 #include "ui/base/material_design/material_design_controller.h" |
54 #include "ui/base/resource/resource_bundle.h" | 53 #include "ui/base/resource/resource_bundle.h" |
55 #endif | 54 #endif |
56 | 55 |
57 using bookmarks::BookmarkModel; | 56 using bookmarks::BookmarkModel; |
58 using bookmarks::BookmarkNode; | 57 using bookmarks::BookmarkNode; |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 while (iterator.has_next()) { | 265 while (iterator.has_next()) { |
267 const GURL* url = iterator.NextURL(); | 266 const GURL* url = iterator.NextURL(); |
268 if (IsURLAllowedInIncognito(*url, browser_context)) | 267 if (IsURLAllowedInIncognito(*url, browser_context)) |
269 return true; | 268 return true; |
270 } | 269 } |
271 return false; | 270 return false; |
272 } | 271 } |
273 #endif // !defined(OS_ANDROID) | 272 #endif // !defined(OS_ANDROID) |
274 | 273 |
275 } // namespace chrome | 274 } // namespace chrome |
OLD | NEW |