New issue
Advanced search Search tips

Issue 782765 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Allow access of ExtensionService::IsExtensionEnabled from src/extensions/browser

Project Member Reported by mxnguyen@chromium.org, Nov 8 2017

Issue description

In order for the component updater to work with extensions, we'll need to access to certain states of extensions, that are only currently available in src/chrome/browser/extensions.

One immediate need is to access to the enable/disable states of extensions, which are currently implemented in src/chrome/browser/extension_service.h.

These states can be exposed through ExtensionsBrowserClient as devlin@ suggested. This bug is opened to justify the change and track it for future references.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Nov 9 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3bfb32283b488a1ed8a068045eff325c60ed8107

commit 3bfb32283b488a1ed8a068045eff325c60ed8107
Author: Minh X. Nguyen <mxnguyen@chromium.org>
Date: Thu Nov 09 17:11:14 2017

[Extension] Add IsExtensionEnabled to ExtensionsBrowserClient.

UpdateDataProvider::GetData needs this function in order to determine
the disable/enable state of an extension.

Bug: 782765
Change-Id: I99a199265b606a9aefcc660e85b341b71b4f3bd5
Reviewed-on: https://chromium-review.googlesource.com/755155
Reviewed-by: Devlin <rdevlin.cronin@chromium.org>
Commit-Queue: Minh Nguyen <mxnguyen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#515192}
[modify] https://crrev.com/3bfb32283b488a1ed8a068045eff325c60ed8107/chrome/browser/extensions/chrome_extensions_browser_client.cc
[modify] https://crrev.com/3bfb32283b488a1ed8a068045eff325c60ed8107/chrome/browser/extensions/chrome_extensions_browser_client.h
[modify] https://crrev.com/3bfb32283b488a1ed8a068045eff325c60ed8107/extensions/browser/extensions_browser_client.cc
[modify] https://crrev.com/3bfb32283b488a1ed8a068045eff325c60ed8107/extensions/browser/extensions_browser_client.h

Status: Assigned (was: Untriaged)

Sign in to add a comment