Searched refs:provider_ (Results 1 - 25 of 117) sorted by relevance

12345

/external/chromium_org/content/renderer/
H A Dwebgraphicscontext3d_provider_impl.cc13 : provider_(provider) {}
18 return provider_->WebContext3D();
22 return provider_->GrContext();
/external/chromium_org/extensions/browser/api/system_memory/
H A Dmemory_info_provider.cc15 MemoryInfoProvider::provider_ = LAZY_INSTANCE_INITIALIZER;
26 provider_.Get() = provider;
38 if (provider_.Get().get() == NULL)
39 provider_.Get() = new MemoryInfoProvider();
40 return provider_.Get().get();
/external/chromium_org/content/browser/vibration/
H A Dvibration_message_filter.cc23 provider_.reset(GetContentClient()->browser()->OverrideVibrationProvider());
24 if (!provider_.get())
25 provider_.reset(CreateProvider());
43 if (!provider_.get())
51 provider_->Vibrate(milliseconds);
55 if (!provider_.get())
58 provider_->CancelVibration();
H A Dvibration_message_filter.h28 scoped_ptr<VibrationProvider> provider_; member in class:content::VibrationMessageFilter
/external/chromium_org/chrome/renderer/spellchecker/
H A Dspellcheck_provider_hunspell_unittest.cc24 provider_.RequestTextChecking(blink::WebString("hello"),
28 EXPECT_EQ(provider_.messages_.size(), 0U);
29 EXPECT_EQ(provider_.pending_text_request_size(), 0U);
39 provider_.ResetResult();
40 provider_.RequestTextChecking(
42 EXPECT_TRUE(provider_.text_.empty());
46 provider_.ResetResult();
47 provider_.RequestTextChecking(
49 EXPECT_TRUE(provider_.text_.empty());
53 provider_
[all...]
H A Dspellcheck_provider_mac_unittest.cc34 provider_.RequestTextChecking(blink::WebString("hello "),
38 EXPECT_EQ(provider_.messages_.size(), 1U);
39 EXPECT_EQ(provider_.pending_text_request_size(), 1U);
43 provider_.messages_[0], &read_parameters1);
47 FakeMessageArrival(&provider_, read_parameters1);
49 EXPECT_EQ(provider_.pending_text_request_size(), 0U);
54 provider_.RequestTextChecking(blink::WebString("hello "),
58 provider_.RequestTextChecking(blink::WebString("bye "),
64 EXPECT_EQ(provider_.messages_.size(), 2U);
65 EXPECT_EQ(provider_
[all...]
/external/chromium_org/ui/base/dragdrop/
H A Dos_exchange_data.cc21 OSExchangeData::OSExchangeData() : provider_(CreateProvider()) {
24 OSExchangeData::OSExchangeData(Provider* provider) : provider_(provider) {
31 provider_->MarkOriginatedFromRenderer();
35 return provider_->DidOriginateFromRenderer();
39 provider_->SetString(data);
43 provider_->SetURL(url, title);
47 provider_->SetFilename(path);
52 provider_->SetFilenames(filenames);
57 provider_->SetPickledData(format, data);
61 return provider_
[all...]
/external/chromium_org/cc/layers/
H A Dvideo_frame_provider_client_impl.cc26 : active_video_layer_(NULL), provider_(provider) {
31 provider_->SetVideoFrameProviderClient(this);
43 if (!provider_)
45 provider_->SetVideoFrameProviderClient(NULL);
46 provider_ = NULL;
52 if (!provider_)
55 return provider_->GetCurrentFrame();
61 provider_->PutCurrentFrame(frame);
73 provider_ = NULL;
H A Dvideo_layer.cc19 : provider_(provider), video_rotation_(video_rotation) {
20 DCHECK(provider_);
27 VideoLayerImpl::Create(tree_impl, id(), provider_, video_rotation_);
/external/chromium_org/chrome/browser/sync/glue/
H A Dlocal_device_info_provider_unittest.cc28 provider_.reset(new LocalDeviceInfoProviderImpl());
32 provider_.reset();
39 provider_->Initialize(kLocalDeviceGuid, kSigninScopedDeviceId);
45 provider_->RegisterOnInitializedCallback(
56 scoped_ptr<LocalDeviceInfoProviderImpl> provider_; member in class:browser_sync::LocalDeviceInfoProviderTest
72 ASSERT_EQ(NULL, provider_->GetLocalDeviceInfo());
76 const DeviceInfo* local_device_info = provider_->GetLocalDeviceInfo();
91 ASSERT_EQ(std::string(), provider_->GetLocalSyncCacheGUID());
95 EXPECT_EQ(std::string(kLocalDeviceGuid), provider_->GetLocalSyncCacheGUID());
/external/chromium_org/components/policy/core/common/
H A Dasync_policy_provider_unittest.cc90 scoped_ptr<AsyncPolicyProvider> provider_; member in class:policy::AsyncPolicyProviderTest
108 provider_.reset(new AsyncPolicyProvider(
110 provider_->Init(&schema_registry_);
112 EXPECT_TRUE(provider_->policies().Equals(initial_bundle_));
122 if (provider_) {
123 provider_->Shutdown();
124 provider_.reset();
135 provider_->AddObserver(&observer);
136 EXPECT_CALL(observer, OnUpdatePolicy(provider_.get())).Times(1);
137 provider_
[all...]
H A Dconfiguration_policy_provider_test.cc196 provider_.reset(test_harness_->CreateProvider(&schema_registry_,
198 provider_->Init(&schema_registry_);
204 EXPECT_TRUE(provider_->policies().Equals(kEmptyBundle));
209 provider_->Shutdown();
210 provider_.reset();
221 provider_->RefreshPolicies();
230 EXPECT_TRUE(provider_->policies().Equals(expected_bundle));
236 provider_->RefreshPolicies();
239 EXPECT_TRUE(provider_->policies().Equals(kEmptyBundle));
321 EXPECT_TRUE(provider_
[all...]
/external/chromium_org/components/policy/core/browser/
H A Dconfiguration_policy_pref_store_test.cc29 EXPECT_CALL(provider_, IsInitializationComplete(_))
31 provider_.Init();
32 providers_.push_back(&provider_);
44 provider_.Shutdown();
49 provider_.UpdateChromePolicy(policy);
/external/chromium_org/chrome/browser/chromeos/settings/
H A Dstub_cros_settings_provider_unittest.cc29 : provider_(new StubCrosSettingsProvider(
43 const base::Value* pref = provider_->Get(prefName);
56 scoped_ptr<StubCrosSettingsProvider> provider_; member in class:chromeos::StubCrosSettingsProviderTest
62 ASSERT_TRUE(provider_->HandlesSetting(kDeviceOwner));
63 ASSERT_FALSE(provider_->HandlesSetting("no.such.setting"));
78 provider_->Set(kDeviceOwner, owner_value);
86 ASSERT_FALSE(provider_->Get(kReleaseChannel));
87 provider_->Set(kReleaseChannel, pref_value);
95 provider_->PrepareTrustedValues(base::Bind(&Fail));
H A Ddevice_settings_provider_unittest.cc51 provider_.reset(
65 scoped_ptr<DeviceSettingsProvider> provider_; member in class:chromeos::DeviceSettingsProviderTest
82 provider_->PrepareTrustedValues(base::Closure()));
83 const base::Value* value = provider_->Get(kStatsReportingPref);
97 provider_->PrepareTrustedValues(base::Closure()));
98 const base::Value* value = provider_->Get(kReleaseChannel);
108 provider_->Set(kReleaseChannel, new_value);
117 const base::Value* saved_value = provider_->Get(kReleaseChannel);
127 provider_->Set(kStatsReportingPref, value);
136 const base::Value* saved_value = provider_
[all...]
/external/chromium_org/chrome/browser/content_settings/
H A Dcontent_settings_default_provider_unittest.cc25 provider_(profile_.GetPrefs(), false) {
28 provider_.ShutdownOnUIThread();
35 content_settings::DefaultProvider provider_; member in class:DefaultProviderTest
41 GetContentSetting(&provider_,
47 provider_.SetWebsiteSetting(
54 GetContentSetting(&provider_,
62 GetContentSetting(&provider_,
68 provider_.SetWebsiteSetting(
75 GetContentSetting(&provider_,
83 GetContentSettingValue(&provider_,
[all...]
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
H A Ddatachannel_unittest.cc70 &provider_, cricket::DCT_SCTP, "test", init_)) {
74 provider_.set_transport_available(true);
79 provider_.set_ready_to_send(true);
88 FakeDataChannelProvider provider_; member in class:SctpDataChannelTest
95 provider_.set_transport_available(true);
97 &provider_, cricket::DCT_SCTP, "test1", init_);
99 EXPECT_TRUE(provider_.IsConnected(dc.get()));
101 EXPECT_FALSE(provider_.IsSendStreamAdded(dc->id()));
102 EXPECT_FALSE(provider_.IsRecvStreamAdded(dc->id()));
105 EXPECT_TRUE(provider_
[all...]
H A Ddtmfsender.cc97 provider_(provider),
102 if (provider_) {
103 ASSERT(provider_->GetOnDestroyedSignal() != NULL);
104 provider_->GetOnDestroyedSignal()->connect(
110 if (provider_) {
111 ASSERT(provider_->GetOnDestroyedSignal() != NULL);
112 provider_->GetOnDestroyedSignal()->disconnect(this);
127 if (!provider_) {
130 return provider_->CanInsertDtmf(track_->id());
221 if (!provider_) {
[all...]
/external/chromium_org/chrome/browser/autocomplete/
H A Dzero_suggest_provider_unittest.cc57 scoped_refptr<ZeroSuggestProvider> provider_; member in class:ZeroSuggestProviderTest
89 provider_ = ZeroSuggestProvider::Create(this, turl_model, &profile_);
94 provider_ = NULL;
134 provider_->Start(input, false);
137 EXPECT_TRUE(provider_->matches().empty());
150 EXPECT_EQ(4U, provider_->matches().size()); // 3 results + verbatim
171 provider_->Start(input, false);
174 ASSERT_EQ(4U, provider_->matches().size());
175 EXPECT_EQ(base::ASCIIToUTF16("search1"), provider_->matches()[1].contents);
176 EXPECT_EQ(base::ASCIIToUTF16("search2"), provider_
[all...]
/external/chromium_org/content/browser/gamepad/
H A Dgamepad_service.cc29 : provider_(new GamepadProvider(fetcher.Pass())),
57 if (!provider_)
58 provider_.reset(new GamepadProvider);
66 provider_->RegisterForUserGesture(
72 provider_->Resume();
76 DCHECK(provider_);
83 provider_->Pause();
91 provider_->Pause();
98 provider_->RegisterForUserGesture(closure);
102 provider_
[all...]
/external/chromium_org/content/browser/screen_orientation/
H A Dscreen_orientation_dispatcher_host_impl.cc30 provider_.reset(ScreenOrientationProvider::Create(this, web_contents));
61 if (!provider_ || details.is_in_page)
63 provider_->UnlockOrientation();
107 if (provider_)
108 provider_->OnOrientationChange();
120 if (!provider_) {
130 provider_->LockOrientation(request_id, orientation);
140 if (!provider_)
143 provider_->UnlockOrientation();
/external/chromium_org/extensions/browser/api/system_cpu/
H A Dcpu_info_provider.cc14 base::LazyInstance<scoped_refptr<CpuInfoProvider> > CpuInfoProvider::provider_ =
26 provider_.Get() = provider;
71 if (provider_.Get().get() == NULL)
72 provider_.Get() = new CpuInfoProvider();
73 return provider_.Get().get();
/external/chromium_org/chrome/browser/extensions/
H A Dstandard_management_policy_provider_unittest.cc27 provider_(settings_.get()) {}
53 StandardManagementPolicyProvider provider_; member in class:extensions::StandardManagementPolicyProviderTest
63 EXPECT_TRUE(provider_.UserMayLoad(extension.get(), &error16));
68 EXPECT_FALSE(provider_.UserMayModifySettings(extension.get(), &error16));
70 EXPECT_TRUE(provider_.MustRemainEnabled(extension.get(), &error16));
81 EXPECT_TRUE(provider_.UserMayLoad(extension.get(), &error16));
83 EXPECT_TRUE(provider_.UserMayModifySettings(extension.get(), &error16));
85 EXPECT_FALSE(provider_.MustRemainEnabled(extension.get(), &error16));
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dcertificate_manager_browsertest.cc40 EXPECT_CALL(provider_, IsInitializationComplete(_))
42 policy::BrowserPolicyConnector::SetPolicyProviderForTesting(&provider_); member in class:CertificateManagerBrowserTest::policy::BrowserPolicyConnector
55 provider_.UpdateChromePolicy(policy);
76 policy::MockConfigurationPolicyProvider provider_; member in class:CertificateManagerBrowserTest
/external/chromium_org/content/browser/geolocation/
H A Dwifi_data_provider_common_unittest.cc117 provider_ = new WifiDataProviderCommonWithMock;
118 wlan_api_ = provider_->new_wlan_api_.get();
119 polling_policy_ = provider_->new_polling_policy_.get();
120 provider_->AddCallback(&loop_quitter_.callback_);
123 provider_->RemoveCallback(&loop_quitter_.callback_);
124 provider_->StopDataProvider();
125 provider_ = NULL;
131 scoped_refptr<WifiDataProviderCommonWithMock> provider_; member in class:content::GeolocationWifiDataProviderCommonTest
139 EXPECT_TRUE(NULL != provider_.get());
148 provider_
[all...]

Completed in 512 milliseconds

12345