Searched refs:registry_ (Results 1 - 25 of 63) sorted by relevance

123

/external/chromium_org/chrome/browser/policy/
H A Dschema_registry_service.cc17 : registry_(registry.Pass()) {
19 registry_->RegisterComponent(PolicyNamespace(POLICY_DOMAIN_CHROME, ""),
22 registry_->SetReady(POLICY_DOMAIN_CHROME);
24 global_registry->Track(registry_.get());
H A Dschema_registry_service.h29 SchemaRegistry* registry() const { return registry_.get(); }
32 scoped_ptr<SchemaRegistry> registry_; member in class:policy::SchemaRegistryService
/external/chromium_org/chrome/browser/extensions/api/dial/
H A Ddial_registry_unittest.cc90 registry_.reset(new MockDialRegistry(&mock_observer_,
99 scoped_ptr<MockDialRegistry> registry_; member in class:extensions::DialRegistryTest
114 EXPECT_CALL(registry_->mock_service(),
117 EXPECT_CALL(registry_->mock_service(),
125 EXPECT_CALL(registry_->mock_service(), Discover())
128 EXPECT_FALSE(registry_->repeating_timer_.IsRunning());
129 registry_->OnListenerAdded();
130 EXPECT_TRUE(registry_->repeating_timer_.IsRunning());
131 registry_->OnListenerAdded();
132 EXPECT_TRUE(registry_
[all...]
/external/chromium_org/chrome/browser/chromeos/login/test/
H A Dapp_window_waiter.cc13 : registry_(registry), app_id_(app_id), window_(NULL) {
14 registry_->AddObserver(this);
18 registry_->RemoveObserver(this);
22 window_ = registry_->GetCurrentAppWindowForApp(app_id_);
H A Dapp_window_waiter.h35 extensions::AppWindowRegistry* registry_; member in class:chromeos::AppWindowWaiter
/external/chromium_org/chrome/browser/extensions/api/mdns/
H A Ddns_sd_registry_unittest.cc71 registry_.reset(new TestDnsSdRegistry());
72 registry_->AddObserver(&observer_);
76 scoped_ptr<TestDnsSdRegistry> registry_; member in class:extensions::DnsSdRegistryTest
88 registry_->RegisterDnsSdListener(service_type);
89 registry_->RegisterDnsSdListener(service_type);
90 registry_->UnregisterDnsSdListener(service_type);
91 EXPECT_EQ(1, registry_->GetServiceListenerCount(service_type));
93 registry_->UnregisterDnsSdListener(service_type);
94 EXPECT_EQ(0, registry_->GetServiceListenerCount(service_type));
121 registry_
[all...]
/external/chromium_org/content/renderer/media/webrtc/
H A Dvideo_destination_handler_unittest.cc40 registry_(new MockMediaStreamRegistry()) {
41 registry_->Init(kTestStreamUrl);
45 registry_.reset();
56 scoped_ptr<MockMediaStreamRegistry> registry_; member in class:content::VideoDestinationHandlerTest
62 EXPECT_FALSE(VideoDestinationHandler::Open(registry_.get(),
64 EXPECT_TRUE(VideoDestinationHandler::Open(registry_.get(),
72 EXPECT_TRUE(VideoDestinationHandler::Open(registry_.get(),
77 const blink::WebMediaStream test_stream = registry_->test_stream();
/external/chromium_org/content/browser/streams/
H A Dstream_unittest.cc20 registry_.reset(new StreamRegistry());
36 scoped_ptr<StreamRegistry> registry_; member in class:content::StreamTest
118 new Stream(registry_.get(), &writer, url));
129 new Stream(registry_.get(), &writer, url));
141 new Stream(registry_.get(), &writer, url));
155 new Stream(registry_.get(), &writer, url));
182 new Stream(registry_.get(), &writer, url));
199 new Stream(registry_.get(), &writer, url));
201 scoped_refptr<Stream> stream2 = registry_->GetStream(url);
210 new Stream(registry_
[all...]
H A Dstream_context.h35 StreamRegistry* registry() const { return registry_.get(); }
48 scoped_ptr<StreamRegistry> registry_; member in class:content::StreamContext
H A Dstream_url_request_job_unittest.cc38 MockProtocolHandler(StreamRegistry* registry) : registry_(registry) {}
44 scoped_refptr<Stream> stream = registry_->GetStream(request->url());
51 StreamRegistry* registry_; member in class:content::StreamURLRequestJobTest::MockProtocolHandler
57 registry_.reset(new StreamRegistry());
60 "blob", new MockProtocolHandler(registry_.get()));
97 scoped_ptr<StreamRegistry> registry_; member in class:content::StreamURLRequestJobTest
106 new Stream(registry_.get(), NULL, kStreamURL));
119 new Stream(registry_.get(), NULL, kStreamURL));
149 new Stream(registry_.get(), NULL, kStreamURL));
166 new Stream(registry_
[all...]
H A Dstream.cc33 registry_(registry),
50 registry_->RegisterStream(this);
80 registry_->UnregisterStream(url());
88 if (!registry_->UpdateMemoryUsage(url(), current_buffered_bytes, size)) {
96 // one in |registry_| become inconsistent.
143 registry_->UnregisterStream(url());
181 registry_->UnregisterStream(url());
/external/chromium_org/chrome/browser/custom_handlers/
H A Dregister_protocol_handler_permission_request.cc33 : registry_(registry),
47 ProtocolHandler old_handler = registry_->GetHandlerFor(handler_.protocol());
62 ProtocolHandler old_handler = registry_->GetHandlerFor(handler_.protocol());
84 registry_->OnAcceptRegisterProtocolHandler(handler_);
90 registry_->OnIgnoreRegisterProtocolHandler(handler_);
96 registry_->OnIgnoreRegisterProtocolHandler(handler_);
H A Dregister_protocol_handler_infobar_delegate.cc49 registry_(registry),
74 ProtocolHandler old_handler = registry_->GetHandlerFor(handler_.protocol());
101 registry_->OnAcceptRegisterProtocolHandler(handler_);
108 registry_->OnIgnoreRegisterProtocolHandler(handler_);
H A Dregister_protocol_handler_infobar_delegate.h48 ProtocolHandlerRegistry* registry_; member in class:RegisterProtocolHandlerInfoBarDelegate
/external/chromium_org/content/renderer/media/
H A Dvideo_source_handler_unittest.cc48 registry_(new MockMediaStreamRegistry()) {
49 handler_.reset(new VideoSourceHandler(registry_.get()));
50 registry_->Init(kTestStreamUrl);
51 registry_->AddVideoTrack(kTestVideoTrackId);
55 registry_.reset();
63 scoped_ptr<MockMediaStreamRegistry> registry_; member in class:content::VideoSourceHandlerTest
H A Dvideo_source_handler.cc74 : registry_(registry) {
110 if (registry_) {
111 stream = registry_->GetMediaStream(url);
/external/chromium_org/components/policy/core/common/
H A Dmock_configuration_policy_provider.h40 ConfigurationPolicyProvider::Init(&registry_);
50 SchemaRegistry registry_; member in class:policy::MockConfigurationPolicyProvider
/external/chromium_org/chrome/browser/extensions/
H A Dextension_disabled_ui_browsertest.cc47 registry_ = ExtensionRegistry::Get(browser()->profile());
77 size_t size_before = registry_->enabled_extensions().size();
81 if (registry_->enabled_extensions().size() != size_before + 1)
92 size_t size_before = registry_->enabled_extensions().size();
97 registry_->enabled_extensions().size());
98 if (registry_->disabled_extensions().size() != 1u)
101 return registry_->disabled_extensions().begin()->get();
113 ExtensionRegistry* registry_; member in class:ExtensionDisabledGlobalErrorTest
126 const size_t size_before = registry_->enabled_extensions().size();
129 EXPECT_EQ(size_before + 1, registry_
[all...]
H A Dextension_service_test_base.h95 ExtensionRegistry* registry() { return registry_; }
134 extensions::ExtensionRegistry* registry_; member in class:extensions::ExtensionServiceTestBase
/external/chromium_org/sync/internal_api/
H A Dsync_context_proxy_impl_unittest.cc28 registry_.reset(new ModelTypeRegistry(
31 new SyncContextProxyImpl(sync_task_runner_, registry_->AsWeakPtr()));
36 registry_.reset();
42 void DisableSync() { registry_.reset(); }
54 scoped_ptr<ModelTypeRegistry> registry_; member in class:syncer::SyncContextProxyImplTest
/external/chromium_org/extensions/browser/
H A Druntime_data.cc13 RuntimeData::RuntimeData(ExtensionRegistry* registry) : registry_(registry) {
14 registry_->AddObserver(this);
18 registry_->RemoveObserver(this);
H A Druntime_data_unittest.cc34 RuntimeDataTest() : registry_(NULL), runtime_data_(&registry_) {}
38 ExtensionRegistry registry_; member in class:extensions::__anon8184::RuntimeDataTest
/external/chromium_org/chrome/browser/themes/
H A Dtheme_service_unittest.cc35 registry_(NULL) {}
93 registry_ = ExtensionRegistry::Get(profile_.get());
94 ASSERT_TRUE(registry_);
103 ExtensionRegistry* registry_; member in class:theme_service_internal::ThemeServiceTest
157 EXPECT_TRUE(registry_->GetExtensionById(extension1_id,
165 EXPECT_TRUE(registry_->GetExtensionById(extension2_id,
177 EXPECT_TRUE(registry_->GetExtensionById(extension1_id,
212 EXPECT_TRUE(registry_->GetExtensionById(extension1_id,
227 EXPECT_TRUE(registry_->GetExtensionById(extension1_id,
233 EXPECT_TRUE(registry_
[all...]
/external/chromium_org/chrome/browser/autocomplete/
H A Dkeyword_extensions_delegate_impl_unittest.cc37 ExtensionRegistry* registry_; member in class:extensions::__anon2919::ScopedExtensionLoadObserver
46 : registry_(registry),
48 registry_->AddObserver(this);
52 registry_->RemoveObserver(this);
/external/chromium_org/chrome/browser/extensions/api/declarative/
H A Drules_registry_with_cache_unittest.cc42 registry_(new TestRulesRegistry(profile(),
81 return AddRule(extension_id, rule_id, registry_.get());
88 return registry_->RemoveRules(extension_id, remove_rules);
99 return GetNumberOfRules(extension_id, registry_.get());
107 scoped_refptr<TestRulesRegistry> registry_; member in class:extensions::RulesRegistryWithCacheTest
115 registry_->SetResult("Error");
118 registry_->SetResult(std::string());
143 registry_->SetResult("Error");
146 registry_->SetResult(std::string());
168 registry_
[all...]

Completed in 373 milliseconds

123