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

Side by Side Diff: extensions/browser/api/webcam_private/visca_webcam.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 "extensions/browser/api/webcam_private/visca_webcam.h" 5 #include "extensions/browser/api/webcam_private/visca_webcam.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/macros.h"
8 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
9 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
10 14
11 using content::BrowserThread; 15 using content::BrowserThread;
12 16
13 namespace { 17 namespace {
14 18
15 // Message terminator: 19 // Message terminator:
16 const char kViscaTerminator = 0xFF; 20 const char kViscaTerminator = 0xFF;
17 21
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 void ViscaWebcam::OpenForTesting( 490 void ViscaWebcam::OpenForTesting(
487 scoped_ptr<SerialConnection> serial_connection) { 491 scoped_ptr<SerialConnection> serial_connection) {
488 serial_connection_ = serial_connection.Pass(); 492 serial_connection_ = serial_connection.Pass();
489 } 493 }
490 494
491 SerialConnection* ViscaWebcam::GetSerialConnectionForTesting() { 495 SerialConnection* ViscaWebcam::GetSerialConnectionForTesting() {
492 return serial_connection_.get(); 496 return serial_connection_.get();
493 } 497 }
494 498
495 } // namespace extensions 499 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/api/webcam_private/visca_webcam.h ('k') | extensions/browser/api/webcam_private/visca_webcam_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698