OLD | NEW |
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 #include "chrome/browser/extensions/settings_api_bubble_delegate.h" | 5 #include "chrome/browser/extensions/settings_api_bubble_delegate.h" |
6 | 6 |
7 #include "base/metrics/histogram_macros.h" | 7 #include "base/metrics/histogram_macros.h" |
8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "chrome/browser/extensions/extension_service.h" | 9 #include "chrome/browser/extensions/extension_service.h" |
10 #include "chrome/browser/extensions/settings_api_helpers.h" | 10 #include "chrome/browser/extensions/settings_api_helpers.h" |
11 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
12 #include "chrome/browser/ui/browser.h" | 12 #include "chrome/browser/ui/browser.h" |
13 #include "chrome/browser/ui/startup/startup_browser_creator.h" | 13 #include "chrome/browser/ui/startup/startup_browser_creator.h" |
14 #include "chrome/common/extensions/manifest_handlers/settings_overrides_handler.
h" | 14 #include "chrome/common/extensions/manifest_handlers/settings_overrides_handler.
h" |
15 #include "chrome/common/url_constants.h" | 15 #include "chrome/common/url_constants.h" |
16 #include "chrome/grit/chromium_strings.h" | 16 #include "chrome/grit/chromium_strings.h" |
17 #include "chrome/grit/generated_resources.h" | 17 #include "chrome/grit/generated_resources.h" |
18 #include "components/strings/grit/components_strings.h" | |
19 #include "extensions/browser/extension_prefs.h" | 18 #include "extensions/browser/extension_prefs.h" |
20 #include "extensions/browser/extension_registry.h" | 19 #include "extensions/browser/extension_registry.h" |
21 #include "extensions/browser/extension_system.h" | 20 #include "extensions/browser/extension_system.h" |
22 #include "ui/base/l10n/l10n_util.h" | 21 #include "ui/base/l10n/l10n_util.h" |
23 | 22 |
24 namespace extensions { | 23 namespace extensions { |
25 | 24 |
26 namespace { | 25 namespace { |
27 | 26 |
28 // Whether the user has been notified about extension taking over some aspect of | 27 // Whether the user has been notified about extension taking over some aspect of |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 } | 252 } |
254 NOTREACHED(); | 253 NOTREACHED(); |
255 return ""; | 254 return ""; |
256 } | 255 } |
257 | 256 |
258 bool SettingsApiBubbleDelegate::SupportsPolicyIndicator() { | 257 bool SettingsApiBubbleDelegate::SupportsPolicyIndicator() { |
259 return true; | 258 return true; |
260 } | 259 } |
261 | 260 |
262 } // namespace extensions | 261 } // namespace extensions |
OLD | NEW |