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

Unified Diff: remoting/host/setup/pin_validator.cc

Issue 11090063: [Chromoting] Add a simple Windows app that registers and starts a host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix non-standard resource header file. Created 8 years, 2 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
« no previous file with comments | « remoting/host/setup/pin_validator.h ('k') | remoting/host/setup/win/host_configurer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/setup/pin_validator.cc
diff --git a/remoting/host/setup/pin_validator.cc b/remoting/host/setup/pin_validator.cc
index f3052d09caa716289ba4f7c1dd413e94d9b3919c..ce753a4a50ab9c4fecc65b57cb34360039c2261e 100644
--- a/remoting/host/setup/pin_validator.cc
+++ b/remoting/host/setup/pin_validator.cc
@@ -1,22 +1,20 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "remoting/host/setup/pin_validator.h"
-
-namespace remoting {
-
-bool IsPinValid(const std::string& pin) {
- if (pin.length() < 6) {
- return false;
- }
- for (size_t i = 0; i < pin.length(); i++) {
- char c = pin[i];
- if (c < '0' || c > '9') {
- return false;
- }
- }
- return true;
-}
-
-} // namespace remoting
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "remoting/host/setup/pin_validator.h"
+
+namespace remoting {
+
+bool IsPinValid(const std::string& pin) {
+ if (pin.length() < 6)
+ return false;
+ for (size_t i = 0; i < pin.length(); i++) {
+ char c = pin[i];
+ if (c < '0' || c > '9')
+ return false;
+ }
+ return true;
+}
+
+} // namespace remoting
« no previous file with comments | « remoting/host/setup/pin_validator.h ('k') | remoting/host/setup/win/host_configurer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698