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

Side by Side Diff: extensions/renderer/mojo/keep_alive_client_unittest.cc

Issue 846443006: Include Mojo SDK/EDK via fully-qualified paths in Chromium code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix include to satisfy checkdeps Created 5 years, 11 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
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | extensions/test/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "extensions/common/mojo/keep_alive.mojom.h" 5 #include "extensions/common/mojo/keep_alive.mojom.h"
6 #include "extensions/renderer/api_test_base.h" 6 #include "extensions/renderer/api_test_base.h"
7 #include "grit/extensions_renderer_resources.h" 7 #include "grit/extensions_renderer_resources.h"
8 #include "mojo/public/cpp/bindings/interface_impl.h" 8 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_impl.h"
9 9
10 // A test launcher for tests for the stash client defined in 10 // A test launcher for tests for the stash client defined in
11 // extensions/test/data/keep_alive_client_unittest.js. 11 // extensions/test/data/keep_alive_client_unittest.js.
12 12
13 namespace extensions { 13 namespace extensions {
14 namespace { 14 namespace {
15 15
16 // A KeepAlive implementation that calls provided callbacks on creation and 16 // A KeepAlive implementation that calls provided callbacks on creation and
17 // destruction. 17 // destruction.
18 class TestKeepAlive : public mojo::InterfaceImpl<KeepAlive> { 18 class TestKeepAlive : public mojo::InterfaceImpl<KeepAlive> {
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 RunTest("keep_alive_client_unittest.js", "testKeepAliveWithSuccessfulCall"); 85 RunTest("keep_alive_client_unittest.js", "testKeepAliveWithSuccessfulCall");
86 WaitForKeepAlive(); 86 WaitForKeepAlive();
87 } 87 }
88 88
89 TEST_F(KeepAliveClientTest, KeepAliveWithError) { 89 TEST_F(KeepAliveClientTest, KeepAliveWithError) {
90 RunTest("keep_alive_client_unittest.js", "testKeepAliveWithError"); 90 RunTest("keep_alive_client_unittest.js", "testKeepAliveWithError");
91 WaitForKeepAlive(); 91 WaitForKeepAlive();
92 } 92 }
93 93
94 } // namespace extensions 94 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | extensions/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698