/external/chromium_org/content/browser/gamepad/ |
gamepad_service.cc | 21 provider_(new GamepadProvider(fetcher.Pass())) { 38 if (!provider_) 39 provider_.reset(new GamepadProvider); 40 provider_->Resume(); 50 provider_->Pause(); 56 provider_->RegisterForUserGesture(closure); 60 provider_.reset(); 66 return provider_->GetSharedMemoryHandleForProcess(handle);
|
/external/chromium_org/webkit/common/gpu/ |
webgraphicscontext3d_provider_impl.cc | 14 : provider_(provider) {} 19 return provider_->Context3d(); 23 return provider_->GrContext();
|
/external/chromium_org/chrome/browser/policy/ |
configuration_policy_pref_store_test.cc | 23 EXPECT_CALL(provider_, IsInitializationComplete(_)) 25 provider_.Init(); 26 providers_.push_back(&provider_); 35 provider_.Shutdown(); 40 provider_.UpdateChromePolicy(policy);
|
/external/chromium_org/content/browser/vibration/ |
vibration_message_filter.cc | 22 provider_.reset(GetContentClient()->browser()->OverrideVibrationProvider()); 23 if (!provider_.get()) 24 provider_.reset(CreateProvider()); 45 if (!provider_.get()) 53 provider_->Vibrate(milliseconds); 57 if (!provider_.get()) 60 provider_->CancelVibration();
|
/external/chromium_org/ui/base/dragdrop/ |
os_exchange_data.cc | 30 OSExchangeData::OSExchangeData() : provider_(CreateProvider()) { 33 OSExchangeData::OSExchangeData(Provider* provider) : provider_(provider) { 40 provider_->SetString(data); 44 provider_->SetURL(url, title); 48 provider_->SetFilename(path); 53 provider_->SetFilenames(filenames); 58 provider_->SetPickledData(format, data); 62 return provider_->GetString(data); 68 return provider_->GetURLAndTitle(policy, url, title); 72 return provider_->GetFilename(path) [all...] |
/external/chromium_org/chrome/renderer/spellchecker/ |
spellcheck_provider_hunspell_unittest.cc | 21 provider_.RequestTextChecking(blink::WebString("hello"), 25 EXPECT_EQ(provider_.messages_.size(), 0U); 26 EXPECT_EQ(provider_.pending_text_request_size(), 0U); 36 provider_.ResetResult(); 37 provider_.RequestTextChecking( 39 EXPECT_TRUE(provider_.text_.empty()); 43 provider_.ResetResult(); 44 provider_.RequestTextChecking( 46 EXPECT_TRUE(provider_.text_.empty()); 50 provider_.ResetResult() [all...] |
spellcheck_provider_mac_unittest.cc | 56 provider_.RequestTextChecking(blink::WebString("hello "), 60 EXPECT_EQ(provider_.messages_.size(), 1U); 61 EXPECT_EQ(provider_.pending_text_request_size(), 1U); 64 ReadRequestTextCheck(provider_.messages_[0]); 67 FakeMessageArrival(&provider_, read_parameters); 69 EXPECT_EQ(provider_.pending_text_request_size(), 0U); 74 provider_.RequestTextChecking(blink::WebString("hello "), 78 provider_.RequestTextChecking(blink::WebString("bye "), 84 EXPECT_EQ(provider_.messages_.size(), 2U); 85 EXPECT_EQ(provider_.pending_text_request_size(), 2U) [all...] |
/external/chromium_org/chrome/browser/ui/gtk/ |
gtk_theme_service_unittest.cc | 19 GtkThemeServiceTest() : provider_(NULL) {} 26 provider_ = GtkThemeService::GetFrom(&profile_); 32 GtkThemeService* provider_; member in class:GtkThemeServiceTest 42 EXPECT_EQ(provider_->GetColor(i), ThemeProperties::GetDefaultColor(i)) 56 GtkWidget* fake_label = provider_->fake_label(); 59 EXPECT_EQ(provider_->GetColor(ThemeProperties::COLOR_TAB_TEXT),
|
/external/chromium_org/cc/layers/ |
video_frame_provider_client_impl.cc | 25 : provider_(provider) { 30 provider_->SetVideoFrameProviderClient(this); 42 if (!provider_) 44 provider_->SetVideoFrameProviderClient(NULL); 45 provider_ = NULL; 51 if (!provider_) 54 return provider_->GetCurrentFrame(); 60 provider_->PutCurrentFrame(frame); 72 provider_ = NULL;
|
video_layer.cc | 15 VideoLayer::VideoLayer(VideoFrameProvider* provider) : provider_(provider) { 16 DCHECK(provider_); 22 return VideoLayerImpl::Create(tree_impl, id(), provider_).PassAs<LayerImpl>();
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
datachannel_unittest.cc | 45 DataChannel::Create(&provider_, cricket::DCT_SCTP, "test", &init_)) { 49 provider_.set_transport_available(true); 54 provider_.set_ready_to_send(true); 63 FakeDataChannelProvider provider_; member in class:SctpDataChannelTest 70 provider_.set_transport_available(true); 72 &provider_, cricket::DCT_SCTP, "test1", &init_); 74 EXPECT_TRUE(provider_.IsConnected(dc.get())); 76 EXPECT_FALSE(provider_.IsSendStreamAdded(dc->id())); 77 EXPECT_FALSE(provider_.IsRecvStreamAdded(dc->id())); 80 EXPECT_TRUE(provider_.IsSendStreamAdded(dc->id())) [all...] |
dtmfsender.cc | 97 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/components/policy/core/common/ |
async_policy_provider_unittest.cc | 90 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_->RefreshPolicies() [all...] |
/external/chromium_org/chrome/browser/extensions/api/system_cpu/ |
cpu_info_provider.cc | 15 CpuInfoProvider::provider_ = LAZY_INSTANCE_INITIALIZER; 28 provider_.Get() = provider; 40 if (provider_.Get().get() == NULL) 41 provider_.Get() = new CpuInfoProvider(); 42 return provider_.Get();
|
cpu_info_provider.h | 41 static base::LazyInstance<scoped_refptr<CpuInfoProvider> > provider_; member in class:extensions::CpuInfoProvider
|
/external/chromium_org/chrome/browser/extensions/api/system_memory/ |
memory_info_provider.cc | 15 MemoryInfoProvider::provider_ = LAZY_INSTANCE_INITIALIZER; 28 provider_.Get() = provider; 40 if (provider_.Get().get() == NULL) 41 provider_.Get() = new MemoryInfoProvider(); 42 return provider_.Get();
|
memory_info_provider.h | 40 static base::LazyInstance<scoped_refptr<MemoryInfoProvider> > provider_; member in class:extensions::MemoryInfoProvider
|
/external/chromium_org/chrome/test/mini_installer_test/ |
test.cc | 46 provider_ = new InstallerPathProvider(); 48 provider_ = new InstallerPathProvider(build_under_test); 49 ASSERT_FALSE(provider_->GetCurrentBuild().empty()); 50 ASSERT_TRUE(provider_->GetFullInstaller(&full_installer_)); 51 ASSERT_TRUE(provider_->GetPreviousInstaller(&previous_installer_)); 52 ASSERT_TRUE(provider_->GetDiffInstaller(&diff_installer_)); 54 provider_->GetSignedStandaloneInstaller(&standalone_installer_)); 55 ASSERT_TRUE(provider_->GetMiniInstaller(&mini_installer_)); 59 delete provider_; 60 provider_ = NULL 63 static InstallerPathProvider* provider_; member in class:__anon7032::MiniInstallTest 71 InstallerPathProvider* MiniInstallTest::provider_; member in class:__anon7032::MiniInstallTest [all...] |
/external/chromium/chrome/browser/policy/ |
configuration_policy_provider.cc | 55 : provider_(NULL), 59 if (provider_) 60 provider_->RemoveObserver(this); 66 provider_ = provider; 68 provider_->AddObserver(this); 77 provider_->RemoveObserver(this); 78 provider_ = NULL;
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
stub_cros_settings_provider_unittest.cc | 29 : provider_(new StubCrosSettingsProvider( 43 const 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")); 77 provider_->Set(kDeviceOwner, owner_value); 85 ASSERT_FALSE(provider_->Get(kReleaseChannel)); 86 provider_->Set(kReleaseChannel, pref_value); 94 provider_->PrepareTrustedValues(base::Bind(&Fail));
|
device_settings_provider_unittest.cc | 48 provider_.reset( 62 scoped_ptr<DeviceSettingsProvider> provider_; member in class:chromeos::DeviceSettingsProviderTest 79 provider_->PrepareTrustedValues(base::Closure())); 80 const base::Value* value = provider_->Get(kStatsReportingPref); 94 provider_->PrepareTrustedValues(base::Closure())); 95 const base::Value* value = provider_->Get(kReleaseChannel); 105 provider_->Set(kReleaseChannel, new_value); 114 const base::Value* saved_value = provider_->Get(kReleaseChannel); 124 provider_->Set(kStatsReportingPref, value); 133 const base::Value* saved_value = provider_->Get(kStatsReportingPref) [all...] |
/external/chromium_org/chrome/browser/extensions/ |
standard_management_policy_provider_unittest.cc | 24 provider_(prefs()) {} 49 StandardManagementPolicyProvider provider_; member in class:extensions::StandardManagementPolicyProviderTest 59 EXPECT_TRUE(provider_.UserMayLoad(extension.get(), &error16)); 64 EXPECT_FALSE(provider_.UserMayModifySettings(extension.get(), &error16)); 66 EXPECT_TRUE(provider_.MustRemainEnabled(extension.get(), &error16)); 77 EXPECT_TRUE(provider_.UserMayLoad(extension.get(), &error16)); 79 EXPECT_TRUE(provider_.UserMayModifySettings(extension.get(), &error16)); 81 EXPECT_FALSE(provider_.MustRemainEnabled(extension.get(), &error16));
|
/external/chromium/chrome/browser/ui/gtk/ |
gtk_theme_service_unittest.cc | 28 GtkThemeServiceTest() : provider_(NULL) {} 35 provider_ = GtkThemeService::GetFrom(&profile_); 41 GtkThemeService* provider_; member in class:GtkThemeServiceTest 51 EXPECT_EQ(provider_->GetColor(i), ThemeService::GetDefaultColor(i)) 65 GtkWidget* fake_label = provider_->fake_label(); 68 EXPECT_EQ(provider_->GetColor(ThemeService::COLOR_TAB_TEXT),
|
/external/chromium_org/chrome/browser/content_settings/ |
content_settings_default_provider_unittest.cc | 25 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/content/browser/geolocation/ |
wifi_data_provider_common_unittest.cc | 116 provider_ = new WifiDataProviderCommonWithMock; 117 wlan_api_ = provider_->new_wlan_api_.get(); 118 polling_policy_ = provider_->new_polling_policy_.get(); 119 provider_->AddCallback(&loop_quitter_.callback_); 122 provider_->RemoveCallback(&loop_quitter_.callback_); 123 provider_->StopDataProvider(); 124 provider_ = NULL; 130 scoped_refptr<WifiDataProviderCommonWithMock> provider_; member in class:content::GeolocationWifiDataProviderCommonTest 138 EXPECT_TRUE(NULL != provider_.get()); 147 provider_->StartDataProvider() [all...] |