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

Side by Side Diff: extensions/renderer/api/serial/data_receiver_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 <stdint.h>
6
5 #include <queue> 7 #include <queue>
6 #include <utility> 8 #include <utility>
7 9
10 #include "base/macros.h"
8 #include "device/serial/data_source_sender.h" 11 #include "device/serial/data_source_sender.h"
9 #include "device/serial/data_stream.mojom.h" 12 #include "device/serial/data_stream.mojom.h"
10 #include "extensions/renderer/api_test_base.h" 13 #include "extensions/renderer/api_test_base.h"
11 #include "gin/dictionary.h" 14 #include "gin/dictionary.h"
12 #include "gin/wrappable.h" 15 #include "gin/wrappable.h"
13 #include "grit/extensions_renderer_resources.h" 16 #include "grit/extensions_renderer_resources.h"
14 17
15 namespace extensions { 18 namespace extensions {
16 19
17 class DataReceiverFactory : public gin::Wrappable<DataReceiverFactory> { 20 class DataReceiverFactory : public gin::Wrappable<DataReceiverFactory> {
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 data_to_send_.push("a"); 174 data_to_send_.push("a");
172 RunTest("data_receiver_unittest.js", "testSerializeDuringReceive"); 175 RunTest("data_receiver_unittest.js", "testSerializeDuringReceive");
173 } 176 }
174 177
175 TEST_F(DataReceiverTest, SerializeAfterClose) { 178 TEST_F(DataReceiverTest, SerializeAfterClose) {
176 data_to_send_.push("a"); 179 data_to_send_.push("a");
177 RunTest("data_receiver_unittest.js", "testSerializeAfterClose"); 180 RunTest("data_receiver_unittest.js", "testSerializeAfterClose");
178 } 181 }
179 182
180 } // namespace extensions 183 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/renderer/api/mojo_private/mojo_private_unittest.cc ('k') | extensions/renderer/api/serial/data_sender_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698