Allow Chrome OS login profile to have different default pref values

This CL is a prerequisite for putting Chrome in charge of all power
management settings. Since the power management defaults on the login
screen differ from those during a user session, the default values of
the power prefs should be set differently for the login profile.

This CL has no functional changes. It just does the following:

1/ Split chrome::RegisterUserPrefs() into:
 * chrome::RegisterUserProfilePrefs()
 * chrome::RegisterLoginProfilePrefs()

2/ Rename all other RegisterUserPrefs() methods to RegisterProfilePrefs().

BUG=241794
TEST=Updated unit and browser tests

[email protected] (blanket rename of RegisterUserPrefs() in chrome/)
[email protected] (blanket rename of RegisterUserPrefs() in apps/)
[email protected] (blanket rename of RegisterUserPrefs() in components/)

Review URL: https://chromiumcodereview.appspot.com/18199003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210310 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index 5ee917f..145804e0 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -560,7 +560,7 @@
   testing_prefs_ = new TestingPrefServiceSyncable();
   prefs_.reset(testing_prefs_);
   user_prefs::UserPrefs::Set(this, prefs_.get());
-  chrome::RegisterUserPrefs(testing_prefs_->registry());
+  chrome::RegisterUserProfilePrefs(testing_prefs_->registry());
 }
 
 void TestingProfile::CreateProfilePolicyConnector() {