/external/chromium_org/chrome/browser/extensions/api/dial/ |
D | dial_registry_unittest.cc | 90 registry_.reset(new MockDialRegistry(&mock_observer_, in DialRegistryTest() 99 scoped_ptr<MockDialRegistry> registry_; member in extensions::DialRegistryTest 114 EXPECT_CALL(registry_->mock_service(), in SetListenerExpectations() 117 EXPECT_CALL(registry_->mock_service(), in SetListenerExpectations() 125 EXPECT_CALL(registry_->mock_service(), Discover()) in TEST_F() 128 EXPECT_FALSE(registry_->repeating_timer_.IsRunning()); in TEST_F() 129 registry_->OnListenerAdded(); in TEST_F() 130 EXPECT_TRUE(registry_->repeating_timer_.IsRunning()); in TEST_F() 131 registry_->OnListenerAdded(); in TEST_F() 132 EXPECT_TRUE(registry_->repeating_timer_.IsRunning()); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/extensions/api/mdns/ |
D | dns_sd_registry_unittest.cc | 72 registry_.reset(new TestDnsSdRegistry()); in SetUp() 73 registry_->AddObserver(&observer_); in SetUp() 77 scoped_ptr<TestDnsSdRegistry> registry_; member in extensions::DnsSdRegistryTest 89 registry_->RegisterDnsSdListener(service_type); in TEST_F() 90 registry_->RegisterDnsSdListener(service_type); in TEST_F() 91 registry_->UnregisterDnsSdListener(service_type); in TEST_F() 92 EXPECT_EQ(1, registry_->GetServiceListenerCount(service_type)); in TEST_F() 94 registry_->UnregisterDnsSdListener(service_type); in TEST_F() 95 EXPECT_EQ(0, registry_->GetServiceListenerCount(service_type)); in TEST_F() 122 registry_->RegisterDnsSdListener(service_type); in TEST_F() [all …]
|
/external/chromium_org/content/browser/streams/ |
D | stream_unittest.cc | 20 registry_.reset(new StreamRegistry()); in SetUp() 36 scoped_ptr<StreamRegistry> registry_; member in content::StreamTest 118 new Stream(registry_.get(), &writer, url)); in TEST_F() 129 new Stream(registry_.get(), &writer, url)); in TEST_F() 141 new Stream(registry_.get(), &writer, url)); in TEST_F() 155 new Stream(registry_.get(), &writer, url)); in TEST_F() 182 new Stream(registry_.get(), &writer, url)); in TEST_F() 199 new Stream(registry_.get(), &writer, url)); in TEST_F() 201 scoped_refptr<Stream> stream2 = registry_->GetStream(url); in TEST_F() 210 new Stream(registry_.get(), &writer, url1)); in TEST_F() [all …]
|
D | stream_url_request_job_unittest.cc | 38 MockProtocolHandler(StreamRegistry* registry) : registry_(registry) {} in MockProtocolHandler() 44 scoped_refptr<Stream> stream = registry_->GetStream(request->url()); in MaybeCreateJob() 51 StreamRegistry* registry_; member in content::StreamURLRequestJobTest::MockProtocolHandler 57 registry_.reset(new StreamRegistry()); in SetUp() 60 "blob", new MockProtocolHandler(registry_.get())); in SetUp() 97 scoped_ptr<StreamRegistry> registry_; member in content::StreamURLRequestJobTest 106 new Stream(registry_.get(), NULL, kStreamURL)); in TEST_F() 119 new Stream(registry_.get(), NULL, kStreamURL)); in TEST_F() 149 new Stream(registry_.get(), NULL, kStreamURL)); in TEST_F() 166 new Stream(registry_.get(), NULL, kStreamURL)); in TEST_F()
|
D | stream.cc | 31 registry_(registry), in Stream() 48 registry_->RegisterStream(this); in Stream() 78 registry_->UnregisterStream(url()); in Abort() 86 if (!registry_->UpdateMemoryUsage(url(), current_buffered_bytes, size)) { in AddData() 141 registry_->UnregisterStream(url()); in ReadRawData() 176 registry_->UnregisterStream(url()); in CloseHandle()
|
D | stream_context.h | 36 StreamRegistry* registry() const { return registry_.get(); } in registry() 49 scoped_ptr<StreamRegistry> registry_; variable
|
/external/chromium_org/chrome/browser/extensions/api/declarative/ |
D | rules_registry_with_cache_unittest.cc | 40 registry_(new TestRulesRegistry(profile(), in RulesRegistryWithCacheTest() 79 return AddRule(extension_id, rule_id, registry_.get()); in AddRule() 86 return registry_->RemoveRules(extension_id, remove_rules); in RemoveRule() 97 return GetNumberOfRules(extension_id, registry_.get()); in GetNumberOfRules() 105 scoped_refptr<TestRulesRegistry> registry_; member in extensions::RulesRegistryWithCacheTest 113 registry_->SetResult("Error"); in TEST_F() 116 registry_->SetResult(std::string()); in TEST_F() 141 registry_->SetResult("Error"); in TEST_F() 144 registry_->SetResult(std::string()); in TEST_F() 166 registry_->SetResult("Error"); in TEST_F() [all …]
|
D | rules_cache_delegate.cc | 67 registry_ = registry->GetWeakPtr(); in Init() 122 &RulesRegistry::MarkReady, registry_, storage_init_time_)); in CheckIfReady() 185 registry_, in ReadFromStorageCallback()
|
/external/chromium_org/content/renderer/media/ |
D | video_source_handler_unittest.cc | 45 VideoSourceHandlerTest() : registry_(&dependency_factory_) { in VideoSourceHandlerTest() 46 handler_.reset(new VideoSourceHandler(®istry_)); in VideoSourceHandlerTest() 48 registry_.Init(kTestStreamUrl); in VideoSourceHandlerTest() 49 registry_.AddVideoTrack(kTestVideoTrackId); in VideoSourceHandlerTest() 55 MockMediaStreamRegistry registry_; member in content::VideoSourceHandlerTest
|
D | video_destination_handler_unittest.cc | 62 VideoDestinationHandlerTest() : registry_(&factory_) { in VideoDestinationHandlerTest() 64 registry_.Init(kTestStreamUrl); in VideoDestinationHandlerTest() 69 MockMediaStreamRegistry registry_; member in content::VideoDestinationHandlerTest 102 EXPECT_FALSE(VideoDestinationHandler::Open(&factory_, ®istry_, in TEST_F() 104 EXPECT_TRUE(VideoDestinationHandler::Open(&factory_, ®istry_, in TEST_F() 109 const blink::WebMediaStream test_stream = registry_.test_stream(); in TEST_F()
|
D | video_source_handler.cc | 60 : registry_(registry) { in VideoSourceHandler() 107 if (registry_) { in GetFirstVideoSource() 108 stream = registry_->GetMediaStream(url); in GetFirstVideoSource()
|
/external/chromium/chrome/browser/custom_handlers/ |
D | register_protocol_handler_infobar_delegate.cc | 18 registry_(registry), in RegisterProtocolHandlerInfoBarDelegate() 40 ProtocolHandler* old_handler = registry_->GetHandlerFor(handler_->protocol()); in GetMessageText() 59 registry_->OnAcceptRegisterProtocolHandler(handler_); in Accept() 64 registry_->OnDenyRegisterProtocolHandler(handler_); in Cancel()
|
/external/chromium_org/components/policy/core/common/cloud/ |
D | component_cloud_policy_service_unittest.cc | 124 ®istry_, in SetUp() 192 registry_.RegisterComponent( in InitializeRegistry() 195 registry_.SetReady(POLICY_DOMAIN_CHROME); in InitializeRegistry() 196 registry_.SetReady(POLICY_DOMAIN_EXTENSIONS); in InitializeRegistry() 240 SchemaRegistry registry_; member in policy::ComponentCloudPolicyServiceTest 254 ®istry_, in TEST_F() 350 registry_.SetReady(POLICY_DOMAIN_CHROME); in TEST_F() 351 registry_.SetReady(POLICY_DOMAIN_EXTENSIONS); in TEST_F() 359 registry_.RegisterComponent( in TEST_F() 395 registry_.RegisterComponent( in TEST_F() [all …]
|
/external/chromium_org/content/browser/service_worker/ |
D | embedded_worker_instance.cc | 13 registry_->RemoveWorker(embedded_worker_id_); in ~EmbeddedWorkerInstance() 23 bool success = registry_->StartWorker( in Start() 37 const bool success = registry_->StopWorker(process_id_, embedded_worker_id_); in Stop() 63 : registry_(registry), in EmbeddedWorkerInstance()
|
/external/chromium_org/chrome/browser/devtools/ |
D | port_forwarding_controller.cc | 306 PortForwardingController::Registry* registry_; member in PortForwardingController::Connection 326 : registry_(registry), in Connection() 332 (*registry_)[device_->serial()] = this; in Connection() 340 registry_ = NULL; in Shutdown() 346 if (registry_) { in ~Connection() 347 DCHECK(registry_->find(device_->serial()) != registry_->end()); in ~Connection() 348 registry_->erase(device_->serial()); in ~Connection() 506 if (!registry_) { in OnSocketOpened() 574 for (Registry::iterator it = registry_.begin(); it != registry_.end(); ++it) in ~PortForwardingController() 587 Registry::iterator rit = registry_.find(device->GetSerial()); in UpdateDeviceList() [all …]
|
/external/chromium_org/chrome/browser/custom_handlers/ |
D | register_protocol_handler_infobar_delegate.cc | 48 registry_(registry), in RegisterProtocolHandlerInfoBarDelegate() 73 ProtocolHandler old_handler = registry_->GetHandlerFor(handler_.protocol()); in GetMessageText() 99 registry_->OnAcceptRegisterProtocolHandler(handler_); in Accept() 106 registry_->OnIgnoreRegisterProtocolHandler(handler_); in Cancel()
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
D | shell_window_launcher_controller.cc | 44 registry_.insert(registry); in ShellWindowLauncherController() 57 for (std::set<apps::ShellWindowRegistry*>::iterator it = registry_.begin(); in ~ShellWindowLauncherController() 58 it != registry_.end(); ++it) in ~ShellWindowLauncherController() 79 if (registry_.find(registry) != registry_.end()) in AdditionalUserAddedToSession() 83 registry_.insert(registry); in AdditionalUserAddedToSession()
|
/external/chromium_org/chromeos/process_proxy/ |
D | process_proxy_unittest.cc | 185 registry_ = ProcessProxyRegistry::Get(); in InitRegistryTest() 187 EXPECT_TRUE(registry_->OpenProcess( in InitRegistryTest() 193 test_runner_->StartRegistryTest(registry_); in InitRegistryTest() 197 registry_->CloseProcess(pid_); in EndRegistryTest() 230 ProcessProxyRegistry* registry_; member in chromeos::ProcessProxyTest
|
/external/chromium_org/components/policy/core/common/ |
D | mock_configuration_policy_provider.h | 40 ConfigurationPolicyProvider::Init(®istry_); in Init() 50 SchemaRegistry registry_; variable
|
/external/chromium_org/chrome/renderer/extensions/ |
D | v8_schema_registry.cc | 29 registry_(registry) { in SchemaRegistryNativeHandler() 38 registry_->GetSchema(*v8::String::Utf8Value(args[0]))); in GetSchema() 42 V8SchemaRegistry* registry_; member in extensions::__anon5fffa0910111::SchemaRegistryNativeHandler
|
/external/chromium_org/chrome/browser/tab_contents/ |
D | render_view_context_menu_unittest.cc | 247 registry_.reset(new ProtocolHandlerRegistry(profile(), NULL)); in SetUp() 251 registry_.reset(); in TearDown() 263 menu->protocol_handler_registry_ = registry_.get(); in CreateContextMenu() 269 scoped_ptr<ProtocolHandlerRegistry> registry_; member in RenderViewContextMenuPrefsTest
|
/external/chromium_org/chrome/browser/extensions/api/tab_capture/ |
D | tab_capture_registry.cc | 43 const TabCaptureRegistry* registry_; member in extensions::FullscreenObserver 71 registry_(registry) { in FullscreenObserver() 81 registry_->DispatchStatusChangeEvent(request_); in DidShowFullscreenWidget() 87 registry_->DispatchStatusChangeEvent(request_); in DidDestroyFullscreenWidget()
|
/external/open-vcdiff/gflags/src/ |
D | gflags.cc | 883 explicit CommandLineFlagParser(FlagRegistry* reg) : registry_(reg) {} in CommandLineFlagParser() 934 FlagRegistry* const registry_; member in __anond2d8299d0111::CommandLineFlagParser 990 registry_->Lock(); in ParseNewCommandLineFlags() 1017 CommandLineFlag* flag = registry_->SplitArgumentLocked(arg, &key, &value, in ParseNewCommandLineFlags() 1065 registry_->Unlock(); in ParseNewCommandLineFlags() 1106 CommandLineFlag* flag = registry_->FindFlagLocked(flagname); in ProcessFromenvLocked() 1141 if (value && !registry_->SetFlagLocked(flag, value, set_mode, &msg)) { in ProcessSingleOptionLocked() 1164 FlagRegistryLock frl(registry_); in ValidateAllFlags() 1165 for (FlagRegistry::FlagConstIterator i = registry_->flags_.begin(); in ValidateAllFlags() 1166 i != registry_->flags_.end(); ++i) { in ValidateAllFlags() [all …]
|
/external/chromium/sdch/open-vcdiff/src/ |
D | gflags.cc | 883 explicit CommandLineFlagParser(FlagRegistry* reg) : registry_(reg) {} in CommandLineFlagParser() 934 FlagRegistry* const registry_; member in google::__anon3bd90a5e0111::CommandLineFlagParser 990 registry_->Lock(); in ParseNewCommandLineFlags() 1017 CommandLineFlag* flag = registry_->SplitArgumentLocked(arg, &key, &value, in ParseNewCommandLineFlags() 1065 registry_->Unlock(); in ParseNewCommandLineFlags() 1106 CommandLineFlag* flag = registry_->FindFlagLocked(flagname); in ProcessFromenvLocked() 1141 if (value && !registry_->SetFlagLocked(flag, value, set_mode, &msg)) { in ProcessSingleOptionLocked() 1164 FlagRegistryLock frl(registry_); in ValidateAllFlags() 1165 for (FlagRegistry::FlagConstIterator i = registry_->flags_.begin(); in ValidateAllFlags() 1166 i != registry_->flags_.end(); ++i) { in ValidateAllFlags() [all …]
|
/external/chromium_org/chrome/browser/chromeos/login/ |
D | user_image_sync_observer.cc | 79 user_prefs::PrefRegistrySyncable* registry_) { in RegisterProfilePrefs() argument 80 registry_->RegisterDictionaryPref( in RegisterProfilePrefs()
|