This source file includes following definitions.
- CreateExternalDataFetcher
#include "components/policy/core/common/cloud/mock_cloud_external_data_manager.h"
#include "base/callback.h"
#include "base/memory/weak_ptr.h"
#include "components/policy/core/common/external_data_fetcher.h"
#include "net/url_request/url_request_context_getter.h"
namespace policy {
MockCloudExternalDataManager::MockCloudExternalDataManager() {
}
MockCloudExternalDataManager::~MockCloudExternalDataManager() {
}
scoped_ptr<ExternalDataFetcher>
MockCloudExternalDataManager::CreateExternalDataFetcher(
const std::string& policy) {
return make_scoped_ptr(new ExternalDataFetcher(weak_factory_.GetWeakPtr(),
policy));
}
}