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

Unified Diff: chrome/browser/chromeos/extensions/gfx_utils.cc

Issue 2456803002: Remove OnOptInChanged callback. (Closed)
Patch Set: Address comments. Created 4 years, 1 month 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/chromeos/extensions/gfx_utils.cc
diff --git a/chrome/browser/chromeos/extensions/gfx_utils.cc b/chrome/browser/chromeos/extensions/gfx_utils.cc
index d723dfadae7a8e6573eb57f35ce6b0d448ef64a8..a9ec35ad0d7ecb708f840da63215703fc94b3d08 100644
--- a/chrome/browser/chromeos/extensions/gfx_utils.cc
+++ b/chrome/browser/chromeos/extensions/gfx_utils.cc
@@ -5,8 +5,6 @@
#include "chrome/browser/chromeos/extensions/gfx_utils.h"
#include "base/lazy_instance.h"
-#include "chrome/browser/chromeos/arc/arc_auth_service.h"
-#include "chrome/browser/chromeos/arc/arc_support_host.h"
#include "chrome/browser/chromeos/profiles/profile_helper.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h"
@@ -194,13 +192,6 @@ void MaybeApplyChromeBadge(content::BrowserContext* context,
return;
}
- arc::ArcAuthService* arc_auth_service = arc::ArcAuthService::Get();
- // Only apply Chrome badge when ARC service is enabled.
- if (!arc_auth_service ||
- arc_auth_service->state() != arc::ArcAuthService::State::ACTIVE) {
- return;
- }
-
const ExtensionRegistry* registry = ExtensionRegistry::Get(context);
if (!registry || !registry->GetInstalledExtension(extension_id))
return;

Powered by Google App Engine
This is Rietveld 408576698