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

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

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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/renderer/mojo/stash_client_unittest.cc » ('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 "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" 8 #include "mojo/public/cpp/bindings/strong_binding.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 KeepAlive { 18 class TestKeepAlive : public KeepAlive {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 RunTest("keep_alive_client_unittest.js", "testKeepAliveWithSuccessfulCall"); 87 RunTest("keep_alive_client_unittest.js", "testKeepAliveWithSuccessfulCall");
88 WaitForKeepAlive(); 88 WaitForKeepAlive();
89 } 89 }
90 90
91 TEST_F(KeepAliveClientTest, KeepAliveWithError) { 91 TEST_F(KeepAliveClientTest, KeepAliveWithError) {
92 RunTest("keep_alive_client_unittest.js", "testKeepAliveWithError"); 92 RunTest("keep_alive_client_unittest.js", "testKeepAliveWithError");
93 WaitForKeepAlive(); 93 WaitForKeepAlive();
94 } 94 }
95 95
96 } // namespace extensions 96 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | extensions/renderer/mojo/stash_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698