HomeSort by relevance Sort by last modified time
    Searched refs:store_ (Results 1 - 25 of 108) sorted by null

1 2 3 4 5

  /external/chromium_org/chrome/browser/policy/cloud/
user_cloud_policy_store_unittest.cc 53 store_.reset(new UserCloudPolicyStore(profile_.get(), policy_file()));
54 store_->AddObserver(&observer_);
64 store_->RemoveObserver(&observer_);
65 store_.reset();
73 // Verifies that store_->policy_map() has the appropriate entries.
93 scoped_ptr<UserCloudPolicyStore> store_; member in class:policy::__anon7892::UserCloudPolicyStoreTest
109 EXPECT_FALSE(store_->policy());
110 EXPECT_TRUE(store_->policy_map().empty());
112 EXPECT_CALL(observer_, OnStoreLoaded(store_.get()));
113 store_->Load()
    [all...]
user_cloud_policy_manager_unittest.cc 30 : store_(NULL) {}
49 store_ = new MockUserCloudPolicyStore();
50 EXPECT_CALL(*store_, Load());
53 scoped_ptr<UserCloudPolicyStore>(store_)));
56 Mock::VerifyAndClearExpectations(store_);
68 MockUserCloudPolicyStore* store_; member in class:policy::__anon7890::UserCloudPolicyManagerTest
79 store_->policy_map_.CopyFrom(policy_map_);
81 store_->NotifyStoreLoaded();
84 EXPECT_CALL(*store_, Clear());
cloud_policy_service_unittest.cc 36 service_(policy_ns_key_, &client_, &store_) {}
43 MockCloudPolicyStore store_; member in class:policy::CloudPolicyServiceTest
56 store_.policy_.reset(new em::PolicyData());
57 store_.policy_->set_username("user@example.com");
65 EXPECT_CALL(store_, Store(ProtoMatches(policy))).Times(1);
68 // After |store_| initializes, credentials and other meta data should be
70 store_.policy_.reset(new em::PolicyData());
71 store_.policy_->set_request_token("fake token");
72 store_.policy_->set_device_id("fake client id");
73 store_.policy_->set_timestamp(32)
    [all...]
component_cloud_policy_store_unittest.cc 65 store_.reset(new ComponentCloudPolicyStore(&store_delegate_, cache_.get()));
66 store_->SetCredentials(ComponentPolicyBuilder::kFakeUsername,
83 // Returns true if the policy exposed by the |store_| is empty.
85 return store_->policy().begin() == store_->policy().end();
100 scoped_ptr<ComponentCloudPolicyStore> store_; member in class:policy::ComponentCloudPolicyStoreTest
109 EXPECT_TRUE(store_->ValidatePolicy(CreateResponse(), &ns, &payload));
120 EXPECT_FALSE(store_->ValidatePolicy(CreateResponse(), &ns, &payload));
127 EXPECT_FALSE(store_->ValidatePolicy(CreateResponse(), &ns, &payload));
134 EXPECT_FALSE(store_->ValidatePolicy(CreateResponse(), &ns, &payload))
    [all...]
component_cloud_policy_updater.cc 41 : store_(store),
63 if (!store_->ValidatePolicy(response.Pass(), &ns, &data)) {
69 const std::string& cached_hash = store_->GetCachedHash(ns);
89 store_->Delete(ns);
98 base::Bind(&ComponentCloudPolicyStore::Store, base::Unretained(store_),
cloud_policy_manager_unittest.cc 64 MockCloudPolicyStore store_; member in class:policy::__anon7866::TestHarness
79 store_.NotifyStoreLoaded();
82 &store_);
83 Mock::VerifyAndClearExpectations(&store_);
91 store_.policy_map_.Set(policy_name, policy_level(), policy_scope(),
97 store_.policy_map_.Set(policy_name, policy_level(), policy_scope(),
103 store_.policy_map_.Set(policy_name, policy_level(), policy_scope(),
109 store_.policy_map_.Set(policy_name, policy_level(), policy_scope(),
116 store_.policy_map_.Set(policy_name, policy_level(), policy_scope(),
176 EXPECT_CALL(store_, Load())
179 Mock::VerifyAndClearExpectations(&store_); member in class:policy::__anon7866::CloudPolicyManagerTest::Mock
250 MockCloudPolicyStore store_; member in class:policy::__anon7866::CloudPolicyManagerTest
    [all...]
cloud_policy_core.h 39 CloudPolicyStore* store() { return store_; }
40 const CloudPolicyStore* store() const { return store_; }
75 CloudPolicyStore* store_; member in class:policy::CloudPolicyCore
cloud_policy_service.cc 19 store_(store),
24 store_->AddObserver(this);
27 // already present in |store_|.
28 OnStoreLoaded(store_);
34 store_->RemoveObserver(this);
38 const em::PolicyData* policy = store_->policy();
71 store_->Store(*policy, client->fetched_invalidation_version());
87 const em::PolicyData* policy(store_->policy());
132 if (!IsInitializationComplete() && store_->is_initialized()) {
  /external/sfntly/cpp/src/sfntly/port/
memory_output_stream.cc 28 store_.insert(store_.end(), buffer->begin(), buffer->end());
36 store_.insert(store_.end(),
49 store_.insert(store_.end(), buffer + offset, buffer + offset + length);
58 store_.push_back(b);
62 if (store_.empty()) {
65 return &(store_[0]);
69 return store_.size()
    [all...]
  /external/chromium_org/chrome/browser/chromeos/policy/
user_cloud_policy_store_chromeos_unittest.cc 69 store_.reset(new UserCloudPolicyStoreChromeOS(&cryptohome_client_,
75 store_->AddObserver(&observer_);
88 store_->RemoveObserver(&observer_);
89 store_.reset();
96 OnStoreError(AllOf(Eq(store_.get()),
101 // Triggers a store_->Load() operation, handles the expected call to
109 store_->Load();
119 // Verifies that store_->policy_map() has the HomepageLocation entry with
122 EXPECT_EQ(1U, store_->policy_map().size());
124 store_->policy_map().Get(key::kHomepageLocation)
231 scoped_ptr<UserCloudPolicyStoreChromeOS> store_; member in class:policy::__anon7018::UserCloudPolicyStoreChromeOSTest
    [all...]
device_cloud_policy_store_chromeos_unittest.cc 43 store_(new DeviceCloudPolicyStoreChromeOS(&device_settings_service_,
61 EXPECT_EQ(expected_status, store_->status());
62 EXPECT_TRUE(store_->is_initialized());
63 EXPECT_FALSE(store_->has_policy());
64 EXPECT_FALSE(store_->is_managed());
68 EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status());
69 EXPECT_TRUE(store_->is_initialized());
70 EXPECT_TRUE(store_->has_policy());
71 EXPECT_TRUE(store_->is_managed());
72 EXPECT_TRUE(store_->policy())
110 scoped_ptr<DeviceCloudPolicyStoreChromeOS> store_; member in class:policy::DeviceCloudPolicyStoreChromeOSTest
    [all...]
  /external/chromium_org/chrome/browser/safe_browsing/
safe_browsing_store_file_unittest.cc 29 store_.reset(new SafeBrowsingStoreFile());
30 store_->Init(filename_,
36 if (store_.get())
37 store_->Delete();
38 store_.reset();
49 scoped_ptr<SafeBrowsingStoreFile> store_; member in class:__anon8081::SafeBrowsingStoreFileTest
53 TEST_STORE(SafeBrowsingStoreFileTest, store_.get(), filename_);
64 EXPECT_TRUE(store_->BeginUpdate());
69 store_.reset(new SafeBrowsingStoreFile());
70 store_->Init(filename_, base::Closure())
    [all...]
  /external/chromium_org/net/ssl/
openssl_client_key_store_unittest.cc 28 : store_(OpenSSLClientKeyStore::GetInstance()) {
32 if (store_)
33 store_->Flush();
37 OpenSSLClientKeyStore* store_; member in class:net::__anon11442::OpenSSLClientKeyStoreTest
42 ASSERT_TRUE(store_);
47 ASSERT_TRUE(store_);
56 ASSERT_TRUE(store_->RecordClientCertPrivateKey(cert_1.get(),
59 store_->Flush();
64 ASSERT_FALSE(store_->FetchClientCertPrivateKey(cert_1.get(), &pkey));
71 ASSERT_TRUE(store_);
    [all...]
  /external/chromium/chrome/browser/net/
sqlite_persistent_cookie_store_unittest.cc 30 store_ = new SQLitePersistentCookieStore(
33 ASSERT_TRUE(store_->Load(&cookies));
36 store_->AddCookie(
47 scoped_refptr<SQLitePersistentCookieStore> store_; member in class:SQLitePersistentCookieStoreTest
51 store_->SetClearLocalStateOnExit(false);
52 store_ = NULL;
65 store_->SetClearLocalStateOnExit(true);
69 store_ = NULL;
85 store_ = NULL;
90 store_ = new SQLitePersistentCookieStore
    [all...]
  /external/chromium_org/v8/src/
typing.h 67 Store store_; member in class:v8::internal::AstTyper
80 store_ = store_.Push();
81 return store_.Top();
83 void ExitEffects() { store_ = store_.Pop(); }
  /external/chromium/chrome/browser/safe_browsing/
safe_browsing_store_file_unittest.cc 37 store_.reset(new SafeBrowsingStoreFile());
38 store_->Init(filename_, NULL);
41 if (store_.get())
42 store_->Delete();
43 store_.reset();
55 scoped_ptr<SafeBrowsingStoreFile> store_; member in class:__anon4821::SafeBrowsingStoreFileTest
59 TEST_STORE(SafeBrowsingStoreFileTest, store_.get(), filename_);
70 EXPECT_TRUE(store_->BeginUpdate());
75 store_.reset(new SafeBrowsingStoreFile());
76 store_->Init(filename_, NULL)
    [all...]
  /external/chromium_org/content/browser/net/
sqlite_persistent_cookie_store_perftest.cc 48 store_->Load(base::Bind(&SQLitePersistentCookieStorePerfTest::OnLoaded,
65 store_ = new SQLitePersistentCookieStore(
80 store_->AddCookie(
89 store_ = NULL;
96 store_ = new SQLitePersistentCookieStore(
104 store_ = NULL;
114 scoped_refptr<SQLitePersistentCookieStore> store_; member in class:content::SQLitePersistentCookieStorePerfTest
123 store_->LoadCookiesForKey(domain_name,
  /external/chromium_org/net/disk_cache/flash/
log_store_entry.cc 15 : store_(store), id_(-1), init_(false), closed_(false), deleted_(false) {
20 : store_(store), id_(id), init_(false), closed_(false), deleted_(false) {
39 if (!store_->OpenEntry(id_) ||
40 !store_->ReadData(id_, stream_sizes, kFlashLogStoreEntryHeaderSize, 0)) {
59 store_->CloseEntry(id_);
61 store_->DeleteEntry(id_, Size());
91 if (store_->ReadData(id_, buf->data(), buf_len, offset))
151 if (!store_->CreateEntry(Size(), &id_))
153 if (!store_->WriteData(stream_sizes, kFlashLogStoreEntryHeaderSize))
157 !store_->WriteData(&streams_[i].write_buffer[0], streams_[i].size))
    [all...]
  /external/chromium/chrome/browser/policy/
asynchronous_policy_provider_unittest.cc 26 EXPECT_CALL(*store_, Apply(policy::kPolicySyncDisabled, _)).Times(1);
30 provider.Provide(store_.get());
53 EXPECT_CALL(*store_, Apply(policy::kPolicyJavascriptEnabled, _)).Times(1);
54 provider.Provide(store_.get());
asynchronous_policy_test_base.cc 24 store_.reset(new MockConfigurationPolicyStore);
  /external/chromium_org/chrome/browser/extensions/api/storage/
policy_value_store_unittest.cc 99 store_.reset(new PolicyValueStore(
108 store_.reset();
115 scoped_ptr<PolicyValueStore> store_; member in class:extensions::PolicyValueStoreTest
128 store_->SetCurrentPolicy(policies, false);
129 ValueStore::ReadResult result = store_->Get();
142 EXPECT_TRUE(store_->Set(options, "key", string_value)->HasError());
146 EXPECT_TRUE(store_->Set(options, dict)->HasError());
148 EXPECT_TRUE(store_->Remove("key")->HasError());
151 EXPECT_TRUE(store_->Remove(keys)->HasError());
152 EXPECT_TRUE(store_->Clear()->HasError())
    [all...]
  /external/chromium_org/chrome/browser/policy/
configuration_policy_pref_store_unittest.cc 58 store_ = new ConfigurationPolicyPrefStore(policy_service_.get(),
76 scoped_refptr<ConfigurationPolicyPrefStore> store_; member in class:policy::ConfigurationPolicyPrefStoreTest
86 EXPECT_FALSE(store_->GetValue(GetParam().pref_name(), NULL));
98 EXPECT_TRUE(store_->GetValue(GetParam().pref_name(), &value));
128 EXPECT_FALSE(store_->GetValue(GetParam().pref_name(), NULL));
138 EXPECT_TRUE(store_->GetValue(GetParam().pref_name(), &value));
181 EXPECT_FALSE(store_->GetValue(GetParam().pref_name(), NULL));
190 EXPECT_TRUE(store_->GetValue(GetParam().pref_name(), &value));
201 EXPECT_TRUE(store_->GetValue(GetParam().pref_name(), &value));
332 EXPECT_FALSE(store_->GetValue(GetParam().pref_name(), NULL))
    [all...]
  /external/chromium/chrome/browser/password_manager/
password_manager_unittest.cc 40 : store_(store) {}
42 store_->Shutdown();
45 return store_;
48 scoped_refptr<PasswordStore> store_; member in class:TestingProfileWithPasswordStore
90 store_ = new MockPasswordStore();
91 profile_.reset(new TestingProfileWithPasswordStore(store_));
101 store_ = NULL;
123 scoped_refptr<MockPasswordStore> store_; member in class:PasswordManagerTest
141 EXPECT_CALL(*store_, GetLogins(_,_))
160 EXPECT_CALL(*store_, AddLogin(FormMatches(form)))
    [all...]
  /external/chromium_org/chrome/browser/net/
sqlite_server_bound_cert_store_unittest.cc 34 store_->Load(base::Bind(&SQLiteServerBoundCertStoreTest::OnLoaded,
84 store_ = new SQLiteServerBoundCertStore(
90 store_->AddServerBoundCert(
100 scoped_refptr<SQLiteServerBoundCertStore> store_; member in class:SQLiteServerBoundCertStoreTest
106 store_->AddServerBoundCert(
117 store_ = NULL;
120 store_ = new SQLiteServerBoundCertStore(
147 store_->DeleteServerBoundCert(*certs[0]);
148 store_->DeleteServerBoundCert(*certs[1]);
149 store_ = NULL
    [all...]
  /external/chromium_org/chrome/browser/password_manager/
password_store_win_unittest.cc 132 if (store_.get())
133 store_->ShutdownOnUIThread();
157 scoped_refptr<PasswordStore> store_; member in class:PasswordStoreWinTest
195 store_ = new PasswordStoreWin(login_db_.release(), profile_.get(),
197 EXPECT_TRUE(store_->Init());
239 store_->GetLogins(*form, &consumer);
247 store_ = new PasswordStoreWin(login_db_.release(), profile_.get(),
249 EXPECT_TRUE(store_->Init());
266 store_->GetLogins(*form, &consumer);
269 store_->ShutdownOnUIThread()
    [all...]

Completed in 947 milliseconds

1 2 3 4 5