PageRenderTime 467ms queryTime 135ms sortTime 0ms getByIdsTime 213ms findMatchingLines 22ms

100+ results results for 'ServiceIsNullWhileTesting' (467 ms)

Not the results you expected?
bluetooth_low_energy_api.h https://github.com/chromium/chromium.git | C Header | 765 lines
                    
82  static const bool kServiceRedirectedInIncognito = true;
                    
83  static const bool kServiceIsNULLWhileTesting = true;
                    
84
                    
                
management_api.h https://gitlab.com/0072016/Facebook-SDK- | C Header | 297 lines
                    
283  static const char* service_name() { return "ManagementAPI"; }
                    
284  static const bool kServiceIsNULLWhileTesting = true;
                    
285  static const bool kServiceRedirectedInIncognito = true;
                    
                
browser_context_keyed_base_factory.h https://gitlab.com/0072016/Facebook-SDK- | C Header | 121 lines
                    
68  // services they use.)
                    
69  bool ServiceIsNULLWhileTesting() const override;
                    
70
                    
97
                    
98  // Because of ServiceIsNULLWhileTesting(), we need a way to tell different
                    
99  // subclasses that they should disable testing.
                    
                
braille_display_private_api.h https://gitlab.com/jonnialva90/iridium-browser | C Header | 112 lines
                    
77  // Override the default so the service is not created in tests.
                    
78  static const bool kServiceIsNULLWhileTesting = true;
                    
79};
                    
                
web_view_web_data_service_wrapper_factory.mm https://github.com/chromium/chromium.git | Objective C++ | 98 lines
                    
93
                    
94bool WebViewWebDataServiceWrapperFactory::ServiceIsNULLWhileTesting() const {
                    
95  return true;
                    
                
browser_context_keyed_base_factory.cc https://gitlab.com/f3822/qtwebengine-chromium | C++ | 120 lines
                    
96
                    
97bool BrowserContextKeyedBaseFactory::ServiceIsNULLWhileTesting() const {
                    
98  return false;
                    
                
browser_state_keyed_service_factory.h https://gitlab.com/jonnialva90/iridium-browser | C Header | 140 lines
                    
86  // services they use.)
                    
87  bool ServiceIsNULLWhileTesting() const override;
                    
88
                    
                
keyed_service_base_factory.h https://gitlab.com/jonnialva90/iridium-browser | C Header | 197 lines
                    
94  // testing context will be null.
                    
95  virtual bool ServiceIsNULLWhileTesting() const;
                    
96
                    
176  // Used by DependencyManager to disable creation of the service when the
                    
177  // method ServiceIsNULLWhileTesting() returns true.
                    
178  virtual void SetEmptyTestingFactory(base::SupportsUserData* context) = 0;
                    
                
bookmark_manager_private_api.h https://gitlab.com/jonnialva90/iridium-browser | C Header | 420 lines
                    
82  static const char* service_name() { return "BookmarkManagerPrivateAPI"; }
                    
83  static const bool kServiceIsNULLWhileTesting = true;
                    
84
                    
                
policy_cert_service_factory.cc https://github.com/chromium/chromium.git | C++ | 179 lines
                    
174
                    
175bool PolicyCertServiceFactory::ServiceIsNULLWhileTesting() const {
                    
176  return true;
                    
                
easy_unlock_service_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 134 lines
                    
128
                    
129bool EasyUnlockServiceFactory::ServiceIsNULLWhileTesting() const {
                    
130  // Don't create the service for TestingProfile used in unit_tests because
                    
                
shell_window_registry.cc https://gitlab.com/brian0218/rk3288_r-box_android4.4.2_sdk | C++ | 304 lines
                    
294
                    
295bool ShellWindowRegistry::Factory::ServiceIsNULLWhileTesting() const {
                    
296  return false;
                    
                
preference_api.h https://gitlab.com/jonnialva90/iridium-browser | C Header | 220 lines
                    
133  }
                    
134  static const bool kServiceIsNULLWhileTesting = true;
                    
135  static const bool kServiceRedirectedInIncognito = true;
                    
                
web_data_service_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 177 lines
                    
174
                    
175bool WebDataServiceFactory::ServiceIsNULLWhileTesting() const {
                    
176  return true;
                    
                
cookies_api.h https://gitlab.com/jonnialva90/iridium-browser | C Header | 202 lines
                    
191  }
                    
192  static const bool kServiceIsNULLWhileTesting = true;
                    
193
                    
                
feature_notification_guide_service_factory.cc https://github.com/chromium/chromium.git | C++ | 130 lines
                    
125
                    
126bool FeatureNotificationGuideServiceFactory::ServiceIsNULLWhileTesting() const {
                    
127  return true;
                    
                
authentication_service_factory.mm https://github.com/chromium/chromium.git | Objective C++ | 96 lines
                    
93
                    
94bool AuthenticationServiceFactory::ServiceIsNULLWhileTesting() const {
                    
95  return true;
                    
                
bluetooth_socket_event_dispatcher.h https://github.com/chromium/chromium.git | C Header | 123 lines
                    
61  static const bool kServiceHasOwnInstanceInIncognito = true;
                    
62  static const bool kServiceIsNULLWhileTesting = true;
                    
63
                    
                
networking_private_delegate_factory.h https://gitlab.com/0072016/Facebook-SDK- | C Header | 88 lines
                    
77  bool ServiceIsCreatedWithBrowserContext() const override;
                    
78  bool ServiceIsNULLWhileTesting() const override;
                    
79
                    
                
ios_chrome_password_store_factory.cc https://gitlab.com/0072016/Facebook-SDK- | C++ | 105 lines
                    
102
                    
103bool IOSChromePasswordStoreFactory::ServiceIsNULLWhileTesting() const {
                    
104  return true;
                    
                
browser_context_dependency_manager.h https://gitlab.com/0072016/Facebook-SDK- | C Header | 107 lines
                    
53  // BrowserContextKeyedBaseFactories that return true from
                    
54  // ServiceIsNULLWhileTesting().
                    
55  void CreateBrowserContextServicesForTest(content::BrowserContext* context);
                    
                
cert_store_service.cc https://github.com/chromium/chromium.git | C++ | 567 lines
                    
77
                    
78  bool ServiceIsNULLWhileTesting() const override { return true; }
                    
79
                    
                
session_service_factory.h https://gitlab.com/jonnialva90/iridium-browser | C Header | 73 lines
                    
69  bool ServiceIsCreatedWithBrowserContext() const override;
                    
70  bool ServiceIsNULLWhileTesting() const override;
                    
71};
                    
                
certificate_provider_service_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 207 lines
                    
188
                    
189bool CertificateProviderServiceFactory::ServiceIsNULLWhileTesting() const {
                    
190  return true;
                    
                
keyed_service_base_factory.cc https://gitlab.com/0072016/Facebook-SDK- | C++ | 121 lines
                    
99
                    
100bool KeyedServiceBaseFactory::ServiceIsNULLWhileTesting() const {
                    
101  return false;
                    
                
browser_context_keyed_api_factory.h https://github.com/chromium/chromium.git | C Header | 167 lines
                    
42  // If set to true, GetForProfile returns NULL for TestingBrowserContexts.
                    
43  static const bool kServiceIsNULLWhileTesting = false;
                    
44
                    
159
                    
160  bool ServiceIsNULLWhileTesting() const override {
                    
161    return T::kServiceIsNULLWhileTesting;
                    
                
tts_extension_api.h https://github.com/chromium/chromium.git | C Header | 90 lines
                    
84  static const char* service_name() { return "TtsAPI"; }
                    
85  static const bool kServiceIsNULLWhileTesting = true;
                    
86};
                    
                
mdns_api.h https://gitlab.com/0072016/Facebook-SDK- | C Header | 138 lines
                    
82  static const bool kServiceIsCreatedWithBrowserContext = true;
                    
83  static const bool kServiceIsNULLWhileTesting = true;
                    
84
                    
                
web_view_password_store_factory.mm https://github.com/chromium/chromium.git | Objective C++ | 104 lines
                    
99
                    
100bool WebViewPasswordStoreFactory::ServiceIsNULLWhileTesting() const {
                    
101  return true;
                    
                
top_sites_factory.cc https://gitlab.com/0072016/Facebook-SDK- | C++ | 127 lines
                    
124
                    
125bool TopSitesFactory::ServiceIsNULLWhileTesting() const {
                    
126  return true;
                    
                
rules_monitor_service.h https://github.com/chromium/chromium.git | C Header | 273 lines
                    
147  static const char* service_name() { return "RulesMonitorService"; }
                    
148  static const bool kServiceIsNULLWhileTesting = true;
                    
149  static const bool kServiceRedirectedInIncognito = true;
                    
                
browser_context_dependency_manager.cc https://gitlab.com/f3822/qtwebengine-chromium | C++ | 179 lines
                    
92        static_cast<BrowserContextKeyedBaseFactory*>(construction_order[i]);
                    
93    if (is_testing_context && factory->ServiceIsNULLWhileTesting()) {
                    
94      factory->SetEmptyTestingFactory(context);
                    
                
shell_window_registry.h https://gitlab.com/brian0218/rk3188_rk3066_r-box_android4.4.2_sdk | C Header | 151 lines
                    
124    virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE;
                    
125    virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
                    
126    virtual content::BrowserContext* GetBrowserContextToUse(
                    
                
verify_trust_api.h https://gitlab.com/0072016/Facebook-SDK- | C Header | 114 lines
                    
74  static const bool kServiceIsCreatedWithBrowserContext = false;
                    
75  static const bool kServiceIsNULLWhileTesting = true;
                    
76
                    
                
refcounted_browser_state_keyed_service_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 151 lines
                    
70
                    
71bool RefcountedBrowserStateKeyedServiceFactory::ServiceIsNULLWhileTesting()
                    
72    const {
                    
72    const {
                    
73  return KeyedServiceBaseFactory::ServiceIsNULLWhileTesting();
                    
74}
                    
                
in_memory_url_index_factory.cc https://github.com/chromium/chromium.git | C++ | 91 lines
                    
86
                    
87bool InMemoryURLIndexFactory::ServiceIsNULLWhileTesting() const {
                    
88  return true;
                    
                
policy_cert_service_factory.h https://github.com/chromium/chromium.git | C Header | 81 lines
                    
75      content::BrowserContext* context) const override;
                    
76  bool ServiceIsNULLWhileTesting() const override;
                    
77};
                    
                
tts_extension_api.h https://gitlab.com/jonnialva90/iridium-browser | C Header | 85 lines
                    
79  }
                    
80  static const bool kServiceIsNULLWhileTesting = true;
                    
81};
                    
                
user_cloud_policy_invalidator_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 68 lines
                    
62
                    
63bool UserCloudPolicyInvalidatorFactory::ServiceIsNULLWhileTesting() const {
                    
64  // Not used in tests.
                    
                
identity_api.h https://github.com/chromium/chromium.git | C Header | 140 lines
                    
98  static const char* service_name() { return "IdentityAPI"; }
                    
99  static const bool kServiceIsNULLWhileTesting = true;
                    
100
                    
                
autofill_private_event_router_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 60 lines
                    
55
                    
56bool AutofillPrivateEventRouterFactory::ServiceIsNULLWhileTesting() const {
                    
57  return false;
                    
                
browser_context_keyed_base_factory.h https://gitlab.com/f3822/qtwebengine-chromium | C Header | 152 lines
                    
85  // services they use.)
                    
86  virtual bool ServiceIsNULLWhileTesting() const;
                    
87
                    
126
                    
127  // Because of ServiceIsNULLWhileTesting(), we need a way to tell different
                    
128  // subclasses that they should disable testing.
                    
                
refcounted_browser_context_keyed_service_factory.cc https://github.com/chromium/chromium.git | C++ | 128 lines
                    
75
                    
76bool RefcountedBrowserContextKeyedServiceFactory::ServiceIsNULLWhileTesting()
                    
77    const {
                    
77    const {
                    
78  return KeyedServiceBaseFactory::ServiceIsNULLWhileTesting();
                    
79}
                    
                
bookmark_model_factory.cc https://gitlab.com/0072016/Facebook-SDK- | C++ | 115 lines
                    
112
                    
113bool BookmarkModelFactory::ServiceIsNULLWhileTesting() const {
                    
114  return true;
                    
                
browser_state_keyed_service_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 139 lines
                    
62
                    
63bool BrowserStateKeyedServiceFactory::ServiceIsNULLWhileTesting() const {
                    
64  return KeyedServiceBaseFactory::ServiceIsNULLWhileTesting();
                    
                
prerender_service_factory.mm https://github.com/chromium/chromium.git | Objective C++ | 62 lines
                    
57
                    
58bool PrerenderServiceFactory::ServiceIsNULLWhileTesting() const {
                    
59  // PrerenderService is omitted while testing because it complicates
                    
                
app_window_registry.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 270 lines
                    
260
                    
261bool AppWindowRegistry::Factory::ServiceIsNULLWhileTesting() const {
                    
262  return false;
                    
                
ios_chrome_tab_restore_service_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 62 lines
                    
53
                    
54bool IOSChromeTabRestoreServiceFactory::ServiceIsNULLWhileTesting() const {
                    
55  return true;
                    
                
web_view_account_password_store_factory.mm https://github.com/chromium/chromium.git | Objective C++ | 134 lines
                    
129
                    
130bool WebViewAccountPasswordStoreFactory::ServiceIsNULLWhileTesting() const {
                    
131  return true;
                    
                
shortcuts_backend_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 105 lines
                    
73
                    
74bool ShortcutsBackendFactory::ServiceIsNULLWhileTesting() const {
                    
75  return true;
                    
                
dependency_manager.cc https://github.com/chromium/chromium.git | C++ | 199 lines
                    
32         !(component->ServiceIsCreatedWithContext() ||
                    
33           component->ServiceIsNULLWhileTesting()))
                    
34      << "Tried to construct " << component->name()
                    
85        static_cast<KeyedServiceBaseFactory*>(dependency_node);
                    
86    if (is_testing_context && factory->ServiceIsNULLWhileTesting() &&
                    
87        !factory->HasTestingFactory(context)) {
                    
                
cert_db_initializer_factory.h https://github.com/chromium/chromium.git | C Header | 59 lines
                    
28// * In unittests: CertDbInitializer is not created by default (see
                    
29// `ServiceIsNULLWhileTesting()`).
                    
30class CertDbInitializerFactory : public BrowserContextKeyedServiceFactory {
                    
51      content::BrowserContext* context) const override;
                    
52  bool ServiceIsNULLWhileTesting() const override;
                    
53  content::BrowserContext* GetBrowserContextToUse(
                    
                
web_data_service_factory.h https://gitlab.com/jonnialva90/iridium-browser | C Header | 81 lines
                    
75      content::BrowserContext* profile) const override;
                    
76  bool ServiceIsNULLWhileTesting() const override;
                    
77
                    
                
optimization_guide_service_factory.mm https://github.com/chromium/chromium.git | Objective C++ | 121 lines
                    
118
                    
119bool OptimizationGuideServiceFactory::ServiceIsNULLWhileTesting() const {
                    
120  return true;
                    
                
web_view_account_password_store_factory.h https://github.com/chromium/chromium.git | C Header | 59 lines
                    
53      web::BrowserState* context) const override;
                    
54  bool ServiceIsNULLWhileTesting() const override;
                    
55};
                    
                
history_service_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 100 lines
                    
97
                    
98bool HistoryServiceFactory::ServiceIsNULLWhileTesting() const {
                    
99  return true;
                    
                
device_sync_client_factory.cc git://github.com/chromium/chromium.git | C++ | 121 lines
                    
114
                    
115bool DeviceSyncClientFactory::ServiceIsNULLWhileTesting() const {
                    
116  return true;
                    
                
chrome_password_protection_service_factory.mm https://github.com/chromium/chromium.git | Objective C++ | 82 lines
                    
79
                    
80bool ChromePasswordProtectionServiceFactory::ServiceIsNULLWhileTesting() const {
                    
81  return true;
                    
                
keyed_service_base_factory.h https://github.com/chromium/chromium.git | C Header | 135 lines
                    
85  // testing context will be null.
                    
86  virtual bool ServiceIsNULLWhileTesting() const;
                    
87
                    
115  // Used by DependencyManager to disable creation of the service when the
                    
116  // method ServiceIsNULLWhileTesting() returns true.
                    
117  virtual void SetEmptyTestingFactory(void* context) = 0;
                    
                
dependency_manager.cc https://gitlab.com/0072016/Facebook-SDK- | C++ | 139 lines
                    
68        static_cast<KeyedServiceBaseFactory*>(dependency_node);
                    
69    if (is_testing_context && factory->ServiceIsNULLWhileTesting() &&
                    
70        !factory->HasTestingFactory(context)) {
                    
                
app_list_syncable_service_factory.cc https://gitlab.com/0072016/Facebook-SDK- | C++ | 103 lines
                    
98
                    
99bool AppListSyncableServiceFactory::ServiceIsNULLWhileTesting() const {
                    
100  return true;
                    
                
webstore_api.h https://gitlab.com/0072016/Facebook-SDK- | C Header | 104 lines
                    
90  static const char* service_name() { return "WebstoreAPI"; }
                    
91  static const bool kServiceIsNULLWhileTesting = true;
                    
92
                    
                
dependency_manager.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 143 lines
                    
70    base::SupportsUserData* typed_context = factory->GetTypedContext(context);
                    
71    if (is_testing_context && factory->ServiceIsNULLWhileTesting() &&
                    
72        !factory->HasTestingFactory(typed_context)) {
                    
                
bookmark_model_factory.h https://gitlab.com/0072016/Facebook-SDK- | C Header | 56 lines
                    
48      web::BrowserState* context) const override;
                    
49  bool ServiceIsNULLWhileTesting() const override;
                    
50
                    
                
browser_context_keyed_service_factory.cc https://github.com/chromium/chromium.git | C++ | 127 lines
                    
74
                    
75bool BrowserContextKeyedServiceFactory::ServiceIsNULLWhileTesting() const {
                    
76  return KeyedServiceBaseFactory::ServiceIsNULLWhileTesting();
                    
                
autotest_private_api.h https://gitlab.com/jonnialva90/iridium-browser | C Header | 197 lines
                    
183  static const char* service_name() { return "AutotestPrivateAPI"; }
                    
184  static const bool kServiceIsNULLWhileTesting = true;
                    
185  static const bool kServiceRedirectedInIncognito = true;
                    
                
user_network_configuration_updater_factory.h https://github.com/chromium/chromium.git | C Header | 60 lines
                    
52  bool ServiceIsCreatedWithBrowserContext() const override;
                    
53  bool ServiceIsNULLWhileTesting() const override;
                    
54  KeyedService* BuildServiceInstanceFor(
                    
                
simple_dependency_manager.h https://github.com/chromium/chromium.git | C Header | 54 lines
                    
36  // services for any SimpleKeyedBaseFactories that return true from
                    
37  // ServiceIsNULLWhileTesting().
                    
38  void CreateServicesForTest(SimpleFactoryKey* key);
                    
                
settings_private_event_router_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 59 lines
                    
54
                    
55bool SettingsPrivateEventRouterFactory::ServiceIsNULLWhileTesting() const {
                    
56  return false;
                    
                
template_url_service_factory.cc https://gitlab.com/0072016/Facebook-SDK- | C++ | 110 lines
                    
105
                    
106bool TemplateURLServiceFactory::ServiceIsNULLWhileTesting() const {
                    
107  return true;
                    
                
shell_window_geometry_cache.h https://gitlab.com/brian0218/rk3188_rk3066_r-box_android4.4.2_sdk | C Header | 141 lines
                    
54        content::BrowserContext* context) const OVERRIDE;
                    
55    virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
                    
56    virtual content::BrowserContext* GetBrowserContextToUse(
                    
                
passwords_private_event_router_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 62 lines
                    
57
                    
58bool PasswordsPrivateEventRouterFactory::ServiceIsNULLWhileTesting() const {
                    
59  return true;
                    
                
managed_bookmark_service_factory.mm https://github.com/chromium/chromium.git | Objective C++ | 82 lines
                    
79
                    
80bool ManagedBookmarkServiceFactory::ServiceIsNULLWhileTesting() const {
                    
81  return true;
                    
                
domain_diversity_reporter_factory.mm https://github.com/chromium/chromium.git | Objective C++ | 83 lines
                    
76
                    
77bool DomainDiversityReporterFactory::ServiceIsNULLWhileTesting() const {
                    
78  return true;
                    
                
password_manager_settings_service_factory.cc https://github.com/chromium/chromium.git | C++ | 71 lines
                    
68
                    
69bool PasswordManagerSettingsServiceFactory::ServiceIsNULLWhileTesting() const {
                    
70  return true;
                    
                
app_window_geometry_cache.h https://gitlab.com/0072016/Facebook-SDK- | C Header | 159 lines
                    
54        content::BrowserContext* context) const override;
                    
55    bool ServiceIsNULLWhileTesting() const override;
                    
56    content::BrowserContext* GetBrowserContextToUse(
                    
                
autocomplete_classifier_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 78 lines
                    
73
                    
74bool AutocompleteClassifierFactory::ServiceIsNULLWhileTesting() const {
                    
75  return true;
                    
                
session_service_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 92 lines
                    
89
                    
90bool SessionServiceFactory::ServiceIsNULLWhileTesting() const {
                    
91  return true;
                    
                
browser_state_dependency_manager.h https://github.com/chromium/chromium.git | C Header | 85 lines
                    
49  // BrowserStateKeyedBaseFactories that return true from
                    
50  // ServiceIsNULLWhileTesting().
                    
51  void CreateBrowserStateServicesForTest(web::BrowserState* context);
                    
                
chrome_direct_setting_api.h https://gitlab.com/0072016/Facebook-SDK- | C Header | 65 lines
                    
52
                    
53  static const bool kServiceIsNULLWhileTesting = true;
                    
54  static const bool kServiceRedirectedInIncognito = false;
                    
                
vpn_service_factory.cc https://gitlab.com/0072016/Facebook-SDK- | C++ | 66 lines
                    
43
                    
44bool VpnServiceFactory::ServiceIsNULLWhileTesting() const {
                    
45  return true;
                    
                
user_policy_signin_service_factory.mm https://github.com/chromium/chromium.git | Objective C++ | 102 lines
                    
97
                    
98bool UserPolicySigninServiceFactory::ServiceIsNULLWhileTesting() const {
                    
99  return true;
                    
                
networking_private_delegate_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 112 lines
                    
107
                    
108bool NetworkingPrivateDelegateFactory::ServiceIsNULLWhileTesting() const {
                    
109  return false;
                    
                
shopping_service_factory.mm https://github.com/chromium/chromium.git | Objective C++ | 75 lines
                    
70
                    
71bool ShoppingServiceFactory::ServiceIsNULLWhileTesting() const {
                    
72  return true;
                    
                
dependency_manager.h https://github.com/chromium/chromium.git | C Header | 131 lines
                    
72  // If |is_testing_context| then the service will not be started unless the
                    
73  // method KeyedServiceBaseFactory::ServiceIsNULLWhileTesting() return false.
                    
74  void CreateContextServices(void* context, bool is_testing_context);
                    
                
user_cloud_policy_token_forwarder_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 63 lines
                    
57
                    
58bool UserCloudPolicyTokenForwarderFactory::ServiceIsNULLWhileTesting() const {
                    
59  // This is only needed in a handful of tests that manually create the object.
                    
                
menu_manager_factory.cc https://gitlab.com/0072016/Facebook-SDK- | C++ | 64 lines
                    
59
                    
60bool MenuManagerFactory::ServiceIsNULLWhileTesting() const {
                    
61  return true;
                    
                
app_window_registry.h https://gitlab.com/jonnialva90/iridium-browser | C Header | 157 lines
                    
122    bool ServiceIsCreatedWithBrowserContext() const override;
                    
123    bool ServiceIsNULLWhileTesting() const override;
                    
124    content::BrowserContext* GetBrowserContextToUse(
                    
                
runtime_api.h https://gitlab.com/0072016/Facebook-SDK- | C Header | 246 lines
                    
86  static const bool kServiceRedirectedInIncognito = true;
                    
87  static const bool kServiceIsNULLWhileTesting = true;
                    
88  void Shutdown() override;
                    
                
instant_unittest_base.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 101 lines
                    
71  // GoogleURLTracker is not created in tests.
                    
72  // (See GoogleURLTrackerFactory::ServiceIsNULLWhileTesting())
                    
73  // For determining google:baseURL for NTP, the following is used:
                    
                
top_sites_factory.h https://gitlab.com/0072016/Facebook-SDK- | C Header | 60 lines
                    
54      user_prefs::PrefRegistrySyncable* registry) override;
                    
55  bool ServiceIsNULLWhileTesting() const override;
                    
56
                    
                
ios_profile_session_durations_service_factory.mm https://github.com/chromium/chromium.git | Objective C++ | 75 lines
                    
71
                    
72bool IOSProfileSessionDurationsServiceFactory::ServiceIsNULLWhileTesting()
                    
73    const {
                    
                
access_code_cast_sink_service_factory.cc https://github.com/chromium/chromium.git | C++ | 74 lines
                    
69
                    
70bool AccessCodeCastSinkServiceFactory::ServiceIsNULLWhileTesting() const {
                    
71  return true;
                    
                
system_info_api.h https://github.com/chromium/chromium.git | C Header | 48 lines
                    
40  static const char* service_name() { return "SystemInfoAPI"; }
                    
41  static const bool kServiceIsNULLWhileTesting = true;
                    
42
                    
                
top_sites_factory.h https://github.com/chromium/chromium.git | C Header | 46 lines
                    
40      user_prefs::PrefRegistrySyncable* registry) override;
                    
41  bool ServiceIsNULLWhileTesting() const override;
                    
42};
                    
                
remote_apps_proxy_lacros_factory.h https://github.com/chromium/chromium.git | C Header | 42 lines
                    
35      content::BrowserContext* browser_context) const override;
                    
36  bool ServiceIsNULLWhileTesting() const override;
                    
37  bool ServiceIsCreatedWithBrowserContext() const override;
                    
                
google_url_tracker_factory.h https://gitlab.com/jonnialva90/iridium-browser | C Header | 52 lines
                    
42  bool ServiceIsCreatedWithBrowserState() const override;
                    
43  bool ServiceIsNULLWhileTesting() const override;
                    
44  void RegisterBrowserStatePrefs(
                    
                
background_contents_service_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 64 lines
                    
61
                    
62bool BackgroundContentsServiceFactory::ServiceIsNULLWhileTesting() const {
                    
63  return true;
                    
                
user_policy_signin_service_factory.h https://github.com/chromium/chromium.git | C Header | 69 lines
                    
58  bool ServiceIsCreatedWithBrowserState() const override;
                    
59  bool ServiceIsNULLWhileTesting() const override;
                    
60
                    
                
dial_api_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 47 lines
                    
42
                    
43bool DialAPIFactory::ServiceIsNULLWhileTesting() const {
                    
44  return true;
                    
                
spellcheck_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 96 lines
                    
93
                    
94bool SpellcheckServiceFactory::ServiceIsNULLWhileTesting() const {
                    
95  return true;
                    
                
password_store_factory.h https://gitlab.com/jonnialva90/iridium-browser | C Header | 125 lines
                    
85      content::BrowserContext* context) const override;
                    
86  bool ServiceIsNULLWhileTesting() const override;
                    
87
                    
                
dependency_manager.h https://gitlab.com/jonnialva90/iridium-browser | C Header | 106 lines
                    
59  // If |is_testing_context| then the service will not be started unless the
                    
60  // method KeyedServiceBaseFactory::ServiceIsNULLWhileTesting() return false.
                    
61  void CreateContextServices(base::SupportsUserData* context,
                    
                
cert_db_initializer_factory.cc https://github.com/chromium/chromium.git | C++ | 63 lines
                    
55
                    
56bool CertDbInitializerFactory::ServiceIsNULLWhileTesting() const {
                    
57  return true;
                    
                
search_engines_private_event_router_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 59 lines
                    
54
                    
55bool SearchEnginesPrivateEventRouterFactory::ServiceIsNULLWhileTesting() const {
                    
56  return false;
                    
                
segmentation_platform_service_factory.mm https://github.com/chromium/chromium.git | Objective C++ | 127 lines
                    
122
                    
123bool SegmentationPlatformServiceFactory::ServiceIsNULLWhileTesting() const {
                    
124  return true;
                    
                
app_load_service_factory.cc https://gitlab.com/brian0218/rk3188_rk3066_r-box_android4.4.2_sdk | C++ | 57 lines
                    
43
                    
44bool AppLoadServiceFactory::ServiceIsNULLWhileTesting() const {
                    
45  return false;
                    
                
networking_private_event_router_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 61 lines
                    
56
                    
57bool NetworkingPrivateEventRouterFactory::ServiceIsNULLWhileTesting() const {
                    
58  return true;
                    
                
segmentation_platform_service_factory.h https://github.com/chromium/chromium.git | C Header | 50 lines
                    
44  bool ServiceIsCreatedWithBrowserState() const override;
                    
45  bool ServiceIsNULLWhileTesting() const override;
                    
46};
                    
                
event_router_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 61 lines
                    
56
                    
57bool EventRouterFactory::ServiceIsNULLWhileTesting() const {
                    
58  return true;
                    
                
user_network_configuration_updater_factory.cc https://github.com/chromium/chromium.git | C++ | 123 lines
                    
61
                    
62bool UserNetworkConfigurationUpdaterFactory::ServiceIsNULLWhileTesting() const {
                    
63  return true;
                    
                
plugin_prefs_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 78 lines
                    
71
                    
72bool PluginPrefsFactory::ServiceIsNULLWhileTesting() const {
                    
73  return true;
                    
                
google_url_tracker_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 63 lines
                    
60
                    
61bool GoogleURLTrackerFactory::ServiceIsNULLWhileTesting() const {
                    
62  return true;
                    
                
extension_garbage_collector_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 68 lines
                    
63
                    
64bool ExtensionGarbageCollectorFactory::ServiceIsNULLWhileTesting() const {
                    
65  return true;
                    
                
extension_gcm_app_handler.h https://gitlab.com/jonnialva90/iridium-browser | C Header | 112 lines
                    
94  static const char* service_name() { return "ExtensionGCMAppHandler"; }
                    
95  static const bool kServiceIsNULLWhileTesting = true;
                    
96
                    
                
large_icon_service_factory.cc https://gitlab.com/0072016/Facebook-SDK- | C++ | 56 lines
                    
53
                    
54bool LargeIconServiceFactory::ServiceIsNULLWhileTesting() const {
                    
55  return true;
                    
                
automatic_profile_resetter_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 70 lines
                    
67
                    
68bool AutomaticProfileResetterFactory::ServiceIsNULLWhileTesting() const {
                    
69  return true;
                    
                
favicon_service_factory.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 75 lines
                    
72
                    
73bool FaviconServiceFactory::ServiceIsNULLWhileTesting() const {
                    
74  return true;
                    
                
 

Source

Language