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

Side by Side Diff: chrome/browser/policy/configuration_policy_handler_list.cc

Issue 13132004: Implement Enterprise Key API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename to chrome.enterprise.platformKeysPrivate.* 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
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/policy/configuration_policy_handler_list.h" 5 #include "chrome/browser/policy/configuration_policy_handler_list.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/prefs/pref_value_map.h" 9 #include "base/prefs/pref_value_map.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 Value::TYPE_BOOLEAN }, 367 Value::TYPE_BOOLEAN },
368 { key::kTermsOfServiceURL, 368 { key::kTermsOfServiceURL,
369 prefs::kTermsOfServiceURL, 369 prefs::kTermsOfServiceURL,
370 Value::TYPE_STRING }, 370 Value::TYPE_STRING },
371 { key::kShowAccessibilityOptionsInSystemTrayMenu, 371 { key::kShowAccessibilityOptionsInSystemTrayMenu,
372 prefs::kShouldAlwaysShowAccessibilityMenu, 372 prefs::kShouldAlwaysShowAccessibilityMenu,
373 Value::TYPE_BOOLEAN }, 373 Value::TYPE_BOOLEAN },
374 { key::kRebootAfterUpdate, 374 { key::kRebootAfterUpdate,
375 prefs::kRebootAfterUpdate, 375 prefs::kRebootAfterUpdate,
376 Value::TYPE_BOOLEAN }, 376 Value::TYPE_BOOLEAN },
377 { key::kAttestationEnabledForUser,
378 prefs::kAttestationEnabled,
379 Value::TYPE_BOOLEAN },
380 { key::kAttestationExtensionWhitelist,
381 prefs::kAttestationExtensionWhitelist,
382 Value::TYPE_LIST },
Mattias Nissler (ping if slow) 2013/04/16 15:50:26 I had asked in a previous comment whether you can
davidyu 2013/04/17 05:39:15 Done.
377 #endif // defined(OS_CHROMEOS) 383 #endif // defined(OS_CHROMEOS)
378 384
379 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) 385 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS)
380 { key::kBackgroundModeEnabled, 386 { key::kBackgroundModeEnabled,
381 prefs::kBackgroundModeEnabled, 387 prefs::kBackgroundModeEnabled,
382 Value::TYPE_BOOLEAN }, 388 Value::TYPE_BOOLEAN },
383 #endif // !defined(OS_MACOSX) && !defined(OS_CHROMEOS) 389 #endif // !defined(OS_MACOSX) && !defined(OS_CHROMEOS)
384 }; 390 };
385 391
386 // Mapping from extension type names to Manifest::Type. 392 // Mapping from extension type names to Manifest::Type.
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 } 547 }
542 548
543 void ConfigurationPolicyHandlerList::PrepareForDisplaying( 549 void ConfigurationPolicyHandlerList::PrepareForDisplaying(
544 PolicyMap* policies) const { 550 PolicyMap* policies) const {
545 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; 551 std::vector<ConfigurationPolicyHandler*>::const_iterator handler;
546 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) 552 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler)
547 (*handler)->PrepareForDisplaying(policies); 553 (*handler)->PrepareForDisplaying(policies);
548 } 554 }
549 555
550 } // namespace policy 556 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698