summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extensions_service_unittest.cc
diff options
context:
space:
mode:
authorasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-01 18:24:32 +0000
committerasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-01 18:24:32 +0000
commitd1ca0ed1b1475318b2f286dd7709dd70826809b3 (patch)
tree7dfa4e725ab8ffc362f935cca15ffca09b31a35d /chrome/browser/extensions/extensions_service_unittest.cc
parent2a122adcdb2cc0e760e45db988ef1817cebcc61b (diff)
downloadchromium_src-d1ca0ed1b1475318b2f286dd7709dd70826809b3.zip
chromium_src-d1ca0ed1b1475318b2f286dd7709dd70826809b3.tar.gz
chromium_src-d1ca0ed1b1475318b2f286dd7709dd70826809b3.tar.bz2
Create an interface just for update-related functions in ExtensionsService.
This abstracts out the pieces that ExtensionUpdater will depend on, to allow easy mocking. BUG=http://crbug.com/12117 TEST=none Review URL: http://codereview.chromium.org/151127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19747 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extensions_service_unittest.cc')
-rw-r--r--chrome/browser/extensions/extensions_service_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extensions_service_unittest.cc b/chrome/browser/extensions/extensions_service_unittest.cc
index 92cd377..b195151 100644
--- a/chrome/browser/extensions/extensions_service_unittest.cc
+++ b/chrome/browser/extensions/extensions_service_unittest.cc
@@ -315,7 +315,7 @@ class ExtensionsServiceTest
}
protected:
- // A class to record whether a ExtensionsService::Callback has fired, and
+ // A class to record whether a ExtensionInstallCallback has fired, and
// to remember the args it was called with.
class CallbackRecorder {
public:
@@ -375,7 +375,7 @@ class ExtensionsServiceTest
ASSERT_TRUE(file_util::PathExists(path));
CallbackRecorder callback_recorder;
- ExtensionsService::Callback* callback = NULL;
+ ExtensionInstallCallback* callback = NULL;
if (use_callback) {
callback = NewCallback(&callback_recorder,
&CallbackRecorder::CallbackFunc);