diff options
author | cmp@chromium.org <cmp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-06 13:11:28 +0000 |
---|---|---|
committer | cmp@chromium.org <cmp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-06 13:11:28 +0000 |
commit | fc7641553e87f708788ef0c1e944d971f86a16bb (patch) | |
tree | d25ad7c821e30dafc5887b740e5e7dffaea3daa6 /chrome/browser/automation/automation_provider.cc | |
parent | 40bbe59d2dd822e8448047f25c0349bb5c44d938 (diff) | |
download | chromium_src-fc7641553e87f708788ef0c1e944d971f86a16bb.zip chromium_src-fc7641553e87f708788ef0c1e944d971f86a16bb.tar.gz chromium_src-fc7641553e87f708788ef0c1e944d971f86a16bb.tar.bz2 |
Revert 80539 - Refactor ExtensionService/ExtensionServiceInterface to be more testableIn particular:- Add various status accessors to ExtensionServiceInterface (e.g., IsExtensionEnabled())- Convert IsIncognitoEnabled() to take an ID instead of an Extension*.- Add CheckForUpdates() to ExtensionServiceInterface.- Remove various unneeded accessors from ExtensionServiceInterface.Rewrite some sync utility functions to take advantage of the newinterface (although it will be rewritten more in a future CL).BUG=77995TEST=Review URL: http://codereview.chromium.org/6720042
TBR=akalin@chromium.org
Review URL: http://codereview.chromium.org/6804010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80613 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider.cc')
-rw-r--r-- | chrome/browser/automation/automation_provider.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc index 9fc7ab9..e1b2bb5 100644 --- a/chrome/browser/automation/automation_provider.cc +++ b/chrome/browser/automation/automation_provider.cc @@ -1015,7 +1015,7 @@ void AutomationProvider::GetExtensionProperty( // Skip this extension if we are in incognito mode // and it is not incognito-enabled. if (profile_->IsOffTheRecord() && - !service->IsIncognitoEnabled((*iter)->id())) + !service->IsIncognitoEnabled(*iter)) continue; if (*iter == extension) { found_index = index; |