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

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

Issue 1551503002: Convert Pass()→std::move() in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 <limits.h> 7 #include <limits.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 handlers->AddHandler( 814 handlers->AddHandler(
815 make_scoped_ptr(new ExternalDataPolicyHandler(key::kWallpaperImage))); 815 make_scoped_ptr(new ExternalDataPolicyHandler(key::kWallpaperImage)));
816 handlers->AddHandler(make_scoped_ptr(new SimpleSchemaValidatingPolicyHandler( 816 handlers->AddHandler(make_scoped_ptr(new SimpleSchemaValidatingPolicyHandler(
817 key::kSessionLocales, NULL, chrome_schema, SCHEMA_STRICT, 817 key::kSessionLocales, NULL, chrome_schema, SCHEMA_STRICT,
818 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, 818 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED,
819 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 819 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
820 handlers->AddHandler(make_scoped_ptr( 820 handlers->AddHandler(make_scoped_ptr(
821 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); 821 new chromeos::KeyPermissionsPolicyHandler(chrome_schema)));
822 #endif // defined(OS_CHROMEOS) 822 #endif // defined(OS_CHROMEOS)
823 823
824 return handlers.Pass(); 824 return handlers;
825 } 825 }
826 826
827 } // namespace policy 827 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698