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

Unified Diff: trunk/src/chrome/browser/extensions/api/serial/serial_connection.cc

Issue 198163004: Revert 257524 "Move IsStringASCII/UTF8 to base namespace." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: trunk/src/chrome/browser/extensions/api/serial/serial_connection.cc
===================================================================
--- trunk/src/chrome/browser/extensions/api/serial/serial_connection.cc (revision 257532)
+++ trunk/src/chrome/browser/extensions/api/serial/serial_connection.cc (working copy)
@@ -168,7 +168,7 @@
// It's the responsibility of the API wrapper around SerialConnection to
// validate the supplied path against the set of valid port names, and
// it is a reasonable assumption that serial port names are ASCII.
- DCHECK(base::IsStringASCII(port_));
+ DCHECK(IsStringASCII(port_));
base::FilePath path(
base::FilePath::FromUTF8Unsafe(MaybeFixUpPortName(port_)));
int flags = base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ |

Powered by Google App Engine
This is Rietveld 408576698