| Index: chrome/browser/extensions/component_loader.cc
|
| diff --git a/chrome/browser/extensions/component_loader.cc b/chrome/browser/extensions/component_loader.cc
|
| index 282d618f8cb62c5f1b1c03f735309684c829aa58..4a98cf9a20688e0c9c08547d3cbb7dd095dd1da9 100644
|
| --- a/chrome/browser/extensions/component_loader.cc
|
| +++ b/chrome/browser/extensions/component_loader.cc
|
| @@ -20,7 +20,6 @@
|
| #include "chrome/common/extensions/extension.h"
|
| #include "chrome/common/extensions/extension_file_util.h"
|
| #include "chrome/common/extensions/extension_manifest_constants.h"
|
| -#include "chrome/common/extensions/feature_switch.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "content/public/browser/notification_details.h"
|
| #include "content/public/browser/notification_source.h"
|
| @@ -89,13 +88,6 @@ ComponentLoader::~ComponentLoader() {
|
| ClearAllRegistered();
|
| }
|
|
|
| -const Extension* ComponentLoader::GetScriptBubble() const {
|
| - if (script_bubble_id_.empty())
|
| - return NULL;
|
| -
|
| - return extension_service_->extensions()->GetByID(script_bubble_id_);
|
| -}
|
| -
|
| void ComponentLoader::LoadAll() {
|
| for (RegisteredComponentExtensions::iterator it =
|
| component_extensions_.begin();
|
| @@ -313,14 +305,6 @@ void ComponentLoader::AddChromeApp() {
|
| #endif
|
| }
|
|
|
| -void ComponentLoader::AddScriptBubble() {
|
| - if (FeatureSwitch::script_bubble()->IsEnabled()) {
|
| - script_bubble_id_ =
|
| - Add(IDR_SCRIPT_BUBBLE_MANIFEST,
|
| - FilePath(FILE_PATH_LITERAL("script_bubble")));
|
| - }
|
| -}
|
| -
|
| // static
|
| void ComponentLoader::EnableBackgroundExtensionsForTesting() {
|
| enable_background_extensions_during_testing = true;
|
| @@ -382,7 +366,6 @@ void ComponentLoader::AddDefaultComponentExtensions() {
|
| AddChromeApp();
|
| #endif
|
|
|
| - AddScriptBubble();
|
| AddDefaultComponentExtensionsWithBackgroundPages();
|
| }
|
|
|
|
|