| Index: components/component_updater/mock_component_updater_service.h
|
| diff --git a/components/component_updater/mock_component_updater_service.h b/components/component_updater/mock_component_updater_service.h
|
| index f8d1447cc96f9aae0999069be97e11328fcb2792..7a1b65b1d75756616070259416dcbd405b00f4a6 100644
|
| --- a/components/component_updater/mock_component_updater_service.h
|
| +++ b/components/component_updater/mock_component_updater_service.h
|
| @@ -11,6 +11,9 @@
|
| #ifndef COMPONENTS_COMPONENT_UPDATER_MOCK_COMPONENT_UPDATER_SERVICE_H_
|
| #define COMPONENTS_COMPONENT_UPDATER_MOCK_COMPONENT_UPDATER_SERVICE_H_
|
|
|
| +#include <string>
|
| +#include <vector>
|
| +
|
| #include "base/callback.h"
|
| #include "base/sequenced_task_runner.h"
|
| #include "components/component_updater/component_updater_service.h"
|
| @@ -33,6 +36,8 @@ class MockComponentUpdateService : public ComponentUpdateService {
|
| bool(const std::string& id));
|
| MOCK_CONST_METHOD0(GetComponentIDs,
|
| std::vector<std::string>());
|
| + MOCK_CONST_METHOD2(GetComponentForMimeType,
|
| + bool(const std::string& mime_type, ComponentInfo* info));
|
| MOCK_METHOD0(GetOnDemandUpdater,
|
| OnDemandUpdater&());
|
| MOCK_METHOD2(MaybeThrottle,
|
|
|