Home
last modified time | relevance | path

Searched refs:store_ (Results 1 – 21 of 21) sorted by relevance

/external/chromium/chrome/browser/net/
Dsqlite_persistent_cookie_store_unittest.cc30 store_ = new SQLitePersistentCookieStore( in SetUp()
33 ASSERT_TRUE(store_->Load(&cookies)); in SetUp()
36 store_->AddCookie( in SetUp()
47 scoped_refptr<SQLitePersistentCookieStore> store_; member in SQLitePersistentCookieStoreTest
51 store_->SetClearLocalStateOnExit(false); in TEST_F()
52 store_ = NULL; in TEST_F()
65 store_->SetClearLocalStateOnExit(true); in TEST_F()
69 store_ = NULL; in TEST_F()
85 store_ = NULL; in TEST_F()
90 store_ = new SQLitePersistentCookieStore( in TEST_F()
[all …]
/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_store_file_unittest.cc37 store_.reset(new SafeBrowsingStoreFile()); in SetUp()
38 store_->Init(filename_, NULL); in SetUp()
41 if (store_.get()) in TearDown()
42 store_->Delete(); in TearDown()
43 store_.reset(); in TearDown()
55 scoped_ptr<SafeBrowsingStoreFile> store_; member in __anon4f8d8f090111::SafeBrowsingStoreFileTest
59 TEST_STORE(SafeBrowsingStoreFileTest, store_.get(), filename_);
70 EXPECT_TRUE(store_->BeginUpdate()); in TEST_F()
75 store_.reset(new SafeBrowsingStoreFile()); in TEST_F()
76 store_->Init(filename_, NULL); in TEST_F()
[all …]
/external/chromium/chrome/browser/password_manager/
Dpassword_manager_unittest.cc40 : store_(store) {} in TestingProfileWithPasswordStore()
42 store_->Shutdown(); in ~TestingProfileWithPasswordStore()
45 return store_; in GetPasswordStore()
48 scoped_refptr<PasswordStore> store_; member in TestingProfileWithPasswordStore
90 store_ = new MockPasswordStore(); in SetUp()
91 profile_.reset(new TestingProfileWithPasswordStore(store_)); in SetUp()
101 store_ = NULL; in TearDown()
123 scoped_refptr<MockPasswordStore> store_; member in PasswordManagerTest
141 EXPECT_CALL(*store_, GetLogins(_,_)) in TEST_F()
160 EXPECT_CALL(*store_, AddLogin(FormMatches(form))); in TEST_F()
[all …]
Dpassword_store_mac_unittest.cc911 store_ = new PasswordStoreMac(keychain_, login_db_); in SetUp()
912 ASSERT_TRUE(store_->Init()); in SetUp()
916 store_->Shutdown(); in TearDown()
927 scoped_refptr<PasswordStoreMac> store_; member in PasswordStoreMacTest
993 store_->UpdateLogin(*form); in TEST_F()
1002 store_->GetLogins(*joint_form, &consumer); in TEST_F()
/external/chromium/chrome/browser/policy/
Dconfiguration_policy_pref_store_unittest.cc41 store_(new ConfigurationPolicyPrefStore(&provider_)) {} in ConfigurationPolicyPrefStoreTestBase()
44 scoped_refptr<ConfigurationPolicyPrefStore> store_; member in policy::ConfigurationPolicyPrefStoreTestBase
55 store_->GetValue(GetParam().pref_name(), NULL)); in TEST_P()
63 store_->OnUpdatePolicy(); in TEST_P()
66 store_->GetValue(GetParam().pref_name(), &value)); in TEST_P()
97 store_->GetValue(GetParam().pref_name(), NULL)); in TEST_P()
103 store_->OnUpdatePolicy(); in TEST_P()
106 store_->GetValue(GetParam().pref_name(), &value)); in TEST_P()
139 store_->GetValue(GetParam().pref_name(), NULL)); in TEST_P()
144 store_->OnUpdatePolicy(); in TEST_P()
[all …]
Dconfiguration_policy_provider_mac_unittest.cc135 store_.reset(new MockConfigurationPolicyStore); in SetUp()
140 scoped_ptr<MockConfigurationPolicyStore> store_; member in policy::ConfigurationPolicyProviderMacTest
146 EXPECT_TRUE(provider.Provide(store_.get())); in TEST_P()
147 EXPECT_TRUE(store_->policy_map().empty()); in TEST_P()
160 EXPECT_TRUE(provider.Provide(store_.get())); in TEST_P()
161 EXPECT_TRUE(store_->policy_map().empty()); in TEST_P()
175 EXPECT_TRUE(provider.Provide(store_.get())); in TEST_P()
176 EXPECT_TRUE(store_->policy_map().empty()); in TEST_P()
190 EXPECT_TRUE(provider.Provide(store_.get())); in TEST_P()
191 ASSERT_EQ(1U, store_->policy_map().size()); in TEST_P()
[all …]
Dasynchronous_policy_provider_unittest.cc26 EXPECT_CALL(*store_, Apply(policy::kPolicySyncDisabled, _)).Times(1); in TEST_F()
30 provider.Provide(store_.get()); in TEST_F()
53 EXPECT_CALL(*store_, Apply(policy::kPolicyJavascriptEnabled, _)).Times(1); in TEST_F()
54 provider.Provide(store_.get()); in TEST_F()
Dconfiguration_policy_provider_win_unittest.cc153 scoped_ptr<MockConfigurationPolicyStore> store_; member in policy::ConfigurationPolicyProviderWinTest
196 store_.reset(new MockConfigurationPolicyStore); in SetUp()
299 provider_->Provide(store_.get()); in TEST_P()
300 EXPECT_TRUE(store_->policy_map().empty()); in TEST_P()
312 provider_->Provide(store_.get()); in TEST_P()
313 EXPECT_TRUE(store_->policy_map().empty()); in TEST_P()
322 provider_->Provide(store_.get()); in TEST_P()
323 const Value* value = store_->Get(GetParam().type()); in TEST_P()
334 provider_->Provide(store_.get()); in TEST_P()
335 const Value* value = store_->Get(GetParam().type()); in TEST_P()
[all …]
Dfile_based_policy_provider_unittest.cc49 EXPECT_CALL(*store_, Apply(policy::kPolicySyncDisabled, _)).Times(1); in TEST_F()
50 provider.Provide(store_.get()); in TEST_F()
78 EXPECT_CALL(*store_, Apply(policy::kPolicySyncDisabled, _)).Times(1); in TEST_F()
79 file_based_provider.Provide(store_.get()); in TEST_F()
Dasynchronous_policy_test_base.cc24 store_.reset(new MockConfigurationPolicyStore); in SetUp()
Dasynchronous_policy_test_base.h45 scoped_ptr<MockConfigurationPolicyStore> store_; variable
/external/chromium/chrome/browser/bookmarks/
Dbookmark_model.cc140 if (store_) { in ~BookmarkModel()
143 store_->BookmarkModelDeleted(); in ~BookmarkModel()
148 if (store_.get()) { in Load()
161 store_ = new BookmarkStorage(profile_, this); in Load()
162 store_->LoadBookmarks(CreateLoadDetails()); in Load()
210 if (store_.get()) in Move()
211 store_->ScheduleSave(); in Move()
240 if (store_.get()) in Copy()
241 store_->ScheduleSave(); in Copy()
273 if (store_.get()) in SetTitle()
[all …]
Dbookmark_model.h461 scoped_refptr<BookmarkStorage> store_; variable
/external/v8/src/
Dparser.h106 : store_(store), in ScriptDataImpl()
130 return (store_.length() > PreparseDataConstants::kHeaderSize) in symbol_count()
131 ? store_[PreparseDataConstants::kSymbolCountOffset] in symbol_count()
136 bool has_error() { return store_[PreparseDataConstants::kHasErrorOffset]; } in has_error()
137 unsigned magic() { return store_[PreparseDataConstants::kMagicOffset]; } in magic()
138 unsigned version() { return store_[PreparseDataConstants::kVersionOffset]; } in version()
141 Vector<unsigned> store_;
153 : store_(reinterpret_cast<unsigned*>(const_cast<char*>(backing_store)), in ScriptDataImpl()
Dparser.cc295 if ((function_index_ + FunctionEntry::kSize <= store_.length()) in GetFunctionEntry()
296 && (static_cast<int>(store_[function_index_]) == start)) { in GetFunctionEntry()
299 return FunctionEntry(store_.SubVector(index, in GetFunctionEntry()
314 if (store_.length() < PreparseDataConstants::kHeaderSize) return false; in SanityCheck()
319 if (store_.length() <= PreparseDataConstants::kHeaderSize in SanityCheck()
330 if (store_.length() <= PreparseDataConstants::kHeaderSize + pos) { in SanityCheck()
337 if (store_.length() < PreparseDataConstants::kHeaderSize + pos) { in SanityCheck()
344 static_cast<int>(store_[PreparseDataConstants::kFunctionsSizeOffset]); in SanityCheck()
349 static_cast<int>(store_[PreparseDataConstants::kSymbolCountOffset]); in SanityCheck()
354 if (store_.length() < minimum_size) return false; in SanityCheck()
[all …]
/external/chromium/net/base/
Dx509_certificate_openssl.cc219 X509_STORE* store() const { return store_.get(); } in store()
222 store_.reset(X509_STORE_new()); in ResetCertStore()
223 DCHECK(store_.get()); in ResetCertStore()
224 X509_STORE_set_default_paths(store_.get()); in ResetCertStore()
238 crypto::ScopedOpenSSL<X509_STORE, X509_STORE_free> store_; member in net::__anon037ff3790111::X509InitSingleton
Dcookie_monster.cc391 store_(store), in CookieMonster()
406 store_(store), in CookieMonster()
738 if (store_) in SetClearPersistentStoreOnExit()
739 store_->SetClearLocalStateOnExit(clear_local_store); in SetClearPersistentStoreOnExit()
749 if (initialized_ && store_) in FlushStore()
750 store_->Flush(completion_task); in FlushStore()
861 DCHECK(store_) << "Store must exist to initialize"; in InitStore()
872 store_->Load(&cookies); in InitStore()
1171 if (cc->IsPersistent() && store_ && sync_to_store) in InternalInsertCookie()
1172 store_->AddCookie(*cc); in InternalInsertCookie()
[all …]
Dcookie_monster.h350 if (store_) in InitIfNecessary()
494 scoped_refptr<PersistentCookieStore> store_; variable
/external/chromium/net/socket/
Dssl_client_socket_win.cc346 store_ = CertOpenStore(CERT_STORE_PROV_MEMORY, 0, NULL, 0, NULL); in ClientCertStore()
350 if (store_) { in ~ClientCertStore()
351 BOOL ok = CertCloseStore(store_, CERT_CLOSE_STORE_CHECK_FLAG); in ~ClientCertStore()
358 BOOL ok = CertAddCertificateContextToStore(store_, client_cert, in CopyCertContext()
366 HCERTSTORE store_; member in net::ClientCertStore
/external/chromium/chrome/browser/sync/syncable/
Dsyncable.cc349 Directory::Directory() : kernel_(NULL), store_(NULL) { in Directory()
386 DCHECK_EQ(static_cast<DirectoryBackingStore*>(NULL), store_); in OpenImpl()
389 store_ = CreateBackingStore(name, db_path); in OpenImpl()
395 DirOpenResult result = store_->Load(&metas_bucket, &info); in OpenImpl()
406 if (store_) in Close()
407 delete store_; in Close()
408 store_ = NULL; in Close()
627 DCHECK(store_); in SaveChanges()
634 success = store_->SaveChanges(snapshot); in SaveChanges()
Dsyncable.h756 bool good() const { return NULL != store_; } in good()
1068 DirectoryBackingStore* store_; variable