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

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

Issue 110643005: Refactored the URLBlacklistManager to avoid chrome/ and content/ dependencies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_factory.h" 5 #include "chrome/browser/policy/configuration_policy_handler_list_factory.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/extensions/policy_handlers.h" 10 #include "chrome/browser/extensions/policy_handlers.h"
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 { key::kImportSearchEngine, 296 { key::kImportSearchEngine,
297 prefs::kImportSearchEngine, 297 prefs::kImportSearchEngine,
298 Value::TYPE_BOOLEAN }, 298 Value::TYPE_BOOLEAN },
299 { key::kImportSavedPasswords, 299 { key::kImportSavedPasswords,
300 prefs::kImportSavedPasswords, 300 prefs::kImportSavedPasswords,
301 Value::TYPE_BOOLEAN }, 301 Value::TYPE_BOOLEAN },
302 { key::kMaxConnectionsPerProxy, 302 { key::kMaxConnectionsPerProxy,
303 prefs::kMaxConnectionsPerProxy, 303 prefs::kMaxConnectionsPerProxy,
304 Value::TYPE_INTEGER }, 304 Value::TYPE_INTEGER },
305 { key::kURLWhitelist, 305 { key::kURLWhitelist,
306 prefs::kUrlWhitelist, 306 policy_prefs::kUrlWhitelist,
307 Value::TYPE_LIST }, 307 Value::TYPE_LIST },
308 { key::kEnableMemoryInfo, 308 { key::kEnableMemoryInfo,
309 prefs::kEnableMemoryInfo, 309 prefs::kEnableMemoryInfo,
310 Value::TYPE_BOOLEAN }, 310 Value::TYPE_BOOLEAN },
311 { key::kRestrictSigninToPattern, 311 { key::kRestrictSigninToPattern,
312 prefs::kGoogleServicesUsernamePattern, 312 prefs::kGoogleServicesUsernamePattern,
313 Value::TYPE_STRING }, 313 Value::TYPE_STRING },
314 { key::kDefaultMediaStreamSetting, 314 { key::kDefaultMediaStreamSetting,
315 prefs::kManagedDefaultMediaStreamSetting, 315 prefs::kManagedDefaultMediaStreamSetting,
316 Value::TYPE_INTEGER }, 316 Value::TYPE_INTEGER },
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 649
650 #if defined(OS_ANDROID) 650 #if defined(OS_ANDROID)
651 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( 651 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>(
652 new ManagedBookmarksPolicyHandler())); 652 new ManagedBookmarksPolicyHandler()));
653 #endif 653 #endif
654 return handlers.Pass(); 654 return handlers.Pass();
655 } 655 }
656 #endif // !defined(OS_IOS) 656 #endif // !defined(OS_IOS)
657 657
658 } // namespace policy 658 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/managed_mode/managed_mode_url_filter.cc ('k') | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698