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

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

Issue 11299236: This moves the ONC parsing code into chromeos/network/onc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unit tests Created 8 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
« no previous file with comments | « chromeos/network/onc/onc_signature.h ('k') | chromeos/network/onc/onc_test_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/browser/chromeos/network_settings/onc_signature.h" 5 #include "chromeos/network/onc/onc_signature.h"
6 6
7 #include "chrome/browser/chromeos/cros/onc_constants.h" 7 #include "chromeos/network/onc/onc_constants.h"
8 #include "third_party/cros_system_api/dbus/service_constants.h" 8 #include "third_party/cros_system_api/dbus/service_constants.h"
9 9
10 using base::Value; 10 using base::Value;
11 11
12 namespace chromeos { 12 namespace chromeos {
13 namespace onc { 13 namespace onc {
14 namespace { 14 namespace {
15 15
16 const OncValueSignature kBoolSignature = { 16 const OncValueSignature kBoolSignature = {
17 Value::TYPE_BOOLEAN, NULL 17 Value::TYPE_BOOLEAN, NULL
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 for (const OncFieldSignature* field_signature = signature.fields; 304 for (const OncFieldSignature* field_signature = signature.fields;
305 field_signature->onc_field_name != NULL; ++field_signature) { 305 field_signature->onc_field_name != NULL; ++field_signature) {
306 if (onc_field_name == field_signature->onc_field_name) 306 if (onc_field_name == field_signature->onc_field_name)
307 return field_signature; 307 return field_signature;
308 } 308 }
309 return NULL; 309 return NULL;
310 } 310 }
311 311
312 } // namespace onc 312 } // namespace onc
313 } // namespace chromeos 313 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/onc/onc_signature.h ('k') | chromeos/network/onc/onc_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698