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

Side by Side Diff: components/test_runner/mock_web_midi_accessor.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 "components/test_runner/mock_web_midi_accessor.h" 5 #include "components/test_runner/mock_web_midi_accessor.h"
6 6
7 #include "base/macros.h"
7 #include "components/test_runner/test_interfaces.h" 8 #include "components/test_runner/test_interfaces.h"
8 #include "components/test_runner/test_runner.h" 9 #include "components/test_runner/test_runner.h"
9 #include "components/test_runner/web_test_delegate.h" 10 #include "components/test_runner/web_test_delegate.h"
10 #include "components/test_runner/web_test_runner.h" 11 #include "components/test_runner/web_test_runner.h"
11 #include "third_party/WebKit/public/platform/WebMIDIAccessorClient.h" 12 #include "third_party/WebKit/public/platform/WebMIDIAccessorClient.h"
12 13
13 namespace test_runner { 14 namespace test_runner {
14 15
15 namespace { 16 namespace {
16 17
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 65
65 void MockWebMIDIAccessor::sendMIDIData(unsigned port_index, 66 void MockWebMIDIAccessor::sendMIDIData(unsigned port_index,
66 const unsigned char* data, 67 const unsigned char* data,
67 size_t length, 68 size_t length,
68 double timestamp) { 69 double timestamp) {
69 // Emulate a loopback device for testing. 70 // Emulate a loopback device for testing.
70 client_->didReceiveMIDIData(port_index, data, length, timestamp); 71 client_->didReceiveMIDIData(port_index, data, length, timestamp);
71 } 72 }
72 73
73 } // namespace test_runner 74 } // namespace test_runner
OLDNEW
« no previous file with comments | « components/test_runner/mock_web_midi_accessor.h ('k') | components/test_runner/mock_web_speech_recognizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698