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

Side by Side Diff: chrome/browser/chromeos/cros/network_constants.h

Issue 13454006: Moving ManagedNetworkConfigurationHandler to chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleaned up parsing of NetworkUIData. Created 7 years, 8 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 #ifndef CHROME_BROWSER_CHROMEOS_CROS_NETWORK_CONSTANTS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_NETWORK_CONSTANTS_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_CONSTANTS_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_CONSTANTS_H_
7 7
8 namespace chromeos { 8 namespace chromeos {
9 9
10 // This enumerates the various property indices that can be found in a 10 // This enumerates the various property indices that can be found in a
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 // We are currently only supporting setting a single EAP phase 2 authentication. 355 // We are currently only supporting setting a single EAP phase 2 authentication.
356 enum EAPPhase2Auth { 356 enum EAPPhase2Auth {
357 EAP_PHASE_2_AUTH_AUTO = 0, 357 EAP_PHASE_2_AUTH_AUTO = 0,
358 EAP_PHASE_2_AUTH_MD5 = 1, 358 EAP_PHASE_2_AUTH_MD5 = 1,
359 EAP_PHASE_2_AUTH_MSCHAPV2 = 2, 359 EAP_PHASE_2_AUTH_MSCHAPV2 = 2,
360 EAP_PHASE_2_AUTH_MSCHAP = 3, 360 EAP_PHASE_2_AUTH_MSCHAP = 3,
361 EAP_PHASE_2_AUTH_PAP = 4, 361 EAP_PHASE_2_AUTH_PAP = 4,
362 EAP_PHASE_2_AUTH_CHAP = 5 362 EAP_PHASE_2_AUTH_CHAP = 5
363 }; 363 };
364 364
365 enum ClientCertType {
366 CLIENT_CERT_TYPE_NONE = 0,
367 CLIENT_CERT_TYPE_REF = 1,
368 CLIENT_CERT_TYPE_PATTERN = 2
369 };
370
371 // Misc enums 365 // Misc enums
372 enum NetworkProfileType { 366 enum NetworkProfileType {
373 PROFILE_NONE, // Not in any profile (not remembered). 367 PROFILE_NONE, // Not in any profile (not remembered).
374 PROFILE_SHARED, // In the local profile, shared by all users on device. 368 PROFILE_SHARED, // In the local profile, shared by all users on device.
375 PROFILE_USER // In the user provile, not visible to other users. 369 PROFILE_USER // In the user provile, not visible to other users.
376 }; 370 };
377 371
378 // Virtual Network provider type. 372 // Virtual Network provider type.
379 enum ProviderType { 373 enum ProviderType {
380 PROVIDER_TYPE_L2TP_IPSEC_PSK, 374 PROVIDER_TYPE_L2TP_IPSEC_PSK,
381 PROVIDER_TYPE_L2TP_IPSEC_USER_CERT, 375 PROVIDER_TYPE_L2TP_IPSEC_USER_CERT,
382 PROVIDER_TYPE_OPEN_VPN, 376 PROVIDER_TYPE_OPEN_VPN,
383 // Add new provider types before PROVIDER_TYPE_MAX. 377 // Add new provider types before PROVIDER_TYPE_MAX.
384 PROVIDER_TYPE_MAX, 378 PROVIDER_TYPE_MAX,
385 }; 379 };
386 380
387 // Proxy type specified in ONC. 381 // Proxy type specified in ONC.
388 enum ProxyOncType { 382 enum ProxyOncType {
389 PROXY_ONC_DIRECT, 383 PROXY_ONC_DIRECT,
390 PROXY_ONC_WPAD, 384 PROXY_ONC_WPAD,
391 PROXY_ONC_PAC, 385 PROXY_ONC_PAC,
392 PROXY_ONC_MANUAL, 386 PROXY_ONC_MANUAL,
393 PROXY_ONC_MAX, 387 PROXY_ONC_MAX,
394 }; 388 };
395 389
396 } // namespace chromeos 390 } // namespace chromeos
397 391
398 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_CONSTANTS_H_ 392 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/certificate_pattern_matcher.cc ('k') | chrome/browser/chromeos/cros/network_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698