// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ #include <string> #include <vector> #include "base/memory/weak_ptr.h" #include "chrome/browser/extensions/extension_service.h" namespace extensions { class CWSInfoServiceInterface; class CrxInstaller; class Extension; } // namespace extensions // Implementation of ExtensionServiceInterface with default // implementations for methods that add failures. You should subclass // this and override the methods you care about. class TestExtensionService : public extensions::ExtensionServiceInterface { … }; #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_