Searched refs:SetForTesting (Results 1 – 14 of 14) sorted by relevance
99 UserManager* UserManager::SetForTesting(UserManager* user_manager) { in SetForTesting() function in chromeos::UserManager109 : previous_user_manager_(UserManager::SetForTesting(user_manager)) { in ScopedUserManagerEnabler()115 UserManager::SetForTesting(previous_user_manager_); in ~ScopedUserManagerEnabler()
385 static UserManager* SetForTesting(UserManager* user_manager);
14 ExtensionCache::SetForTesting(this); in ExtensionCacheFake()18 ExtensionCache::SetForTesting(NULL); in ~ExtensionCacheFake()
62 static ExtensionCache* SetForTesting(ExtensionCache* cache);
78 ExtensionCache* ExtensionCache::SetForTesting(ExtensionCache* cache) { in SetForTesting() function in extensions::ExtensionCache
21 static void SetForTesting(scoped_ptr<AdNetworkDatabase> database);
57 void AdNetworkDatabase::SetForTesting(scoped_ptr<AdNetworkDatabase> database) { in SetForTesting() function in extensions::AdNetworkDatabase
238 AdNetworkDatabase::SetForTesting( in SetUpOnMainThread()
59 static void SetForTesting(InputServiceLinux* service);
187 void InputServiceLinux::SetForTesting(InputServiceLinux* service) { in SetForTesting() function in device::InputServiceLinux
32 old_registry_ = ManifestHandlerRegistry::SetForTesting(®istry_); in ScopedTestingManifestHandlerRegistry()36 ManifestHandlerRegistry::SetForTesting(old_registry_); in ~ScopedTestingManifestHandlerRegistry()
148 static ManifestHandlerRegistry* SetForTesting(
193 ManifestHandlerRegistry* ManifestHandlerRegistry::SetForTesting( in SetForTesting() function in extensions::ManifestHandlerRegistry
107 InputServiceLinux::SetForTesting(new InputServiceLinuxTestImpl()); in InitInputService()