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

Side by Side Diff: chromeos/network/onc/onc_validator.cc

Issue 947173002: Remove duplicate includes from chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 (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 "chromeos/network/onc/onc_validator.h" 5 #include "chromeos/network/onc/onc_validator.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string>
9 8
10 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
11 #include "base/logging.h" 10 #include "base/logging.h"
12 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
13 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
14 #include "base/values.h" 13 #include "base/values.h"
15 #include "chromeos/network/onc/onc_signature.h" 14 #include "chromeos/network/onc/onc_signature.h"
16 #include "components/onc/onc_constants.h"
17 15
18 namespace chromeos { 16 namespace chromeos {
19 namespace onc { 17 namespace onc {
20 18
21 namespace { 19 namespace {
22 20
23 // According to the IEEE 802.11 standard the SSID is a series of 0 to 32 octets. 21 // According to the IEEE 802.11 standard the SSID is a series of 0 to 32 octets.
24 const int kMaximumSSIDLengthInBytes = 32; 22 const int kMaximumSSIDLengthInBytes = 32;
25 23
26 template <typename T, size_t N> 24 template <typename T, size_t N>
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 } 934 }
937 935
938 std::string Validator::MessageHeader() { 936 std::string Validator::MessageHeader() {
939 std::string path = path_.empty() ? "toplevel" : JoinString(path_, "."); 937 std::string path = path_.empty() ? "toplevel" : JoinString(path_, ".");
940 std::string message = "At " + path + ": "; 938 std::string message = "At " + path + ": ";
941 return message; 939 return message;
942 } 940 }
943 941
944 } // namespace onc 942 } // namespace onc
945 } // namespace chromeos 943 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/onc/onc_certificate_importer_impl.cc ('k') | chromeos/network/policy_applicator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698