diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-26 22:48:12 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-26 22:48:12 +0000 |
commit | a2aef2ea9d7d923a9c1c768eadd1092ce46b64bf (patch) | |
tree | 5f78f3f4cf0ea1d08ee4eafa0e22118d8486440f /chrome/browser/extensions/extension_test_api.cc | |
parent | 5bd4938ab9c427e324933fa3689d2de7bfc4e315 (diff) | |
download | chromium_src-a2aef2ea9d7d923a9c1c768eadd1092ce46b64bf.zip chromium_src-a2aef2ea9d7d923a9c1c768eadd1092ce46b64bf.tar.gz chromium_src-a2aef2ea9d7d923a9c1c768eadd1092ce46b64bf.tar.bz2 |
Split UI-specific bits off ExtensionFunction into a separate class.
This is a precursor to another patch I'm working on, which will add
ExtensionFunctions that can run on the IO thread. The webRequest API will use
this.
I've also done a bit of other cleanup:
- moved almost everything off of {Async,Sync}ExtensionFunction, up into the
base class, since none of it was specific to either of those.
- store Extension directly on ExtensionFunction, rather than needing to look it
up, since it is now refcounted.
BUG=no
TEST=no
Review URL: http://codereview.chromium.org/7073001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86919 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_test_api.cc')
-rw-r--r-- | chrome/browser/extensions/extension_test_api.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_test_api.cc b/chrome/browser/extensions/extension_test_api.cc index 2309feb..e5bc60f 100644 --- a/chrome/browser/extensions/extension_test_api.cc +++ b/chrome/browser/extensions/extension_test_api.cc @@ -8,6 +8,7 @@ #include "base/memory/singleton.h" #include "chrome/browser/extensions/extension_service.h" +#include "chrome/browser/extensions/extension_function_dispatcher.h" #include "chrome/browser/extensions/extensions_quota_service.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/ui/browser.h" |