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
3 // found in the LICENSE file.
5 #include "remoting/host/setup/pin_validator.h"
9 bool IsPinValid(const std::string
& pin
) {
12 for (size_t i
= 0; i
< pin
.length(); i
++) {
14 if (c
< '0' || c
> '9')
20 } // namespace remoting