ExtensionSystem cleanup part 3
Fix most users of ExtensionSystemFactory::GetInstance() to use ExtensionsBrowserClient::Get()->GetExtensionSystemFactory(). Clean up extension_system_factory.h includes.
Follows https://codereview.chromium.org/137753016/
BUG=337707
Review URL: https://codereview.chromium.org/148083014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251284 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/extensions/dev_mode_bubble_controller.cc b/chrome/browser/extensions/dev_mode_bubble_controller.cc
index 6845105..2bf7136c 100644
--- a/chrome/browser/extensions/dev_mode_bubble_controller.cc
+++ b/chrome/browser/extensions/dev_mode_bubble_controller.cc
@@ -19,6 +19,7 @@
#include "content/public/browser/notification_service.h"
#include "content/public/browser/user_metrics.h"
#include "extensions/browser/extension_prefs.h"
+#include "extensions/browser/extension_system.h"
#include "extensions/common/feature_switch.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
@@ -123,7 +124,7 @@
// static
bool DevModeBubbleController::IsDevModeExtension(
const Extension* extension) {
- if (!extensions::FeatureSwitch::force_dev_mode_highlighting()->IsEnabled()) {
+ if (!FeatureSwitch::force_dev_mode_highlighting()->IsEnabled()) {
if (chrome::VersionInfo::GetChannel() <
chrome::VersionInfo::CHANNEL_BETA)
return false;
@@ -135,10 +136,9 @@
DevModeBubbleController::DevModeBubbleController(Profile* profile)
: ExtensionMessageBubbleController(
new DevModeBubbleDelegate(
- extensions::ExtensionSystem::Get(profile)->extension_service()),
+ ExtensionSystem::Get(profile)->extension_service()),
profile),
- profile_(profile) {
-}
+ profile_(profile) {}
DevModeBubbleController::~DevModeBubbleController() {
}