Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(396)

Unified Diff: services/video_capture/test/service_test.h

Issue 2824883005: [Mojo Video Capture] Stop service when last client disconnects. (Closed)
Patch Set: Incorporate suggestions from PatchSet #4 Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/video_capture/test/mock_device_test.cc ('k') | services/video_capture/test/service_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/video_capture/test/service_test.h
diff --git a/services/video_capture/test/service_test.h b/services/video_capture/test/service_test.h
deleted file mode 100644
index 3015e333e7d357c468ab8b6a111321b225471cca..0000000000000000000000000000000000000000
--- a/services/video_capture/test/service_test.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2016 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 SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_TEST_SERVICE_TEST_H_
-#define SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_TEST_SERVICE_TEST_H_
-
-#include "base/test/mock_callback.h"
-#include "services/service_manager/public/cpp/service_test.h"
-#include "services/video_capture/public/interfaces/service.mojom.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace video_capture {
-
-// Basic test fixture that sets up a connection to the fake device factory.
-class ServiceTest : public service_manager::test::ServiceTest {
- public:
- ServiceTest();
- ~ServiceTest() override;
-
- void SetUp() override;
-
- protected:
- mojom::ServicePtr service_;
- mojom::DeviceFactoryPtr factory_;
- base::MockCallback<mojom::DeviceFactory::GetDeviceInfosCallback>
- device_info_receiver_;
-};
-
-} // namespace video_capture
-
-#endif // SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_TEST_SERVICE_TEST_H_
« no previous file with comments | « services/video_capture/test/mock_device_test.cc ('k') | services/video_capture/test/service_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698