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

Side by Side Diff: extensions/renderer/mojo/stash_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 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <vector> 5 #include <vector>
6 6
7 #include "base/macros.h"
7 #include "extensions/browser/mojo/stash_backend.h" 8 #include "extensions/browser/mojo/stash_backend.h"
8 #include "extensions/common/mojo/stash.mojom.h" 9 #include "extensions/common/mojo/stash.mojom.h"
9 #include "extensions/renderer/api_test_base.h" 10 #include "extensions/renderer/api_test_base.h"
10 #include "gin/dictionary.h" 11 #include "gin/dictionary.h"
11 #include "grit/extensions_renderer_resources.h" 12 #include "grit/extensions_renderer_resources.h"
12 #include "mojo/public/cpp/bindings/lib/message_builder.h" 13 #include "mojo/public/cpp/bindings/lib/message_builder.h"
13 14
14 // A test launcher for tests for the stash client defined in 15 // A test launcher for tests for the stash client defined in
15 // extensions/test/data/stash_client_unittest.js. 16 // extensions/test/data/stash_client_unittest.js.
16 17
(...skipping 22 matching lines...) Expand all
39 // Test that stashing and restoring work correctly. 40 // Test that stashing and restoring work correctly.
40 TEST_F(StashClientTest, StashAndRestore) { 41 TEST_F(StashClientTest, StashAndRestore) {
41 ASSERT_NO_FATAL_FAILURE(RunTest("stash_client_unittest.js", "testStash")); 42 ASSERT_NO_FATAL_FAILURE(RunTest("stash_client_unittest.js", "testStash"));
42 scoped_ptr<ModuleSystemTestEnvironment> restore_test_env(CreateEnvironment()); 43 scoped_ptr<ModuleSystemTestEnvironment> restore_test_env(CreateEnvironment());
43 ApiTestEnvironment restore_environment(restore_test_env.get()); 44 ApiTestEnvironment restore_environment(restore_test_env.get());
44 PrepareEnvironment(&restore_environment); 45 PrepareEnvironment(&restore_environment);
45 restore_environment.RunTest("stash_client_unittest.js", "testRetrieve"); 46 restore_environment.RunTest("stash_client_unittest.js", "testRetrieve");
46 } 47 }
47 48
48 } // namespace extensions 49 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/renderer/mojo/keep_alive_client_unittest.cc ('k') | extensions/renderer/native_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698