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

Side by Side Diff: extensions/renderer/mojo/keep_alive_client_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <utility> 5 #include <utility>
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/memory/ptr_util.h"
8 #include "extensions/common/mojo/keep_alive.mojom.h" 9 #include "extensions/common/mojo/keep_alive.mojom.h"
9 #include "extensions/renderer/api_test_base.h" 10 #include "extensions/renderer/api_test_base.h"
10 #include "grit/extensions_renderer_resources.h" 11 #include "grit/extensions_renderer_resources.h"
11 #include "mojo/public/cpp/bindings/strong_binding.h" 12 #include "mojo/public/cpp/bindings/strong_binding.h"
12 13
13 // A test launcher for tests for the stash client defined in 14 // A test launcher for tests for the stash client defined in
14 // extensions/test/data/keep_alive_client_unittest.js. 15 // extensions/test/data/keep_alive_client_unittest.js.
15 16
16 namespace extensions { 17 namespace extensions {
17 namespace { 18 namespace {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 RunTest("keep_alive_client_unittest.js", "testKeepAliveWithSuccessfulCall"); 90 RunTest("keep_alive_client_unittest.js", "testKeepAliveWithSuccessfulCall");
90 WaitForKeepAlive(); 91 WaitForKeepAlive();
91 } 92 }
92 93
93 TEST_F(KeepAliveClientTest, KeepAliveWithError) { 94 TEST_F(KeepAliveClientTest, KeepAliveWithError) {
94 RunTest("keep_alive_client_unittest.js", "testKeepAliveWithError"); 95 RunTest("keep_alive_client_unittest.js", "testKeepAliveWithError");
95 WaitForKeepAlive(); 96 WaitForKeepAlive();
96 } 97 }
97 98
98 } // namespace extensions 99 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/renderer/messaging_bindings.cc ('k') | extensions/renderer/native_extension_bindings_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698