| Index: chrome/browser/media/router/discovery/dial/mock_device_description_service.h | 
| diff --git a/chrome/browser/media/router/discovery/dial/mock_device_description_service.h b/chrome/browser/media/router/discovery/dial/mock_device_description_service.h | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..03b843d305fc6fb52603922edb8d3d9c320b42e4 | 
| --- /dev/null | 
| +++ b/chrome/browser/media/router/discovery/dial/mock_device_description_service.h | 
| @@ -0,0 +1,28 @@ | 
| +// Copyright 2017 The Chromium Authors. All rights reserved. | 
| +// Use of this source code is governed by a BSD-style license that can be | 
| +// found in the LICENSE file. | 
| + | 
| +#ifndef CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_MOCK_DEVICE_DESCRIPTION_SERVICE_H_ | 
| +#define CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_MOCK_DEVICE_DESCRIPTION_SERVICE_H_ | 
| + | 
| +#include "base/test/mock_callback.h" | 
| +#include "chrome/browser/media/router/discovery/dial/device_description_service.h" | 
| +#include "testing/gmock/include/gmock/gmock.h" | 
| +#include "testing/gtest/include/gtest/gtest.h" | 
| + | 
| +namespace media_router { | 
| + | 
| +class MockDeviceDescriptionService : public DeviceDescriptionService { | 
| + public: | 
| +  MockDeviceDescriptionService(DeviceDescriptionParseSuccessCallback success_cb, | 
| +                               DeviceDescriptionParseErrorCallback error_cb); | 
| +  ~MockDeviceDescriptionService() override; | 
| + | 
| +  MOCK_METHOD2(GetDeviceDescriptions, | 
| +               void(const std::vector<DialDeviceData>& devices, | 
| +                    net::URLRequestContextGetter* request_context)); | 
| +}; | 
| + | 
| +}  // namespace media_router | 
| + | 
| +#endif  // CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_MOCK_DEVICE_DESCRIPTION_SERVICE_H_ | 
|  |