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

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

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: Created 5 years 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 "extensions/common/mojo/keep_alive.mojom.h" 8 #include "extensions/common/mojo/keep_alive.mojom.h"
8 #include "extensions/renderer/api_test_base.h" 9 #include "extensions/renderer/api_test_base.h"
9 #include "grit/extensions_renderer_resources.h" 10 #include "grit/extensions_renderer_resources.h"
10 #include "mojo/public/cpp/bindings/strong_binding.h" 11 #include "mojo/public/cpp/bindings/strong_binding.h"
11 12
12 // A test launcher for tests for the stash client defined in 13 // A test launcher for tests for the stash client defined in
13 // extensions/test/data/keep_alive_client_unittest.js. 14 // extensions/test/data/keep_alive_client_unittest.js.
14 15
15 namespace extensions { 16 namespace extensions {
16 namespace { 17 namespace {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 RunTest("keep_alive_client_unittest.js", "testKeepAliveWithSuccessfulCall"); 91 RunTest("keep_alive_client_unittest.js", "testKeepAliveWithSuccessfulCall");
91 WaitForKeepAlive(); 92 WaitForKeepAlive();
92 } 93 }
93 94
94 TEST_F(KeepAliveClientTest, KeepAliveWithError) { 95 TEST_F(KeepAliveClientTest, KeepAliveWithError) {
95 RunTest("keep_alive_client_unittest.js", "testKeepAliveWithError"); 96 RunTest("keep_alive_client_unittest.js", "testKeepAliveWithError");
96 WaitForKeepAlive(); 97 WaitForKeepAlive();
97 } 98 }
98 99
99 } // namespace extensions 100 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/renderer/module_system_unittest.cc ('k') | extensions/renderer/mojo/stash_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698