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

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

Issue 490123003: Move bookmark_pref_names.* into bookmarks namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 6 years, 3 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 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/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 { key::kTranslateEnabled, 281 { key::kTranslateEnabled,
282 prefs::kEnableTranslate, 282 prefs::kEnableTranslate,
283 base::Value::TYPE_BOOLEAN }, 283 base::Value::TYPE_BOOLEAN },
284 { key::kAllowOutdatedPlugins, 284 { key::kAllowOutdatedPlugins,
285 prefs::kPluginsAllowOutdated, 285 prefs::kPluginsAllowOutdated,
286 base::Value::TYPE_BOOLEAN }, 286 base::Value::TYPE_BOOLEAN },
287 { key::kAlwaysAuthorizePlugins, 287 { key::kAlwaysAuthorizePlugins,
288 prefs::kPluginsAlwaysAuthorize, 288 prefs::kPluginsAlwaysAuthorize,
289 base::Value::TYPE_BOOLEAN }, 289 base::Value::TYPE_BOOLEAN },
290 { key::kBookmarkBarEnabled, 290 { key::kBookmarkBarEnabled,
291 prefs::kShowBookmarkBar, 291 bookmarks::prefs::kShowBookmarkBar,
292 base::Value::TYPE_BOOLEAN }, 292 base::Value::TYPE_BOOLEAN },
293 { key::kEditBookmarksEnabled, 293 { key::kEditBookmarksEnabled,
294 prefs::kEditBookmarksEnabled, 294 bookmarks::prefs::kEditBookmarksEnabled,
295 base::Value::TYPE_BOOLEAN }, 295 base::Value::TYPE_BOOLEAN },
296 { key::kShowAppsShortcutInBookmarkBar, 296 { key::kShowAppsShortcutInBookmarkBar,
297 prefs::kShowAppsShortcutInBookmarkBar, 297 bookmarks::prefs::kShowAppsShortcutInBookmarkBar,
298 base::Value::TYPE_BOOLEAN }, 298 base::Value::TYPE_BOOLEAN },
299 { key::kAllowFileSelectionDialogs, 299 { key::kAllowFileSelectionDialogs,
300 prefs::kAllowFileSelectionDialogs, 300 prefs::kAllowFileSelectionDialogs,
301 base::Value::TYPE_BOOLEAN }, 301 base::Value::TYPE_BOOLEAN },
302 { key::kImportBookmarks, 302 { key::kImportBookmarks,
303 prefs::kImportBookmarks, 303 prefs::kImportBookmarks,
304 base::Value::TYPE_BOOLEAN }, 304 base::Value::TYPE_BOOLEAN },
305 { key::kImportHistory, 305 { key::kImportHistory,
306 prefs::kImportHistory, 306 prefs::kImportHistory,
307 base::Value::TYPE_BOOLEAN }, 307 base::Value::TYPE_BOOLEAN },
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 chrome_schema, 789 chrome_schema,
790 SCHEMA_STRICT, 790 SCHEMA_STRICT,
791 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, 791 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED,
792 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 792 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
793 #endif // defined(OS_CHROMEOS) 793 #endif // defined(OS_CHROMEOS)
794 794
795 return handlers.Pass(); 795 return handlers.Pass();
796 } 796 }
797 797
798 } // namespace policy 798 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/importer/profile_writer.cc ('k') | chrome/browser/policy/managed_bookmarks_policy_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698