Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Unified Diff: chrome/browser/extensions/dev_mode_bubble_controller.cc

Issue 148083014: ExtensionSystem cleanup part 3 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mac Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/dev_mode_bubble_controller.cc
diff --git a/chrome/browser/extensions/dev_mode_bubble_controller.cc b/chrome/browser/extensions/dev_mode_bubble_controller.cc
index 6845105eaccb830aab20046325c8b06934ba8a9d..2bf7136c8f32870476cc7ee211233e2eef6d1812 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 @@ void DevModeBubbleController::ClearProfileListForTesting() {
// 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 @@ bool DevModeBubbleController::IsDevModeExtension(
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() {
}

Powered by Google App Engine
This is Rietveld 408576698