| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "services/ui/public/cpp/tests/window_server_shelltest_base.h" | 5 #include "services/ui/public/cpp/tests/window_server_shelltest_base.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 WindowServerServiceTestBase::WindowServerServiceTestBase() | 49 WindowServerServiceTestBase::WindowServerServiceTestBase() |
| 50 : ServiceTest(kTestAppName) { | 50 : ServiceTest(kTestAppName) { |
| 51 EnsureCommandLineSwitch(switches::kUseTestConfig); | 51 EnsureCommandLineSwitch(switches::kUseTestConfig); |
| 52 EnsureCommandLineSwitch(::switches::kOverrideUseGLWithOSMesaForTests); | 52 EnsureCommandLineSwitch(::switches::kOverrideUseGLWithOSMesaForTests); |
| 53 } | 53 } |
| 54 | 54 |
| 55 WindowServerServiceTestBase::~WindowServerServiceTestBase() {} | 55 WindowServerServiceTestBase::~WindowServerServiceTestBase() {} |
| 56 | 56 |
| 57 std::unique_ptr<shell::Service> | 57 std::unique_ptr<shell::Service> |
| 58 WindowServerServiceTestBase::CreateService() { | 58 WindowServerServiceTestBase::CreateService() { |
| 59 return base::WrapUnique(new WindowServerServiceTestClient(this)); | 59 return base::MakeUnique<WindowServerServiceTestClient>(this); |
| 60 } | 60 } |
| 61 | 61 |
| 62 } // namespace ui | 62 } // namespace ui |
| OLD | NEW |