Home
last modified time | relevance | path

Searched refs:provider_ (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium/chrome/browser/autocomplete/
Dsearch_provider_unittest.cc92 scoped_refptr<SearchProvider> provider_; member in SearchProviderTest
152 provider_ = new SearchProvider(this, &profile_); in SetUp()
158 if (quit_when_done_ && provider_->done()) { in OnProviderUpdate()
165 if (provider_->done()) in RunTillProviderDone()
182 provider_->Start(input, minimal_changes); in QueryForInput()
195 provider_ = NULL; in TearDown()
200 for (ACMatches::const_iterator i = provider_->matches().begin(); in FindMatchWithDestination()
201 i != provider_->matches().end(); ++i) { in FindMatchWithDestination()
268 ASSERT_FALSE(provider_->matches().empty()); in TEST_F()
270 provider_->matches()[0].type); in TEST_F()
[all …]
Dhistory_contents_provider_unittest.cc44 provider_->Start(input, minimal_changes); in RunQuery()
52 const ACMatches& matches() const { return provider_->matches(); } in matches()
56 HistoryContentsProvider* provider() const { return provider_.get(); } in provider()
85 provider_ = new HistoryContentsProvider(this, profile_.get()); in SetUp()
89 provider_ = NULL; in TearDown()
106 scoped_refptr<HistoryContentsProvider> provider_; member in __anon9002c8a40111::HistoryContentsProviderTest
Dhistory_quick_provider_unittest.cc93 provider_ = new HistoryQuickProvider(this, profile_.get()); in SetUp()
98 provider_ = NULL; in TearDown()
121 scoped_refptr<HistoryQuickProvider> provider_; member in HistoryQuickProviderTest
155 provider_->SetIndexForTesting(index); in FillData()
185 provider_->Start(input, false); in RunTest()
186 EXPECT_TRUE(provider_->done()); in RunTest()
188 ac_matches_ = provider_->matches(); in RunTest()
Dkeyword_provider.cc30 : provider_(provider) { } in ScopedEndExtensionKeywordMode()
32 if (provider_) in ~ScopedEndExtensionKeywordMode()
33 provider_->MaybeEndExtensionKeywordMode(); in ~ScopedEndExtensionKeywordMode()
37 provider_ = NULL; in StayInKeywordMode()
40 KeywordProvider* provider_; member in KeywordProvider::ScopedEndExtensionKeywordMode
/external/chromium/chrome/browser/policy/
Dconfiguration_policy_provider.cc55 : provider_(NULL), in ConfigurationPolicyObserverRegistrar()
59 if (provider_) in ~ConfigurationPolicyObserverRegistrar()
60 provider_->RemoveObserver(this); in ~ConfigurationPolicyObserverRegistrar()
66 provider_ = provider; in Init()
68 provider_->AddObserver(this); in Init()
77 provider_->RemoveObserver(this); in OnProviderGoingAway()
78 provider_ = NULL; in OnProviderGoingAway()
Dconfiguration_policy_provider_win_unittest.cc154 scoped_ptr<ConfigurationPolicyProviderWin> provider_; member in policy::ConfigurationPolicyProviderWinTest
197 provider_.reset(new ConfigurationPolicyProviderWin( in SetUp()
299 provider_->Provide(store_.get()); in TEST_P()
310 provider_->loader()->Reload(); in TEST_P()
312 provider_->Provide(store_.get()); in TEST_P()
320 provider_->loader()->Reload(); in TEST_P()
322 provider_->Provide(store_.get()); in TEST_P()
332 provider_->loader()->Reload(); in TEST_P()
334 provider_->Provide(store_.get()); in TEST_P()
347 provider_->loader()->Reload(); in TEST_P()
[all …]
Dconfiguration_policy_pref_store_unittest.cc40 : provider_(), in ConfigurationPolicyPrefStoreTestBase()
41 store_(new ConfigurationPolicyPrefStore(&provider_)) {} in ConfigurationPolicyPrefStoreTestBase()
43 MockConfigurationPolicyProvider provider_; member in policy::ConfigurationPolicyPrefStoreTestBase
62 provider_.AddPolicy(GetParam().type(), in_value); in TEST_P()
101 provider_.AddPolicy(GetParam().type(), in TEST_P()
143 provider_.AddPolicy(GetParam().type(), Value::CreateBooleanValue(false)); in TEST_P()
151 provider_.AddPolicy(GetParam().type(), Value::CreateBooleanValue(true)); in TEST_P()
241 provider_.AddPolicy(GetParam().type(), Value::CreateIntegerValue(2)); in TEST_P()
680 provider_.AddPolicy(kPolicySyncDisabled, Value::CreateBooleanValue(false)); in TEST_F()
688 provider_.AddPolicy(kPolicySyncDisabled, Value::CreateBooleanValue(true)); in TEST_F()
[all …]
Dconfiguration_policy_pref_store.cc737 : provider_(provider), in ConfigurationPolicyPrefStore()
739 if (provider_) { in ConfigurationPolicyPrefStore()
742 registrar_.Init(provider_, this); in ConfigurationPolicyPrefStore()
779 provider_ = NULL; in OnProviderGoingAway()
991 if (!provider_) in Refresh()
996 new ConfigurationPolicyPrefKeeper(provider_)); in Refresh()
1011 provider_->IsInitializationComplete()) { in Refresh()
Dconfiguration_policy_pref_store.h77 ConfigurationPolicyProvider* provider_; variable
Dconfiguration_policy_provider.h115 ConfigurationPolicyProvider* provider_;
/external/chromium/chrome/browser/ui/gtk/
Dgtk_theme_service_unittest.cc28 GtkThemeServiceTest() : provider_(NULL) {} in GtkThemeServiceTest()
35 provider_ = GtkThemeService::GetFrom(&profile_); in BuildProvider()
41 GtkThemeService* provider_; member in GtkThemeServiceTest
51 EXPECT_EQ(provider_->GetColor(i), ThemeService::GetDefaultColor(i)) in TEST_F()
65 GtkWidget* fake_label = provider_->fake_label(); in TEST_F()
68 EXPECT_EQ(provider_->GetColor(ThemeService::COLOR_TAB_TEXT), in TEST_F()
/external/chromium/crypto/
Dhmac_win.cc85 ScopedHCRYPTPROV provider_; member
99 if (plat_->provider_ || plat_->key_ || !plat_->raw_key_.empty()) { in Init()
112 if (!CryptAcquireContext(plat_->provider_.receive(), NULL, NULL, in Init()
141 if (!CryptImportKey(plat_->provider_, &key_blob_storage[0], in Init()
169 if (!plat_->provider_ || !plat_->key_) in Sign()
178 if (!CryptCreateHash(plat_->provider_, CALG_HMAC, plat_->key_, 0, in Sign()
Dsignature_verifier_win.cc28 if (!CryptAcquireContext(provider_.receive(), NULL, NULL, in SignatureVerifier()
30 provider_.reset(); in SignatureVerifier()
66 ok = CryptImportPublicKeyInfo(provider_, in VerifyInit()
106 ok = CryptCreateHash(provider_, hash_alg_id, 0, 0, hash_object_.receive()); in VerifyInit()
Drsa_private_key_win.cc34 if (!CryptGenKey(result->provider_, CALG_RSA_SIGN, flags, in Create()
104 if (!CryptImportKey(result->provider_, in CreateFromPrivateKeyInfo()
126 RSAPrivateKey::RSAPrivateKey() : provider_(NULL), key_(NULL) {} in RSAPrivateKey()
131 return FALSE != CryptAcquireContext(provider_.receive(), NULL, NULL, in InitProvider()
191 provider_, AT_SIGNATURE, X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, in ExportPublicKey()
199 provider_, AT_SIGNATURE, X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, in ExportPublicKey()
Dsignature_verifier.h98 ScopedHCRYPTPROV provider_; variable
Drsa_private_key.h218 HCRYPTPROV provider() { return provider_; } in provider()
261 ScopedHCRYPTPROV provider_; variable
/external/chromium/net/base/
Dkeygen_handler_win.cc143 if (provider_) { in ~KeyContainer()
144 provider_.reset(); in ~KeyContainer()
153 crypto::ScopedHCRYPTPROV provider_; member
180 if (crypto::CryptAcquireContextLocked(key_container.provider_.receive(), in GenKeyAndSignChallenge()
199 if (!CryptGenKey(key_container.provider_, CALG_RSA_KEYX, in GenKeyAndSignChallenge()
206 if (!GetSignedPublicKeyAndChallenge(key_container.provider_, challenge_, in GenKeyAndSignChallenge()
/external/chromium/chrome/browser/extensions/
Dexternal_policy_extension_loader_unittest.cc52 provider_.reset(new ExternalExtensionProviderImpl( in Visit()
61 provider_->VisitRegisteredExtension(); in Visit()
81 provider_->GetExtensionDetails(id, &location1, &version1); in OnExternalExtensionUpdateUrlFound()
91 EXPECT_TRUE(provider_->IsReady()); in OnExternalProviderReady()
99 scoped_ptr<ExternalExtensionProviderImpl> provider_; member in MockExternalPolicyExtensionProviderVisitor
/external/chromium/chrome/browser/automation/
Dautomation_provider_gtk.cc33 : provider_(provider), in WindowDragResponseTask()
35 DCHECK(provider_); in WindowDragResponseTask()
44 provider_->Send(reply_message_); in Run()
48 AutomationProvider* provider_; member in WindowDragResponseTask
Dautomation_provider_json.cc32 : provider_(provider), in AutomationJSONReply()
47 provider_->Send(message_); in SendSuccess()
56 provider_->Send(message_); in SendError()
Dautomation_provider_observers.cc1436 : provider_(provider->AsWeakPtr()), in AutomationProviderDownloadItemObserver()
1468 if (provider_) { in RemoveAndCleanupOnLastEntry()
1470 AutomationJSONReply(provider_, reply_message_.release()).SendError( in RemoveAndCleanupOnLastEntry()
1473 AutomationJSONReply(provider_, reply_message_.release()).SendSuccess( in RemoveAndCleanupOnLastEntry()
1490 : provider_(provider->AsWeakPtr()), in AutomationProviderDownloadUpdatedObserver()
1507 provider_->GetDictionaryFromDownloadItem(download)); in OnDownloadUpdated()
1509 if (provider_) { in OnDownloadUpdated()
1510 AutomationJSONReply(provider_, reply_message_.release()).SendSuccess( in OnDownloadUpdated()
1520 provider_->GetDictionaryFromDownloadItem(download)); in OnDownloadOpened()
1522 if (provider_) { in OnDownloadOpened()
[all …]
Dautomation_provider_observers.h896 base::WeakPtr<AutomationProvider> provider_; variable
919 base::WeakPtr<AutomationProvider> provider_;
940 base::WeakPtr<AutomationProvider> provider_;
960 base::WeakPtr<AutomationProvider> provider_;
978 base::WeakPtr<AutomationProvider> provider_;
998 base::WeakPtr<AutomationProvider> provider_;
1015 base::WeakPtr<AutomationProvider> provider_;
1031 base::WeakPtr<AutomationProvider> provider_;
Dautomation_provider_json.h44 AutomationProvider* provider_;
/external/chromium/chrome/browser/notifications/
Ddesktop_notification_service.cc279 provider_.reset(new content_settings::NotificationProvider(profile_)); in InitPrefs()
326 provider_->SetContentSetting( in GrantPermission()
346 provider_->SetContentSetting( in DenyPermission()
439 provider_->GetAllContentSettingsRules( in GetAllowedOrigins()
453 provider_->GetAllContentSettingsRules( in GetBlockedOrigins()
468 provider_->SetContentSetting( in ResetAllowedOrigin()
479 provider_->SetContentSetting( in ResetBlockedOrigin()
488 provider_->ClearAllContentSettingsRules(CONTENT_SETTINGS_TYPE_NOTIFICATIONS); in ResetAllOrigins()
493 ContentSetting provided_setting = provider_->GetContentSetting( in GetContentSetting()
/external/chromium/chrome/browser/ui/toolbar/
Dwrench_menu_model.cc204 provider_(provider), in WrenchMenuModel()
356 return provider_->GetAcceleratorForCommandId(command_id, accelerator); in GetAcceleratorForCommandId()
398 provider_(NULL), in WrenchMenuModel()

12