Commit 38034e8c authored by Ghazale Hosseinabadi's avatar Ghazale Hosseinabadi Committed by Commit Bot

Remove NOTIFICATION_EXTENSIONS_READY_DEPRECATED

This is the last CL to remove NOTIFICATION_EXTENSIONS_READY_DEPRECATED.

Bug: 411566
Change-Id: I69937ae19ed42e259509ac0587d5285a33cb56b4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2199874Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
Reviewed-by: default avatarLuke Halliwell (slow) <halliwell@chromium.org>
Commit-Queue: Ghazale Hosseinabadi <ghazale@chromium.org>
Cr-Commit-Position: refs/heads/master@{#769008}
parent e96c78d2
......@@ -1297,10 +1297,6 @@ void ExtensionService::SetReadyAndNotifyListeners() {
"Extensions.ExtensionServiceNotifyReadyListenersTime");
ready_->Signal();
content::NotificationService::current()->Notify(
NOTIFICATION_EXTENSIONS_READY_DEPRECATED,
content::Source<Profile>(profile_),
content::NotificationService::NoDetails());
}
void ExtensionService::AddExtension(const Extension* extension) {
......
......@@ -17,14 +17,10 @@
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_source.h"
#include "extensions/browser/api/app_runtime/app_runtime_api.h"
#include "extensions/browser/extension_prefs.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/browser/info_map.h"
#include "extensions/browser/notification_types.h"
#include "extensions/browser/null_app_sorting.h"
#include "extensions/browser/process_manager.h"
#include "extensions/browser/quota_service.h"
......@@ -167,10 +163,6 @@ void CastExtensionSystem::Init() {
// Inform the rest of the extensions system to start.
ready_.Signal();
content::NotificationService::current()->Notify(
NOTIFICATION_EXTENSIONS_READY_DEPRECATED,
content::Source<BrowserContext>(browser_context_),
content::NotificationService::NoDetails());
}
void CastExtensionSystem::LaunchApp(const ExtensionId& extension_id) {
......
......@@ -39,13 +39,6 @@ enum NotificationType {
// DEPRECATED: Use extensions::InstallObserver::OnFinishCrxInstall()
NOTIFICATION_CRX_INSTALLER_DONE = NOTIFICATION_EXTENSIONS_START,
// Sent when the known installed extensions have all been loaded. In
// testing scenarios this can happen multiple times if extensions are
// unloaded and reloaded. The source is a BrowserContext*.
//
// DEPRECATED: Use ExtensionSystem::Get(browser_context)->ready().Post().
NOTIFICATION_EXTENSIONS_READY_DEPRECATED,
// An error occurred while attempting to load an extension. The details are a
// string with details about why the load failed.
// DEPRECATED: Use extensions::LoadErrorReporter::OnLoadFailure()
......
......@@ -15,13 +15,9 @@
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_source.h"
#include "extensions/browser/api/app_runtime/app_runtime_api.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/browser/info_map.h"
#include "extensions/browser/notification_types.h"
#include "extensions/browser/null_app_sorting.h"
#include "extensions/browser/quota_service.h"
#include "extensions/browser/runtime_data.h"
......@@ -54,10 +50,6 @@ const Extension* ShellExtensionSystem::LoadApp(const base::FilePath& app_dir) {
void ShellExtensionSystem::FinishInitialization() {
// Inform the rest of the extensions system to start.
ready_.Signal();
content::NotificationService::current()->Notify(
NOTIFICATION_EXTENSIONS_READY_DEPRECATED,
content::Source<BrowserContext>(browser_context_),
content::NotificationService::NoDetails());
}
void ShellExtensionSystem::LaunchApp(const ExtensionId& extension_id) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment