Home
last modified time | relevance | path

Searched refs:SetForTesting (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/login/users/
Duser_manager.cc99 UserManager* UserManager::SetForTesting(UserManager* user_manager) { in SetForTesting() function in chromeos::UserManager
109 : previous_user_manager_(UserManager::SetForTesting(user_manager)) { in ScopedUserManagerEnabler()
115 UserManager::SetForTesting(previous_user_manager_); in ~ScopedUserManagerEnabler()
Duser_manager.h385 static UserManager* SetForTesting(UserManager* user_manager);
/external/chromium_org/chrome/browser/extensions/updater/
Dextension_cache_fake.cc14 ExtensionCache::SetForTesting(this); in ExtensionCacheFake()
18 ExtensionCache::SetForTesting(NULL); in ~ExtensionCacheFake()
Dextension_cache.h62 static ExtensionCache* SetForTesting(ExtensionCache* cache);
Dextension_cache.cc78 ExtensionCache* ExtensionCache::SetForTesting(ExtensionCache* cache) { in SetForTesting() function in extensions::ExtensionCache
/external/chromium_org/chrome/browser/extensions/activity_log/
Dad_network_database.h21 static void SetForTesting(scoped_ptr<AdNetworkDatabase> database);
Dad_network_database.cc57 void AdNetworkDatabase::SetForTesting(scoped_ptr<AdNetworkDatabase> database) { in SetForTesting() function in extensions::AdNetworkDatabase
Dad_injection_browsertest.cc238 AdNetworkDatabase::SetForTesting( in SetUpOnMainThread()
/external/chromium_org/device/hid/
Dinput_service_linux.h59 static void SetForTesting(InputServiceLinux* service);
Dinput_service_linux.cc187 void InputServiceLinux::SetForTesting(InputServiceLinux* service) { in SetForTesting() function in device::InputServiceLinux
/external/chromium_org/extensions/common/
Dmanifest_handler_unittest.cc32 old_registry_ = ManifestHandlerRegistry::SetForTesting(&registry_); in ScopedTestingManifestHandlerRegistry()
36 ManifestHandlerRegistry::SetForTesting(old_registry_); in ~ScopedTestingManifestHandlerRegistry()
Dmanifest_handler.h148 static ManifestHandlerRegistry* SetForTesting(
Dmanifest_handler.cc193 ManifestHandlerRegistry* ManifestHandlerRegistry::SetForTesting( in SetForTesting() function in extensions::ManifestHandlerRegistry
/external/chromium_org/chrome/browser/chromeos/device/
Dinput_service_proxy_browsertest.cc107 InputServiceLinux::SetForTesting(new InputServiceLinuxTestImpl()); in InitInputService()