| Index: chrome/browser/policy/testing_policy_url_fetcher_factory.h
|
| diff --git a/chrome/browser/policy/testing_policy_url_fetcher_factory.h b/chrome/browser/policy/testing_policy_url_fetcher_factory.h
|
| index 328cd3e7b27ca1ab2fb334d2968c9a4e3a599334..2c27145793b08226aae9caf799022c6f2f0de8fd 100644
|
| --- a/chrome/browser/policy/testing_policy_url_fetcher_factory.h
|
| +++ b/chrome/browser/policy/testing_policy_url_fetcher_factory.h
|
| @@ -12,6 +12,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "chrome/browser/policy/logging_work_scheduler.h"
|
| #include "content/common/url_fetcher.h"
|
| +#include "content/test/test_url_fetcher_factory.h"
|
| #include "googleurl/src/gurl.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
|
|
| @@ -25,9 +26,9 @@ struct TestURLResponse {
|
| };
|
|
|
| // Creates mock URLFetchers whose behavior can be controlled in tests. To do so
|
| -// specify this factory with URLFetcher::set_factory, and set mock expectations
|
| -// on the method |Intercept|.
|
| -class TestingPolicyURLFetcherFactory : public URLFetcher::Factory {
|
| +// set mock expectations on the method |Intercept|.
|
| +class TestingPolicyURLFetcherFactory : public URLFetcher::Factory,
|
| + public ScopedURLFetcherFactory {
|
| public:
|
| explicit TestingPolicyURLFetcherFactory(EventLogger* logger);
|
| virtual ~TestingPolicyURLFetcherFactory();
|
|
|