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

Side by Side Diff: services/service_manager/tests/connect/connect_unittest.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 unified diff | Download patch
OLDNEW
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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/guid.h" 12 #include "base/guid.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ptr_util.h"
14 #include "base/process/process.h" 15 #include "base/process/process.h"
15 #include "base/run_loop.h" 16 #include "base/run_loop.h"
16 #include "base/test/test_suite.h" 17 #include "base/test/test_suite.h"
17 #include "mojo/public/cpp/bindings/binding_set.h" 18 #include "mojo/public/cpp/bindings/binding_set.h"
18 #include "services/service_manager/public/cpp/interface_factory.h" 19 #include "services/service_manager/public/cpp/interface_factory.h"
19 #include "services/service_manager/public/cpp/interface_registry.h" 20 #include "services/service_manager/public/cpp/interface_registry.h"
20 #include "services/service_manager/public/cpp/service_test.h" 21 #include "services/service_manager/public/cpp/service_test.h"
21 #include "services/service_manager/public/interfaces/service_manager.mojom.h" 22 #include "services/service_manager/public/interfaces/service_manager.mojom.h"
22 #include "services/service_manager/tests/connect/connect_test.mojom.h" 23 #include "services/service_manager/tests/connect/connect_test.mojom.h"
23 #include "services/service_manager/tests/util.h" 24 #include "services/service_manager/tests/util.h"
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 base::RunLoop loop; 386 base::RunLoop loop;
386 inherit_connection->AddConnectionCompletedClosure( 387 inherit_connection->AddConnectionCompletedClosure(
387 base::Bind(&QuitLoop, &loop)); 388 base::Bind(&QuitLoop, &loop));
388 loop.Run(); 389 loop.Run();
389 EXPECT_EQ(inherit_connection->GetRemoteIdentity().user_id(), 390 EXPECT_EQ(inherit_connection->GetRemoteIdentity().user_id(),
390 connection->GetRemoteIdentity().user_id()); 391 connection->GetRemoteIdentity().user_id());
391 } 392 }
392 } 393 }
393 394
394 } // namespace service_manager 395 } // namespace service_manager
OLDNEW
« no previous file with comments | « services/service_manager/tests/connect/connect_test_package.cc ('k') | services/ui/gpu/gpu_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698