Chromium Code Reviews| 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; |