summaryrefslogtreecommitdiffstats
path: root/chrome/test/testing_profile.h
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-16 04:27:46 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-16 04:27:46 +0000
commit45b6ccca5839076449c44e927fd09a713fea7de6 (patch)
tree8c3559ae8ee7ff11902282af1e013269a20998c3 /chrome/test/testing_profile.h
parent5b899a41e7c2b43f44f7b09e91ae507115571c86 (diff)
downloadchromium_src-45b6ccca5839076449c44e927fd09a713fea7de6.zip
chromium_src-45b6ccca5839076449c44e927fd09a713fea7de6.tar.gz
chromium_src-45b6ccca5839076449c44e927fd09a713fea7de6.tar.bz2
Fix a bug that caused Chrome OS system preferences not to work in the guest mode.
Before this change, we were initializing Chrome OS system preferences in ProfileImpl's constructor, but this didn't work in the guest mode, since we'll switch the profile implementation (GuestSessionProfile) afterward in the guest mode. BUG=chromium-os:11912 TEST=confirm that "Enable tap-to-click" works both in the guest and the normal mode. Review URL: http://codereview.chromium.org/6484033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75067 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/testing_profile.h')
-rw-r--r--chrome/test/testing_profile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h
index 572c96d..ec2f82a 100644
--- a/chrome/test/testing_profile.h
+++ b/chrome/test/testing_profile.h
@@ -252,6 +252,8 @@ class TestingProfile : public Profile {
}
virtual void SetupChromeOSEnterpriseExtensionObserver() {
}
+ virtual void InitChromeOSPreferences() {
+ }
virtual void ChangeAppLocale(const std::string&, AppLocaleChangedVia) {
}
#endif // defined(OS_CHROMEOS)