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

Side by Side Diff: chrome/browser/extensions/api/serial/serial_connection_posix.cc

Issue 100253002: Don't HANDLE_EINTR(close). Either IGNORE_EINTR(close) or just close. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/posix/eintr_wrapper.h"
6 #include "chrome/browser/extensions/api/serial/serial_connection.h" 5 #include "chrome/browser/extensions/api/serial/serial_connection.h"
7 6
8 #include <sys/ioctl.h> 7 #include <sys/ioctl.h>
9 #include <termios.h> 8 #include <termios.h>
10 9
11 #if defined(OS_LINUX) 10 #if defined(OS_LINUX)
12 #include <linux/serial.h> 11 #include <linux/serial.h>
13 #endif 12 #endif
14 13
15 namespace extensions { 14 namespace extensions {
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 info->cts_flow_control.reset(new bool((config.c_cflag & CRTSCTS) != 0)); 267 info->cts_flow_control.reset(new bool((config.c_cflag & CRTSCTS) != 0));
269 return true; 268 return true;
270 } 269 }
271 270
272 std::string SerialConnection::MaybeFixUpPortName( 271 std::string SerialConnection::MaybeFixUpPortName(
273 const std::string &port_name) { 272 const std::string &port_name) {
274 return port_name; 273 return port_name;
275 } 274 }
276 275
277 } // namespace extensions 276 } // namespace extensions
OLDNEW
« no previous file with comments | « base/test/multiprocess_test_android.cc ('k') | chrome/browser/process_info_snapshot_mac_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698