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

Side by Side Diff: extensions/browser/api/webcam_private/visca_webcam_unittest.cc

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
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 "content/public/test/test_browser_thread_bundle.h" 8 #include "content/public/test/test_browser_thread_bundle.h"
8 #include "extensions/browser/api/webcam_private/visca_webcam.h" 9 #include "extensions/browser/api/webcam_private/visca_webcam.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 11
11 namespace extensions { 12 namespace extensions {
12 13
13 namespace { 14 namespace {
14 15
15 class TestSerialConnection : public SerialConnection { 16 class TestSerialConnection : public SerialConnection {
16 public: 17 public:
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 base::Bind(&SetPTZExpectations::OnCallback, 132 base::Bind(&SetPTZExpectations::OnCallback,
132 base::Owned(new SetPTZExpectations(true))); 133 base::Owned(new SetPTZExpectations(true)));
133 serial_connection()->SetReceiveBuffer( 134 serial_connection()->SetReceiveBuffer(
134 CHAR_VECTOR_FROM_ARRAY(kSetZoomResponse)); 135 CHAR_VECTOR_FROM_ARRAY(kSetZoomResponse));
135 webcam()->SetZoom(0x6253, send_callback); 136 webcam()->SetZoom(0x6253, send_callback);
136 serial_connection()->CheckSendBufferAndClear( 137 serial_connection()->CheckSendBufferAndClear(
137 CHAR_VECTOR_FROM_ARRAY(kSetZoomCommand)); 138 CHAR_VECTOR_FROM_ARRAY(kSetZoomCommand));
138 } 139 }
139 140
140 } // namespace extensions 141 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/api/webcam_private/visca_webcam.cc ('k') | extensions/browser/api/webcam_private/webcam_private_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698