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

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

Issue 10827102: Delete dead AppsPromo code (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: . Created 8 years, 4 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/policy/configuration_policy_handler_list.h" 5 #include "chrome/browser/policy/configuration_policy_handler_list.h"
6 6
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/browser/policy/configuration_policy_handler.h" 9 #include "chrome/browser/policy/configuration_policy_handler.h"
10 #include "chrome/browser/policy/policy_error_map.h" 10 #include "chrome/browser/policy/policy_error_map.h"
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 Value::TYPE_BOOLEAN }, 254 Value::TYPE_BOOLEAN },
255 { key::kImportSearchEngine, 255 { key::kImportSearchEngine,
256 prefs::kImportSearchEngine, 256 prefs::kImportSearchEngine,
257 Value::TYPE_BOOLEAN }, 257 Value::TYPE_BOOLEAN },
258 { key::kImportSavedPasswords, 258 { key::kImportSavedPasswords,
259 prefs::kImportSavedPasswords, 259 prefs::kImportSavedPasswords,
260 Value::TYPE_BOOLEAN }, 260 Value::TYPE_BOOLEAN },
261 { key::kMaxConnectionsPerProxy, 261 { key::kMaxConnectionsPerProxy,
262 prefs::kMaxConnectionsPerProxy, 262 prefs::kMaxConnectionsPerProxy,
263 Value::TYPE_INTEGER }, 263 Value::TYPE_INTEGER },
264 { key::kHideWebStorePromo,
265 prefs::kNtpHideWebStorePromo,
266 Value::TYPE_BOOLEAN },
267 { key::kURLBlacklist, 264 { key::kURLBlacklist,
268 prefs::kUrlBlacklist, 265 prefs::kUrlBlacklist,
269 Value::TYPE_LIST }, 266 Value::TYPE_LIST },
270 { key::kURLWhitelist, 267 { key::kURLWhitelist,
271 prefs::kUrlWhitelist, 268 prefs::kUrlWhitelist,
272 Value::TYPE_LIST }, 269 Value::TYPE_LIST },
273 { key::kEnterpriseWebStoreURL, 270 { key::kEnterpriseWebStoreURL,
274 prefs::kEnterpriseWebStoreURL, 271 prefs::kEnterpriseWebStoreURL,
275 Value::TYPE_STRING }, 272 Value::TYPE_STRING },
276 { key::kEnterpriseWebStoreName, 273 { key::kEnterpriseWebStoreName,
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 } 383 }
387 384
388 void ConfigurationPolicyHandlerList::PrepareForDisplaying( 385 void ConfigurationPolicyHandlerList::PrepareForDisplaying(
389 PolicyMap* policies) const { 386 PolicyMap* policies) const {
390 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; 387 std::vector<ConfigurationPolicyHandler*>::const_iterator handler;
391 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) 388 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler)
392 (*handler)->PrepareForDisplaying(policies); 389 (*handler)->PrepareForDisplaying(policies);
393 } 390 }
394 391
395 } // namespace policy 392 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698