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

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

Issue 2456803002: Remove OnOptInChanged callback. (Closed)
Patch Set: rebase 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..a985b5c4e2e2b647bee476ddc5e5e86fdf7b0ba2 100644
--- a/chrome/browser/chromeos/extensions/gfx_utils.cc
+++ b/chrome/browser/chromeos/extensions/gfx_utils.cc
@@ -194,13 +194,6 @@ void MaybeApplyChromeBadge(content::BrowserContext* context,
return;
}
- arc::ArcAuthService* arc_auth_service = arc::ArcAuthService::Get();
hidehiko 2016/11/03 22:54:15 Note: conceptually HasEquivalentInstalledArcApp sh
- // Only apply Chrome badge when ARC service is enabled.
- if (!arc_auth_service ||
khmel 2016/11/03 23:09:17 nit: you might no need #include "chrome/browser/ch
hidehiko 2016/11/04 00:04:56 Done.
- 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