| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "chrome/browser/extensions/extension_service.h" | 5 #include "chrome/browser/extensions/extension_service.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <iterator> | 8 #include <iterator> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 #include "chrome/common/chrome_notification_types.h" | 76 #include "chrome/common/chrome_notification_types.h" |
| 77 #include "chrome/common/chrome_paths.h" | 77 #include "chrome/common/chrome_paths.h" |
| 78 #include "chrome/common/chrome_switches.h" | 78 #include "chrome/common/chrome_switches.h" |
| 79 #include "chrome/common/chrome_version_info.h" | 79 #include "chrome/common/chrome_version_info.h" |
| 80 #include "chrome/common/extensions/api/plugins/plugins_handler.h" | 80 #include "chrome/common/extensions/api/plugins/plugins_handler.h" |
| 81 #include "chrome/common/extensions/background_info.h" | 81 #include "chrome/common/extensions/background_info.h" |
| 82 #include "chrome/common/extensions/extension.h" | 82 #include "chrome/common/extensions/extension.h" |
| 83 #include "chrome/common/extensions/extension_file_util.h" | 83 #include "chrome/common/extensions/extension_file_util.h" |
| 84 #include "chrome/common/extensions/extension_manifest_constants.h" | 84 #include "chrome/common/extensions/extension_manifest_constants.h" |
| 85 #include "chrome/common/extensions/extension_messages.h" | 85 #include "chrome/common/extensions/extension_messages.h" |
| 86 #include "chrome/common/extensions/extension_resource.h" | |
| 87 #include "chrome/common/extensions/feature_switch.h" | 86 #include "chrome/common/extensions/feature_switch.h" |
| 88 #include "chrome/common/extensions/features/feature.h" | 87 #include "chrome/common/extensions/features/feature.h" |
| 89 #include "chrome/common/extensions/manifest.h" | 88 #include "chrome/common/extensions/manifest.h" |
| 90 #include "chrome/common/extensions/manifest_url_handler.h" | 89 #include "chrome/common/extensions/manifest_url_handler.h" |
| 91 #include "chrome/common/pref_names.h" | 90 #include "chrome/common/pref_names.h" |
| 92 #include "chrome/common/startup_metric_utils.h" | 91 #include "chrome/common/startup_metric_utils.h" |
| 93 #include "chrome/common/url_constants.h" | 92 #include "chrome/common/url_constants.h" |
| 94 #include "content/public/browser/browser_thread.h" | 93 #include "content/public/browser/browser_thread.h" |
| 95 #include "content/public/browser/devtools_agent_host.h" | 94 #include "content/public/browser/devtools_agent_host.h" |
| 96 #include "content/public/browser/notification_service.h" | 95 #include "content/public/browser/notification_service.h" |
| (...skipping 3025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3122 } | 3121 } |
| 3123 | 3122 |
| 3124 void ExtensionService::AddUpdateObserver(extensions::UpdateObserver* observer) { | 3123 void ExtensionService::AddUpdateObserver(extensions::UpdateObserver* observer) { |
| 3125 update_observers_.AddObserver(observer); | 3124 update_observers_.AddObserver(observer); |
| 3126 } | 3125 } |
| 3127 | 3126 |
| 3128 void ExtensionService::RemoveUpdateObserver( | 3127 void ExtensionService::RemoveUpdateObserver( |
| 3129 extensions::UpdateObserver* observer) { | 3128 extensions::UpdateObserver* observer) { |
| 3130 update_observers_.RemoveObserver(observer); | 3129 update_observers_.RemoveObserver(observer); |
| 3131 } | 3130 } |
| OLD | NEW |