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

Side by Side Diff: chrome/browser/chromeos/cros/onc_network_parser.cc

Issue 9465030: Break two classes defined in json_value_serializer.cc, .h into separate files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
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/cros/onc_network_parser.h" 5 #include "chrome/browser/chromeos/cros/onc_network_parser.h"
6 6
7 #include <keyhi.h> 7 #include <keyhi.h>
8 #include <pk11pub.h> 8 #include <pk11pub.h>
9 9
10 #include "base/base64.h" 10 #include "base/base64.h"
11 #include "base/json/json_value_serializer.h" 11 #include "base/json/json_string_value_serializer.h"
12 #include "chrome/browser/chromeos/login/user_manager.h" 12 #include "chrome/browser/chromeos/login/user_manager.h"
13 #include "base/json/json_writer.h" // for debug output only. 13 #include "base/json/json_writer.h" // for debug output only.
14 #include "base/stringprintf.h" 14 #include "base/stringprintf.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "chrome/browser/chromeos/cros/certificate_pattern.h" 16 #include "chrome/browser/chromeos/cros/certificate_pattern.h"
17 #include "chrome/browser/chromeos/cros/native_network_constants.h" 17 #include "chrome/browser/chromeos/cros/native_network_constants.h"
18 #include "chrome/browser/chromeos/cros/native_network_parser.h" 18 #include "chrome/browser/chromeos/cros/native_network_parser.h"
19 #include "chrome/browser/chromeos/cros/network_library.h" 19 #include "chrome/browser/chromeos/cros/network_library.h"
20 #include "chrome/browser/chromeos/cros/onc_constants.h" 20 #include "chrome/browser/chromeos/cros/onc_constants.h"
21 #include "chrome/browser/chromeos/proxy_config_service_impl.h" 21 #include "chrome/browser/chromeos/proxy_config_service_impl.h"
(...skipping 1943 matching lines...) Expand 10 before | Expand all | Expand 10 after
1965 // on the value of AuthenticationType. 1965 // on the value of AuthenticationType.
1966 { "L2TP-IPsec", PROVIDER_TYPE_L2TP_IPSEC_PSK }, 1966 { "L2TP-IPsec", PROVIDER_TYPE_L2TP_IPSEC_PSK },
1967 { "OpenVPN", PROVIDER_TYPE_OPEN_VPN }, 1967 { "OpenVPN", PROVIDER_TYPE_OPEN_VPN },
1968 }; 1968 };
1969 CR_DEFINE_STATIC_LOCAL(EnumMapper<ProviderType>, parser, 1969 CR_DEFINE_STATIC_LOCAL(EnumMapper<ProviderType>, parser,
1970 (table, arraysize(table), PROVIDER_TYPE_MAX)); 1970 (table, arraysize(table), PROVIDER_TYPE_MAX));
1971 return parser.Get(type); 1971 return parser.Get(type);
1972 } 1972 }
1973 1973
1974 } // namespace chromeos 1974 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_storage.cc ('k') | chrome/browser/chromeos/cros/onc_network_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698