storage_ 48 chrome/browser/chromeos/drive/file_cache.cc storage_(storage), storage_ 77 chrome/browser/chromeos/drive/file_cache.cc return storage_->GetCacheEntry(id, entry); storage_ 82 chrome/browser/chromeos/drive/file_cache.cc return storage_->GetCacheEntryIterator(); storage_ 97 chrome/browser/chromeos/drive/file_cache.cc storage_->GetCacheEntryIterator(); storage_ 103 chrome/browser/chromeos/drive/file_cache.cc storage_->RemoveCacheEntry(it->GetID()); storage_ 115 chrome/browser/chromeos/drive/file_cache.cc if (!storage_->GetCacheEntry(id, &entry)) storage_ 129 chrome/browser/chromeos/drive/file_cache.cc if (!storage_->GetCacheEntry(id, &cache_entry) || storage_ 180 chrome/browser/chromeos/drive/file_cache.cc storage_->GetCacheEntry(id, &cache_entry); storage_ 185 chrome/browser/chromeos/drive/file_cache.cc return storage_->PutCacheEntry(id, cache_entry) ? storage_ 193 chrome/browser/chromeos/drive/file_cache.cc storage_->GetCacheEntry(id, &cache_entry); storage_ 195 chrome/browser/chromeos/drive/file_cache.cc return storage_->PutCacheEntry(id, cache_entry) ? storage_ 204 chrome/browser/chromeos/drive/file_cache.cc if (!storage_->GetCacheEntry(id, &cache_entry)) storage_ 210 chrome/browser/chromeos/drive/file_cache.cc if (!storage_->PutCacheEntry(id, cache_entry)) storage_ 214 chrome/browser/chromeos/drive/file_cache.cc if (!storage_->RemoveCacheEntry(id)) storage_ 231 chrome/browser/chromeos/drive/file_cache.cc if (!storage_->GetCacheEntry(id, &cache_entry)) storage_ 261 chrome/browser/chromeos/drive/file_cache.cc if (!storage_->GetCacheEntry(id, &cache_entry) || storage_ 269 chrome/browser/chromeos/drive/file_cache.cc if (!storage_->PutCacheEntry(id, cache_entry)) storage_ 294 chrome/browser/chromeos/drive/file_cache.cc if (!storage_->GetCacheEntry(id, &cache_entry) || storage_ 303 chrome/browser/chromeos/drive/file_cache.cc return storage_->PutCacheEntry(id, cache_entry) ? storage_ 316 chrome/browser/chromeos/drive/file_cache.cc if (!storage_->GetCacheEntry(id, &cache_entry) || storage_ 331 chrome/browser/chromeos/drive/file_cache.cc return storage_->PutCacheEntry(id, cache_entry) ? storage_ 341 chrome/browser/chromeos/drive/file_cache.cc if (!storage_->GetCacheEntry(id, &cache_entry)) storage_ 354 chrome/browser/chromeos/drive/file_cache.cc return storage_->RemoveCacheEntry(id) ? FILE_ERROR_OK : FILE_ERROR_FAILED; storage_ 362 chrome/browser/chromeos/drive/file_cache.cc storage_->GetCacheEntryIterator(); storage_ 364 chrome/browser/chromeos/drive/file_cache.cc if (!storage_->RemoveCacheEntry(it->GetID())) storage_ 388 chrome/browser/chromeos/drive/file_cache.cc storage_->GetCacheEntryIterator(); storage_ 393 chrome/browser/chromeos/drive/file_cache.cc if (!storage_->PutCacheEntry(it->GetID(), new_entry)) storage_ 432 chrome/browser/chromeos/drive/file_cache.cc if (storage_->GetCacheEntry(id, &entry)) { storage_ 520 chrome/browser/chromeos/drive/file_cache.cc if (!storage_->GetCacheEntry(id, &cache_entry)) storage_ 181 chrome/browser/chromeos/drive/file_cache.h ResourceMetadataStorage* storage_; storage_ 54 chrome/browser/chromeos/drive/resource_metadata.cc if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path())) storage_ 75 chrome/browser/chromeos/drive/resource_metadata.cc if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path())) storage_ 78 chrome/browser/chromeos/drive/resource_metadata.cc if (!storage_->SetLargestChangestamp(0) || storage_ 95 chrome/browser/chromeos/drive/resource_metadata.cc if (!storage_->GetEntry(util::kDriveGrandRootLocalId, &entry)) { storage_ 101 chrome/browser/chromeos/drive/resource_metadata.cc if (!storage_->PutEntry(root)) storage_ 106 chrome/browser/chromeos/drive/resource_metadata.cc if (!storage_->PutEntry(entry)) storage_ 109 chrome/browser/chromeos/drive/resource_metadata.cc if (!storage_->GetEntry(util::kDriveOtherDirLocalId, &entry)) { storage_ 120 chrome/browser/chromeos/drive/resource_metadata.cc if (!storage_->PutEntry(entry)) storage_ 123 chrome/browser/chromeos/drive/resource_metadata.cc if (!storage_->GetEntry(util::kDriveTrashDirLocalId, &entry)) { storage_ 132 chrome/browser/chromeos/drive/resource_metadata.cc if (storage_->GetChild(util::kDriveGrandRootLocalId, storage_ 153 chrome/browser/chromeos/drive/resource_metadata.cc return storage_->GetLargestChangestamp(); storage_ 159 chrome/browser/chromeos/drive/resource_metadata.cc if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path())) storage_ 162 chrome/browser/chromeos/drive/resource_metadata.cc return storage_->SetLargestChangestamp(value) ? storage_ 171 chrome/browser/chromeos/drive/resource_metadata.cc if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path())) storage_ 175 chrome/browser/chromeos/drive/resource_metadata.cc if (!storage_->GetEntry(entry.parent_local_id(), &parent) || storage_ 183 chrome/browser/chromeos/drive/resource_metadata.cc storage_->GetIdByResourceId(entry.resource_id(), &local_id) && storage_ 184 chrome/browser/chromeos/drive/resource_metadata.cc storage_->GetEntry(local_id, &existing_entry)) storage_ 188 chrome/browser/chromeos/drive/resource_metadata.cc while (local_id.empty() || storage_->GetEntry(local_id, &existing_entry)) storage_ 204 chrome/browser/chromeos/drive/resource_metadata.cc if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path())) storage_ 214 chrome/browser/chromeos/drive/resource_metadata.cc if (!storage_->GetEntry(id, &entry)) storage_ 228 chrome/browser/chromeos/drive/resource_metadata.cc return storage_->GetEntry(id, out_entry) ? storage_ 273 chrome/browser/chromeos/drive/resource_metadata.cc storage_->GetChildren(id, &children); storage_ 277 chrome/browser/chromeos/drive/resource_metadata.cc if (!storage_->GetEntry(children[i], &entries[i])) storage_ 287 chrome/browser/chromeos/drive/resource_metadata.cc if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path())) storage_ 291 chrome/browser/chromeos/drive/resource_metadata.cc if (!storage_->GetEntry(entry.local_id(), &old_entry)) storage_ 319 chrome/browser/chromeos/drive/resource_metadata.cc if (!storage_->GetEntry(entry.parent_local_id(), &new_parent)) storage_ 337 chrome/browser/chromeos/drive/resource_metadata.cc storage_->GetChildren(id, &children); storage_ 340 chrome/browser/chromeos/drive/resource_metadata.cc if (storage_->GetEntry(children[i], &entry) && storage_ 351 chrome/browser/chromeos/drive/resource_metadata.cc return storage_->GetChild(parent_local_id, base_name); storage_ 357 chrome/browser/chromeos/drive/resource_metadata.cc return storage_->GetIterator(); storage_ 365 chrome/browser/chromeos/drive/resource_metadata.cc if (storage_->GetEntry(id, &entry)) { storage_ 387 chrome/browser/chromeos/drive/resource_metadata.cc id = storage_->GetChild(id, component); storage_ 399 chrome/browser/chromeos/drive/resource_metadata.cc return storage_->GetIdByResourceId(resource_id, out_local_id) ? storage_ 421 chrome/browser/chromeos/drive/resource_metadata.cc storage_->GetChild(entry.parent_local_id(), new_base_name); storage_ 436 chrome/browser/chromeos/drive/resource_metadata.cc return storage_->PutEntry(updated_entry); storage_ 443 chrome/browser/chromeos/drive/resource_metadata.cc if (!storage_->GetEntry(id, &entry)) storage_ 448 chrome/browser/chromeos/drive/resource_metadata.cc storage_->GetChildren(id, &children); storage_ 454 chrome/browser/chromeos/drive/resource_metadata.cc return storage_->RemoveEntry(id); storage_ 125 chrome/browser/chromeos/drive/resource_metadata.h ResourceMetadataStorage* storage_; storage_ 27 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc storage_.reset(new ResourceMetadataStorage( storage_ 29 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc ASSERT_TRUE(storage_->Initialize()); storage_ 35 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc ASSERT_TRUE(storage_->GetHeader(&header)); storage_ 37 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutHeader(header)); storage_ 41 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc return storage_->CheckValidity(); storage_ 44 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc leveldb::DB* resource_map() { return storage_->resource_map_.get(); } storage_ 50 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc storage_->resource_map_->Put( storage_ 59 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc storage_->resource_map_->Delete( storage_ 67 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc test_util::DestroyHelperForTests> storage_; storage_ 72 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->SetLargestChangestamp(kLargestChangestamp)); storage_ 73 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_EQ(kLargestChangestamp, storage_->GetLargestChangestamp()); storage_ 85 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_FALSE(storage_->GetEntry(key1, &result)); storage_ 90 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutEntry(entry1)); storage_ 93 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->GetEntry(key1, &result)); storage_ 96 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_FALSE(storage_->GetEntry(key2, &result)); storage_ 103 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutEntry(entry2)); storage_ 106 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->GetEntry(key2, &result)); storage_ 107 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_EQ(key2, storage_->GetChild(key1, name2)); storage_ 114 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutEntry(entry3)); storage_ 117 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->GetEntry(key3, &result)); storage_ 118 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_EQ(key3, storage_->GetChild(key2, name3)); storage_ 122 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutEntry(entry3)); storage_ 125 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->GetChild(key2, name3).empty()); storage_ 126 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_EQ(key3, storage_->GetChild(key1, name3)); storage_ 129 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->RemoveEntry(key3)); storage_ 130 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_FALSE(storage_->GetEntry(key3, &result)); storage_ 131 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->RemoveEntry(key2)); storage_ 132 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_FALSE(storage_->GetEntry(key2, &result)); storage_ 133 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->RemoveEntry(key1)); storage_ 134 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_FALSE(storage_->GetEntry(key1, &result)); storage_ 149 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutEntry(entry)); storage_ 158 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutCacheEntry(it->first, it->second)); storage_ 163 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc scoped_ptr<ResourceMetadataStorage::Iterator> it = storage_->GetIterator(); storage_ 196 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutCacheEntry(key1, entry)); storage_ 198 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutCacheEntry(key2, entry)); storage_ 201 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->GetCacheEntry(key1, &entry)); storage_ 203 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->GetCacheEntry(key2, &entry)); storage_ 207 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->RemoveCacheEntry(key1)); storage_ 208 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_FALSE(storage_->GetCacheEntry(key1, &entry)); storage_ 210 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->RemoveCacheEntry(key2)); storage_ 211 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_FALSE(storage_->GetCacheEntry(key2, &entry)); storage_ 230 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutCacheEntry(it->first, it->second)); storage_ 235 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutEntry(entry)); storage_ 237 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutEntry(entry)); storage_ 241 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc storage_->GetCacheEntryIterator(); storage_ 259 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_FALSE(storage_->GetIdByResourceId(resource_id, &id)); storage_ 265 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutEntry(entry)); storage_ 268 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->GetIdByResourceId(resource_id, &id)); storage_ 272 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->RemoveEntry(local_id)); storage_ 273 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_FALSE(storage_->GetIdByResourceId(resource_id, &id)); storage_ 300 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutEntry(entry)); storage_ 310 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutEntry(entry)); storage_ 317 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutCacheEntry(parents_id[i], cache_entry)); storage_ 323 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc storage_->GetChildren(parents_id[i], &children); storage_ 346 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutEntry(entry1)); storage_ 347 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutEntry(entry2)); storage_ 350 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc storage_.reset(new ResourceMetadataStorage( storage_ 352 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc ASSERT_TRUE(storage_->Initialize()); storage_ 356 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->GetEntry(parent_id1, &result)); storage_ 358 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->GetEntry(child_id1, &result)); storage_ 362 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_EQ(child_id1, storage_->GetChild(parent_id1, child_name1)); storage_ 370 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->SetLargestChangestamp(kLargestChangestamp)); storage_ 388 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc storage_.reset(); storage_ 391 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc storage_.reset(new ResourceMetadataStorage( storage_ 393 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc ASSERT_TRUE(storage_->Initialize()); storage_ 397 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->GetIdByResourceId("abcd", &id)); // "file:" is dropped. storage_ 400 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_EQ(0, storage_->GetLargestChangestamp()); storage_ 401 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_FALSE(storage_->GetEntry(id, &entry)); storage_ 402 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->GetCacheEntry(id, &cache_entry)); storage_ 412 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->SetLargestChangestamp(kLargestChangestamp)); storage_ 432 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc storage_.reset(); storage_ 435 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc storage_.reset(new ResourceMetadataStorage( storage_ 437 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc ASSERT_TRUE(storage_->Initialize()); storage_ 441 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->GetIdByResourceId(resource_id, &id)); storage_ 443 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_EQ(0, storage_->GetLargestChangestamp()); storage_ 444 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_FALSE(storage_->GetEntry(id, &entry)); storage_ 445 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->GetCacheEntry(id, &cache_entry)); storage_ 453 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->SetLargestChangestamp(kLargestChangestamp)); storage_ 456 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutEntry(entry)); storage_ 458 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutCacheEntry(key1, cache_entry)); storage_ 462 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc storage_.reset(); storage_ 465 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc storage_.reset(new ResourceMetadataStorage( storage_ 467 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc ASSERT_TRUE(storage_->Initialize()); storage_ 470 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_EQ(0, storage_->GetLargestChangestamp()); storage_ 471 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_FALSE(storage_->GetEntry(key1, &entry)); storage_ 472 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_FALSE(storage_->GetCacheEntry(key1, &cache_entry)); storage_ 480 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc storage_.reset(new ResourceMetadataStorage( storage_ 483 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc ASSERT_FALSE(storage_->Initialize()); storage_ 490 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutCacheEntry("id_foo", cache_entry)); storage_ 493 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutCacheEntry("id_bar", cache_entry)); storage_ 500 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutEntry(entry)); storage_ 507 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutEntry(entry)); storage_ 514 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc storage_.reset(new ResourceMetadataStorage( storage_ 516 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc ASSERT_TRUE(storage_->Initialize()); storage_ 520 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc storage_->RecoverCacheInfoFromTrashedResourceMap(&recovered_cache_info); storage_ 545 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutEntry(entry)); storage_ 552 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutEntry(entry)); storage_ 570 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutEntry(entry)); storage_ 587 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutCacheEntry(key1, cache_entry)); storage_ 588 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->PutCacheEntry(key2, cache_entry)); storage_ 593 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->RemoveEntry(key2)); storage_ 599 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->RemoveEntry(key3)); storage_ 603 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->RemoveEntry(key1)); storage_ 82 chrome/browser/chromeos/login/screens/screen_context.cc return storage_.HasKey(key); storage_ 119 chrome/browser/chromeos/login/screens/screen_context.cc bool in_storage = storage_.Get(key, ¤t_value); storage_ 126 chrome/browser/chromeos/login/screens/screen_context.cc storage_.Set(key, new_value.release()); storage_ 85 chrome/browser/chromeos/login/screens/screen_context.h bool has_key = storage_.Get(key, &value); storage_ 104 chrome/browser/chromeos/login/screens/screen_context.h base::DictionaryValue storage_; storage_ 58 chrome/browser/net/connection_tester.cc storage_(this), storage_ 100 chrome/browser/net/connection_tester.cc storage_.set_host_resolver(host_resolver_tmp.Pass()); storage_ 108 chrome/browser/net/connection_tester.cc storage_.set_proxy_service(experiment_proxy_service.release()); storage_ 112 chrome/browser/net/connection_tester.cc storage_.set_cert_verifier(net::CertVerifier::CreateDefault()); storage_ 113 chrome/browser/net/connection_tester.cc storage_.set_transport_security_state(new net::TransportSecurityState); storage_ 114 chrome/browser/net/connection_tester.cc storage_.set_ssl_config_service(new net::SSLConfigServiceDefaults); storage_ 115 chrome/browser/net/connection_tester.cc storage_.set_http_auth_handler_factory( storage_ 117 chrome/browser/net/connection_tester.cc storage_.set_http_server_properties( storage_ 132 chrome/browser/net/connection_tester.cc storage_.set_http_transaction_factory(new net::HttpCache( storage_ 135 chrome/browser/net/connection_tester.cc storage_.set_cookie_store( storage_ 284 chrome/browser/net/connection_tester.cc net::URLRequestContextStorage storage_; storage_ 111 chrome/service/net/service_url_request_context.cc : storage_(this) { storage_ 112 chrome/service/net/service_url_request_context.cc storage_.set_host_resolver(net::HostResolver::CreateDefaultResolver(NULL)); storage_ 113 chrome/service/net/service_url_request_context.cc storage_.set_proxy_service(net::ProxyService::CreateUsingSystemProxyResolver( storage_ 115 chrome/service/net/service_url_request_context.cc storage_.set_cert_verifier(net::CertVerifier::CreateDefault()); storage_ 116 chrome/service/net/service_url_request_context.cc storage_.set_ssl_config_service(new net::SSLConfigServiceDefaults); storage_ 117 chrome/service/net/service_url_request_context.cc storage_.set_http_auth_handler_factory( storage_ 119 chrome/service/net/service_url_request_context.cc storage_.set_http_server_properties( storage_ 122 chrome/service/net/service_url_request_context.cc storage_.set_transport_security_state(new net::TransportSecurityState); storage_ 123 chrome/service/net/service_url_request_context.cc storage_.set_throttler_manager(new net::URLRequestThrottlerManager); storage_ 135 chrome/service/net/service_url_request_context.cc storage_.set_http_transaction_factory(new net::HttpCache( storage_ 138 chrome/service/net/service_url_request_context.cc storage_.set_cookie_store(new net::CookieMonster(NULL, NULL)); storage_ 139 chrome/service/net/service_url_request_context.cc storage_.set_http_user_agent_settings(new net::StaticHttpUserAgentSettings( storage_ 45 chrome/service/net/service_url_request_context.h net::URLRequestContextStorage storage_; storage_ 604 components/policy/core/common/schema.cc : storage_(storage), storage_ 609 components/policy/core/common/schema.cc : storage_(iterator.storage_), storage_ 616 components/policy/core/common/schema.cc storage_ = iterator.storage_; storage_ 635 components/policy/core/common/schema.cc return Schema(storage_, storage_->schema(it_->schema)); storage_ 642 components/policy/core/common/schema.cc : storage_(storage), node_(node) {} storage_ 645 components/policy/core/common/schema.cc : storage_(schema.storage_), node_(schema.node_) {} storage_ 650 components/policy/core/common/schema.cc storage_ = schema.storage_; storage_ 870 components/policy/core/common/schema.cc return Iterator(storage_, storage_->properties(node_->extra)); storage_ 884 components/policy/core/common/schema.cc const PropertiesNode* node = storage_->properties(node_->extra); storage_ 885 components/policy/core/common/schema.cc const PropertyNode* begin = storage_->property(node->begin); storage_ 886 components/policy/core/common/schema.cc const PropertyNode* end = storage_->property(node->end); storage_ 889 components/policy/core/common/schema.cc return Schema(storage_, storage_->schema(it->schema)); storage_ 896 components/policy/core/common/schema.cc const PropertiesNode* node = storage_->properties(node_->extra); storage_ 899 components/policy/core/common/schema.cc return Schema(storage_, storage_->schema(node->additional)); storage_ 912 components/policy/core/common/schema.cc return Schema(storage_, storage_->schema(node_->extra)); storage_ 916 components/policy/core/common/schema.cc const RestrictionNode* rnode = storage_->restriction(index); storage_ 924 components/policy/core/common/schema.cc if (*storage_->int_enums(i) == value) storage_ 932 components/policy/core/common/schema.cc const RestrictionNode* rnode = storage_->restriction(index); storage_ 935 components/policy/core/common/schema.cc if (strcmp(*storage_->string_enums(i), str) == 0) storage_ 135 components/policy/core/common/schema.h scoped_refptr<const InternalStorage> storage_; storage_ 173 components/policy/core/common/schema.h scoped_refptr<const InternalStorage> storage_; storage_ 24 content/browser/service_worker/service_worker_context_core.cc : storage_(new ServiceWorkerStorage(path, quota_manager_proxy)), storage_ 31 content/browser/service_worker/service_worker_context_core.cc storage_.reset(); storage_ 61 content/browser/service_worker/service_worker_context_core.h ServiceWorkerStorage* storage() { return storage_.get(); } storage_ 111 content/browser/service_worker/service_worker_context_core.h scoped_ptr<ServiceWorkerStorage> storage_; storage_ 19 content/browser/service_worker/service_worker_storage_unittest.cc storage_.reset(new ServiceWorkerStorage(base::FilePath(), NULL)); storage_ 22 content/browser/service_worker/service_worker_storage_unittest.cc virtual void TearDown() OVERRIDE { storage_.reset(); } storage_ 25 content/browser/service_worker/service_worker_storage_unittest.cc scoped_ptr<ServiceWorkerStorage> storage_; storage_ 105 content/shell/browser/shell_url_request_context_getter.cc storage_.reset( storage_ 107 content/shell/browser/shell_url_request_context_getter.cc storage_->set_cookie_store( storage_ 109 content/shell/browser/shell_url_request_context_getter.cc storage_->set_server_bound_cert_service(new net::ServerBoundCertService( storage_ 112 content/shell/browser/shell_url_request_context_getter.cc storage_->set_http_user_agent_settings( storage_ 119 content/shell/browser/shell_url_request_context_getter.cc storage_->set_cert_verifier(net::CertVerifier::CreateDefault()); storage_ 120 content/shell/browser/shell_url_request_context_getter.cc storage_->set_transport_security_state(new net::TransportSecurityState); storage_ 122 content/shell/browser/shell_url_request_context_getter.cc storage_->set_proxy_service(net::ProxyService::CreateDirect()); storage_ 125 content/shell/browser/shell_url_request_context_getter.cc storage_->set_proxy_service( storage_ 131 content/shell/browser/shell_url_request_context_getter.cc storage_->set_ssl_config_service(new net::SSLConfigServiceDefaults); storage_ 132 content/shell/browser/shell_url_request_context_getter.cc storage_->set_http_auth_handler_factory( storage_ 134 content/shell/browser/shell_url_request_context_getter.cc storage_->set_http_server_properties( storage_ 196 content/shell/browser/shell_url_request_context_getter.cc storage_->set_host_resolver(host_resolver.Pass()); storage_ 202 content/shell/browser/shell_url_request_context_getter.cc storage_->set_http_transaction_factory(main_cache); storage_ 232 content/shell/browser/shell_url_request_context_getter.cc storage_->set_job_factory(top_job_factory.release()); storage_ 61 content/shell/browser/shell_url_request_context_getter.h scoped_ptr<net::URLRequestContextStorage> storage_; storage_ 48 extensions/browser/api/storage/settings_quota_unittest.cc ASSERT_TRUE(storage_.get() != NULL); storage_ 55 extensions/browser/api/storage/settings_quota_unittest.cc ASSERT_TRUE(storage_.get() == NULL); storage_ 58 extensions/browser/api/storage/settings_quota_unittest.cc storage_.reset(new SettingsStorageQuotaEnforcer(limits, delegate_)); storage_ 64 extensions/browser/api/storage/settings_quota_unittest.cc return settings.Equals(&storage_->Get()->settings()) && storage_ 74 extensions/browser/api/storage/settings_quota_unittest.cc scoped_ptr<SettingsStorageQuotaEnforcer> storage_; storage_ 84 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "a", *byte_value_1_)->HasError()); storage_ 85 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Remove("a")->HasError()); storage_ 86 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Remove("b")->HasError()); storage_ 94 extensions/browser/api/storage/settings_quota_unittest.cc storage_->Set(DEFAULTS, "Really long key", *byte_value_1_)->HasError()); storage_ 102 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "a", *byte_value_1_)->HasError()); storage_ 106 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "b", *byte_value_16_)->HasError()); storage_ 107 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "c", *byte_value_256_)->HasError()); storage_ 118 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, to_set)->HasError()); storage_ 125 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, to_set)->HasError()); storage_ 129 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "c", *byte_value_256_)->HasError()); storage_ 137 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "a", *byte_value_1_)->HasError()); storage_ 138 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Remove("a")->HasError()); storage_ 139 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Remove("b")->HasError()); storage_ 147 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "a", *byte_value_1_)->HasError()); storage_ 152 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "a", *byte_value_16_)->HasError()); storage_ 156 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "b", *byte_value_16_)->HasError()); storage_ 157 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "c", *byte_value_256_)->HasError()); storage_ 168 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, to_set)->HasError()); storage_ 176 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, to_set)->HasError()); storage_ 180 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "c", *byte_value_256_)->HasError()); storage_ 188 extensions/browser/api/storage/settings_quota_unittest.cc storage_->Set(DEFAULTS, "b", *byte_value_16_); storage_ 191 extensions/browser/api/storage/settings_quota_unittest.cc storage_->Set(DEFAULTS, "c", *byte_value_256_); storage_ 195 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Remove("b")->HasError()); storage_ 197 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "c", *byte_value_256_)->HasError()); storage_ 202 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "a", *byte_value_1_)->HasError()); storage_ 206 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "b", *byte_value_1_)->HasError()); storage_ 210 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Remove("a")->HasError()); storage_ 212 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "b", *byte_value_1_)->HasError()); storage_ 225 extensions/browser/api/storage/settings_quota_unittest.cc storage_->Set(DEFAULTS, to_set); storage_ 228 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "a", *byte_value_1_)->HasError()); storage_ 235 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Remove(to_remove)->HasError()); storage_ 236 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Remove("b")->HasError()); storage_ 240 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "a", *byte_value_1_)->HasError()); storage_ 247 extensions/browser/api/storage/settings_quota_unittest.cc storage_->Set(DEFAULTS, to_set); storage_ 250 extensions/browser/api/storage/settings_quota_unittest.cc storage_->Set(DEFAULTS, "b3", *byte_value_1_); storage_ 258 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Remove(to_remove)->HasError()); storage_ 259 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Remove("b")->HasError()); storage_ 263 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "a", *byte_value_1_)->HasError()); storage_ 276 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, to_set)->HasError()); storage_ 277 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "c", *byte_value_16_)->HasError()); storage_ 279 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Clear()->HasError()); storage_ 282 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, to_set)->HasError()); storage_ 283 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "c", *byte_value_16_)->HasError()); storage_ 287 extensions/browser/api/storage/settings_quota_unittest.cc storage_->Clear(); storage_ 295 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, to_set)->HasError()); storage_ 296 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "f", *byte_value_1_)->HasError()); storage_ 298 extensions/browser/api/storage/settings_quota_unittest.cc storage_->Clear(); storage_ 301 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, to_set)->HasError()); storage_ 302 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "f", *byte_value_1_)->HasError()); storage_ 311 extensions/browser/api/storage/settings_quota_unittest.cc storage_->Set(DEFAULTS, "a", *byte_value_16_); storage_ 315 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "a", *byte_value_256_)->HasError()); storage_ 319 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "foobar", *byte_value_1_)->HasError()); storage_ 320 extensions/browser/api/storage/settings_quota_unittest.cc storage_->Set(DEFAULTS, "a", *byte_value_1_); storage_ 323 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "foobar", *byte_value_1_)->HasError()); storage_ 332 extensions/browser/api/storage/settings_quota_unittest.cc storage_->Set(DEFAULTS, "a", *byte_value_16_); storage_ 339 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, to_set)->HasError()); storage_ 344 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, to_set)->HasError()); storage_ 355 extensions/browser/api/storage/settings_quota_unittest.cc storage_->Set(DEFAULTS, "a", *byte_value_1_); storage_ 361 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, to_set)->HasError()); storage_ 374 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "b", *byte_value_16_)->HasError()); storage_ 379 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "c", *byte_value_16_)->HasError()); storage_ 383 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "a", *byte_value_16_)->HasError()); storage_ 387 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "c", *byte_value_16_)->HasError()); storage_ 392 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "d", *byte_value_256_)->HasError()); storage_ 397 extensions/browser/api/storage/settings_quota_unittest.cc storage_->Remove(to_remove); storage_ 402 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "d", *byte_value_256_)->HasError()); storage_ 413 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "b", *byte_value_1_)->HasError()); storage_ 416 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "c", *byte_value_1_)->HasError()); storage_ 431 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "d", *byte_value_16_)->HasError()); storage_ 434 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "a", *byte_value_1_)->HasError()); storage_ 439 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "d", *byte_value_1_)->HasError()); storage_ 455 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "d", *byte_value_16_)->HasError()); storage_ 456 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "a", *byte_value_1_)->HasError()); storage_ 460 extensions/browser/api/storage/settings_quota_unittest.cc storage_->Remove("a"); storage_ 462 extensions/browser/api/storage/settings_quota_unittest.cc storage_->Remove("b"); storage_ 466 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "e", *byte_value_1_)->HasError()); storage_ 471 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "d", *byte_value_16_)->HasError()); storage_ 472 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "a", *byte_value_1_)->HasError()); storage_ 480 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "a", *byte_value_1_)->HasError()); storage_ 481 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Remove("a")->HasError()); storage_ 482 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Remove("b")->HasError()); storage_ 491 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "a", *byte_value_1_)->HasError()); storage_ 492 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "a", *byte_value_16_)->HasError()); storage_ 494 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "a", *byte_value_256_)->HasError()); storage_ 496 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "b", *byte_value_1_)->HasError()); storage_ 497 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "b", *byte_value_16_)->HasError()); storage_ 499 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "b", *byte_value_256_)->HasError()); storage_ 512 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "a", *byte_value_1_)->HasError()); storage_ 513 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "a", *byte_value_16_)->HasError()); storage_ 515 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "a", *byte_value_256_)->HasError()); storage_ 517 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "b", *byte_value_1_)->HasError()); storage_ 518 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "b", *byte_value_16_)->HasError()); storage_ 520 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "b", *byte_value_256_)->HasError()); storage_ 522 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "c", *byte_value_1_)->HasError()); storage_ 523 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(DEFAULTS, "c", *byte_value_16_)->HasError()); storage_ 525 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "c", *byte_value_256_)->HasError()); storage_ 542 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(IGNORE_QUOTA, "a", *byte_value_1_)->HasError()); storage_ 543 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(IGNORE_QUOTA, "a", *byte_value_16_)->HasError()); storage_ 544 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(IGNORE_QUOTA, "a", *byte_value_256_)->HasError()); storage_ 547 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(IGNORE_QUOTA, "b", *byte_value_1_)->HasError()); storage_ 548 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(IGNORE_QUOTA, "b", *byte_value_16_)->HasError()); storage_ 549 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(IGNORE_QUOTA, "b", *byte_value_256_)->HasError()); storage_ 552 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(IGNORE_QUOTA, "c", *byte_value_1_)->HasError()); storage_ 553 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_FALSE(storage_->Set(IGNORE_QUOTA, "c", *byte_value_16_)->HasError()); storage_ 557 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_TRUE(storage_->Set(DEFAULTS, "c", *byte_value_256_)->HasError()); storage_ 570 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_EQ(0u, storage_->GetBytesInUse()); storage_ 571 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_EQ(0u, storage_->GetBytesInUse("a")); storage_ 572 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_EQ(0u, storage_->GetBytesInUse("b")); storage_ 573 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_EQ(0u, storage_->GetBytesInUse(ab)); storage_ 575 extensions/browser/api/storage/settings_quota_unittest.cc storage_->Set(DEFAULTS, "a", *byte_value_1_); storage_ 577 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_EQ(2u, storage_->GetBytesInUse()); storage_ 578 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_EQ(2u, storage_->GetBytesInUse("a")); storage_ 579 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_EQ(0u, storage_->GetBytesInUse("b")); storage_ 580 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_EQ(2u, storage_->GetBytesInUse(ab)); storage_ 582 extensions/browser/api/storage/settings_quota_unittest.cc storage_->Set(DEFAULTS, "b", *byte_value_1_); storage_ 584 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_EQ(4u, storage_->GetBytesInUse()); storage_ 585 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_EQ(2u, storage_->GetBytesInUse("a")); storage_ 586 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_EQ(2u, storage_->GetBytesInUse("b")); storage_ 587 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_EQ(4u, storage_->GetBytesInUse(ab)); storage_ 589 extensions/browser/api/storage/settings_quota_unittest.cc storage_->Set(DEFAULTS, "c", *byte_value_1_); storage_ 591 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_EQ(6u, storage_->GetBytesInUse()); storage_ 592 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_EQ(2u, storage_->GetBytesInUse("a")); storage_ 593 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_EQ(2u, storage_->GetBytesInUse("b")); storage_ 594 extensions/browser/api/storage/settings_quota_unittest.cc EXPECT_EQ(4u, storage_->GetBytesInUse(ab)); storage_ 53 extensions/browser/value_store/testing_value_store.cc if (storage_.GetWithoutPathExpansion(*it, &value)) { storage_ 64 extensions/browser/value_store/testing_value_store.cc return MakeReadResult(make_scoped_ptr(storage_.DeepCopy())); storage_ 84 extensions/browser/value_store/testing_value_store.cc if (!storage_.GetWithoutPathExpansion(it.key(), &old_value) || storage_ 91 extensions/browser/value_store/testing_value_store.cc storage_.SetWithoutPathExpansion(it.key(), it.value().DeepCopy()); storage_ 111 extensions/browser/value_store/testing_value_store.cc if (storage_.RemoveWithoutPathExpansion(*it, &old_value)) { storage_ 120 extensions/browser/value_store/testing_value_store.cc for (base::DictionaryValue::Iterator it(storage_); storage_ 54 extensions/browser/value_store/testing_value_store.h base::DictionaryValue storage_; storage_ 18 extensions/browser/value_store/value_store_frontend.cc Backend() : storage_(NULL) {} storage_ 22 extensions/browser/value_store/value_store_frontend.cc DCHECK(!storage_); storage_ 25 extensions/browser/value_store/value_store_frontend.cc storage_ = new LeveldbValueStore(db_path); storage_ 31 extensions/browser/value_store/value_store_frontend.cc DCHECK(!storage_); storage_ 32 extensions/browser/value_store/value_store_frontend.cc storage_ = storage.release(); storage_ 38 extensions/browser/value_store/value_store_frontend.cc ValueStore::ReadResult result = storage_->Get(key); storage_ 58 extensions/browser/value_store/value_store_frontend.cc storage_->Set(ValueStore::IGNORE_QUOTA | ValueStore::NO_GENERATE_CHANGES, storage_ 64 extensions/browser/value_store/value_store_frontend.cc storage_->Remove(key); storage_ 72 extensions/browser/value_store/value_store_frontend.cc delete storage_; storage_ 74 extensions/browser/value_store/value_store_frontend.cc BrowserThread::DeleteSoon(BrowserThread::FILE, FROM_HERE, storage_); storage_ 86 extensions/browser/value_store/value_store_frontend.cc ValueStore* storage_; storage_ 38 extensions/browser/value_store/value_store_frontend_unittest.cc storage_.reset(); storage_ 43 extensions/browser/value_store/value_store_frontend_unittest.cc storage_.reset(new ValueStoreFrontend(db_path_)); storage_ 47 extensions/browser/value_store/value_store_frontend_unittest.cc storage_->Get(key, base::Bind(&ValueStoreFrontendTest::GetAndWait, storage_ 60 extensions/browser/value_store/value_store_frontend_unittest.cc scoped_ptr<ValueStoreFrontend> storage_; storage_ 89 extensions/browser/value_store/value_store_frontend_unittest.cc storage_->Set("key0", storage_ 91 extensions/browser/value_store/value_store_frontend_unittest.cc storage_->Set("key1", storage_ 93 extensions/browser/value_store/value_store_frontend_unittest.cc storage_->Remove("key2"); storage_ 173 extensions/browser/value_store/value_store_unittest.cc storage_.reset((GetParam())(temp_dir_.path().AppendASCII("dbName"))); storage_ 174 extensions/browser/value_store/value_store_unittest.cc ASSERT_TRUE(storage_.get()); storage_ 178 extensions/browser/value_store/value_store_unittest.cc storage_.reset(); storage_ 182 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(key1_)); storage_ 183 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(empty_list_)); storage_ 184 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(list123_)); storage_ 185 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get()); storage_ 193 extensions/browser/value_store/value_store_unittest.cc changes, storage_->Set(DEFAULTS, key1_, *val1_)); storage_ 196 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *dict1_, storage_->Get(key1_)); storage_ 197 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(key2_)); storage_ 198 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(key3_)); storage_ 199 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(empty_list_)); storage_ 200 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *dict1_, storage_->Get(list123_)); storage_ 201 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *dict1_, storage_->Get()); storage_ 209 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, changes, storage_->Set(DEFAULTS, *dict12_)); storage_ 212 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *dict1_, storage_->Get(key1_)); storage_ 213 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(key3_)); storage_ 214 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(empty_list_)); storage_ 215 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *dict12_, storage_->Get(list123_)); storage_ 216 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *dict12_, storage_->Get()); storage_ 221 extensions/browser/value_store/value_store_unittest.cc storage_->Remove(key1_)); storage_ 223 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(key1_)); storage_ 224 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(list1_)); storage_ 225 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get()); storage_ 229 extensions/browser/value_store/value_store_unittest.cc storage_->Set(DEFAULTS, *dict1_); storage_ 233 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, changes, storage_->Remove(key1_)); storage_ 236 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(key1_)); storage_ 237 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(key2_)); storage_ 238 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(list1_)); storage_ 239 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(list12_)); storage_ 240 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get()); storage_ 244 extensions/browser/value_store/value_store_unittest.cc storage_->Set(DEFAULTS, *dict123_); storage_ 248 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, changes, storage_->Remove(key3_)); storage_ 251 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *dict1_, storage_->Get(key1_)); storage_ 252 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(key3_)); storage_ 253 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(empty_list_)); storage_ 254 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *dict1_, storage_->Get(list1_)); storage_ 255 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *dict12_, storage_->Get(list12_)); storage_ 256 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *dict1_, storage_->Get(list13_)); storage_ 257 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *dict12_, storage_->Get(list123_)); storage_ 258 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *dict12_, storage_->Get()); storage_ 264 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, changes, storage_->Remove(list12_)); storage_ 267 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(key1_)); storage_ 268 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(key3_)); storage_ 269 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(empty_list_)); storage_ 270 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(list1_)); storage_ 271 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(list12_)); storage_ 272 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(list13_)); storage_ 273 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(list123_)); storage_ 274 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get()); storage_ 278 extensions/browser/value_store/value_store_unittest.cc storage_->Set(DEFAULTS, key1_, *val2_); storage_ 284 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, changes, storage_->Set(DEFAULTS, *dict12_)); storage_ 287 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *dict1_, storage_->Get(key1_)); storage_ 288 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(key3_)); storage_ 289 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(empty_list_)); storage_ 290 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *dict1_, storage_->Get(list1_)); storage_ 291 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *dict12_, storage_->Get(list12_)); storage_ 292 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *dict1_, storage_->Get(list13_)); storage_ 293 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *dict12_, storage_->Get(list123_)); storage_ 294 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *dict12_, storage_->Get()); storage_ 298 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, ValueStoreChangeList(), storage_->Clear()); storage_ 300 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(key1_)); storage_ 301 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(empty_list_)); storage_ 302 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(list123_)); storage_ 303 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get()); storage_ 307 extensions/browser/value_store/value_store_unittest.cc storage_->Set(DEFAULTS, *dict12_); storage_ 312 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, changes, storage_->Clear()); storage_ 315 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(key1_)); storage_ 316 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(empty_list_)); storage_ 317 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(list123_)); storage_ 318 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get()); storage_ 331 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(dot_key)); storage_ 338 extensions/browser/value_store/value_store_unittest.cc changes, storage_->Set(DEFAULTS, dot_key, dot_value)); storage_ 341 extensions/browser/value_store/value_store_unittest.cc ValueStoreChangeList(), storage_->Set(DEFAULTS, dot_key, dot_value)); storage_ 343 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, dot_dict, storage_->Get(dot_key)); storage_ 349 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, changes, storage_->Remove(dot_key)); storage_ 352 extensions/browser/value_store/value_store_unittest.cc ValueStoreChangeList(), storage_->Remove(dot_key)); storage_ 357 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, changes, storage_->Set(DEFAULTS, dot_dict)); storage_ 360 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, dot_dict, storage_->Get(dot_list)); storage_ 361 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, dot_dict, storage_->Get()); storage_ 367 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, changes, storage_->Remove(dot_list)); storage_ 370 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get(dot_key)); storage_ 371 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get()); storage_ 385 extensions/browser/value_store/value_store_unittest.cc changes, storage_->Set(DEFAULTS, outer_dict)); storage_ 388 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, outer_dict, storage_->Get("foo")); storage_ 389 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(SettingsEq, *empty_dict_, storage_->Get("foo.bar")); storage_ 400 extensions/browser/value_store/value_store_unittest.cc storage_->Set(DEFAULTS, key1_, *val1_); storage_ 402 extensions/browser/value_store/value_store_unittest.cc ValueStoreChangeList(), storage_->Set(DEFAULTS, key1_, *val1_)); storage_ 408 extensions/browser/value_store/value_store_unittest.cc changes, storage_->Set(DEFAULTS, key1_, *val2_)); storage_ 413 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, changes, storage_->Remove(key1_)); storage_ 415 extensions/browser/value_store/value_store_unittest.cc ValueStoreChangeList(), storage_->Remove(key1_)); storage_ 421 extensions/browser/value_store/value_store_unittest.cc changes, storage_->Set(DEFAULTS, key1_, *val1_)); storage_ 426 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, changes, storage_->Clear()); storage_ 427 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, ValueStoreChangeList(), storage_->Clear()); storage_ 434 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, changes, storage_->Set(DEFAULTS, *dict12_)); storage_ 436 extensions/browser/value_store/value_store_unittest.cc ValueStoreChangeList(), storage_->Set(DEFAULTS, *dict12_)); storage_ 441 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, changes, storage_->Set(DEFAULTS, *dict123_)); storage_ 456 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, changes, storage_->Set(DEFAULTS, to_set)); storage_ 462 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, changes, storage_->Remove(list12_)); storage_ 471 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, changes, storage_->Remove(to_remove)); storage_ 478 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, changes, storage_->Clear()); storage_ 479 extensions/browser/value_store/value_store_unittest.cc EXPECT_PRED_FORMAT2(ChangesEq, ValueStoreChangeList(), storage_->Clear()); storage_ 31 extensions/browser/value_store/value_store_unittest.h scoped_ptr<ValueStore> storage_; storage_ 39 media/cast/transport/rtp_sender/rtp_sender.cc storage_.reset(new PacketStorage(clock_, config.base.rtp_config.history_ms)); storage_ 46 media/cast/transport/rtp_sender/rtp_sender.cc new RtpPacketizer(transport_, storage_.get(), config_, clock_, logging_)); storage_ 50 media/cast/transport/rtp_sender/rtp_sender.cc storage_.reset(new PacketStorage(clock_, config.base.rtp_config.history_ms)); storage_ 57 media/cast/transport/rtp_sender/rtp_sender.cc new RtpPacketizer(transport_, storage_.get(), config_, clock_, logging_)); storage_ 75 media/cast/transport/rtp_sender/rtp_sender.cc DCHECK(storage_); storage_ 92 media/cast/transport/rtp_sender/rtp_sender.cc success = storage_->GetPacket(frame_id, packet_id, &packets_to_resend); storage_ 111 media/cast/transport/rtp_sender/rtp_sender.cc success = storage_->GetPacket(frame_id, packet_id, &packets_to_resend); storage_ 78 media/cast/transport/rtp_sender/rtp_sender.h scoped_ptr<PacketStorage> storage_; storage_ 14 mojo/public/cpp/bindings/lib/array_internal.cc : storage_(storage), storage_ 21 mojo/public/cpp/bindings/lib/array_internal.cc *storage_ |= mask_; storage_ 23 mojo/public/cpp/bindings/lib/array_internal.cc *storage_ &= ~mask_; storage_ 34 mojo/public/cpp/bindings/lib/array_internal.cc return (*storage_ & mask_) != 0; storage_ 76 mojo/public/cpp/bindings/lib/array_internal.h uint8_t* storage_; storage_ 21 mojo/shell/context.cc storage_(), storage_ 26 mojo/shell/context.cc storage_.profile_path()) { storage_ 30 mojo/shell/context.h Storage* storage() { return &storage_; } storage_ 42 mojo/shell/context.h Storage storage_; storage_ 54 mojo/shell/url_request_context_getter.cc storage_.reset( storage_ 57 mojo/shell/url_request_context_getter.cc storage_->set_cookie_store(new net::CookieMonster(NULL, NULL)); storage_ 58 mojo/shell/url_request_context_getter.cc storage_->set_http_user_agent_settings( storage_ 61 mojo/shell/url_request_context_getter.cc storage_->set_proxy_service(net::ProxyService::CreateDirect()); storage_ 62 mojo/shell/url_request_context_getter.cc storage_->set_ssl_config_service(new net::SSLConfigServiceDefaults); storage_ 63 mojo/shell/url_request_context_getter.cc storage_->set_cert_verifier(net::CertVerifier::CreateDefault()); storage_ 67 mojo/shell/url_request_context_getter.cc storage_->set_transport_security_state(transport_security_state); storage_ 76 mojo/shell/url_request_context_getter.cc storage_->set_server_bound_cert_service(new net::ServerBoundCertService( storage_ 78 mojo/shell/url_request_context_getter.cc storage_->set_http_server_properties( storage_ 81 mojo/shell/url_request_context_getter.cc storage_->set_host_resolver(net::HostResolver::CreateDefaultResolver( storage_ 114 mojo/shell/url_request_context_getter.cc storage_->set_http_transaction_factory(main_cache); storage_ 121 mojo/shell/url_request_context_getter.cc storage_->set_job_factory(job_factory.release()); storage_ 42 mojo/shell/url_request_context_getter.h scoped_ptr<net::URLRequestContextStorage> storage_; storage_ 107 net/cronet/android/url_request_context_peer.cc BasicURLRequestContext() : storage_(this) {} storage_ 109 net/cronet/android/url_request_context_peer.cc net::URLRequestContextStorage* storage() { return &storage_; } storage_ 115 net/cronet/android/url_request_context_peer.cc net::URLRequestContextStorage storage_; storage_ 54 net/proxy/proxy_script_fetcher_impl_unittest.cc RequestContext() : storage_(this) { storage_ 56 net/proxy/proxy_script_fetcher_impl_unittest.cc storage_.set_host_resolver(scoped_ptr<HostResolver>(new MockHostResolver)); storage_ 57 net/proxy/proxy_script_fetcher_impl_unittest.cc storage_.set_cert_verifier(new MockCertVerifier); storage_ 58 net/proxy/proxy_script_fetcher_impl_unittest.cc storage_.set_transport_security_state(new TransportSecurityState); storage_ 59 net/proxy/proxy_script_fetcher_impl_unittest.cc storage_.set_proxy_service(ProxyService::CreateFixed(no_proxy)); storage_ 60 net/proxy/proxy_script_fetcher_impl_unittest.cc storage_.set_ssl_config_service(new SSLConfigServiceDefaults); storage_ 61 net/proxy/proxy_script_fetcher_impl_unittest.cc storage_.set_http_server_properties( storage_ 73 net/proxy/proxy_script_fetcher_impl_unittest.cc storage_.set_http_transaction_factory(new HttpCache( storage_ 78 net/proxy/proxy_script_fetcher_impl_unittest.cc storage_.set_job_factory(job_factory); storage_ 85 net/proxy/proxy_script_fetcher_impl_unittest.cc URLRequestContextStorage storage_; storage_ 15 net/spdy/spdy_pinnable_buffer_piece.cc if (!storage_ && buffer_ != NULL && length_ != 0) { storage_ 16 net/spdy/spdy_pinnable_buffer_piece.cc storage_.reset(new char[length_]); storage_ 17 net/spdy/spdy_pinnable_buffer_piece.cc std::copy(buffer_, buffer_ + length_, storage_.get()); storage_ 18 net/spdy/spdy_pinnable_buffer_piece.cc buffer_ = storage_.get(); storage_ 31 net/spdy/spdy_pinnable_buffer_piece.cc storage_.swap(other->storage_); storage_ 43 net/spdy/spdy_pinnable_buffer_piece.h return storage_.get() != NULL; storage_ 55 net/spdy/spdy_pinnable_buffer_piece.h scoped_ptr<char[]> storage_; storage_ 55 net/spdy/spdy_prefixed_buffer_reader.cc out->storage_.reset(); storage_ 67 net/spdy/spdy_prefixed_buffer_reader.cc out->storage_.reset(new char[count]); storage_ 68 net/spdy/spdy_prefixed_buffer_reader.cc out->buffer_ = out->storage_.get(); storage_ 69 net/spdy/spdy_prefixed_buffer_reader.cc ReadN(count, out->storage_.get()); storage_ 450 net/spdy/spdy_test_util_common.cc : storage_(this) { storage_ 453 net/spdy/spdy_test_util_common.cc storage_.set_host_resolver(scoped_ptr<HostResolver>(new MockHostResolver)); storage_ 454 net/spdy/spdy_test_util_common.cc storage_.set_cert_verifier(new MockCertVerifier); storage_ 455 net/spdy/spdy_test_util_common.cc storage_.set_transport_security_state(new TransportSecurityState); storage_ 456 net/spdy/spdy_test_util_common.cc storage_.set_proxy_service(ProxyService::CreateDirect()); storage_ 457 net/spdy/spdy_test_util_common.cc storage_.set_ssl_config_service(new SSLConfigServiceDefaults); storage_ 458 net/spdy/spdy_test_util_common.cc storage_.set_http_auth_handler_factory(HttpAuthHandlerFactory::CreateDefault( storage_ 460 net/spdy/spdy_test_util_common.cc storage_.set_http_server_properties( storage_ 479 net/spdy/spdy_test_util_common.cc storage_.set_http_transaction_factory(new HttpCache( storage_ 234 net/spdy/spdy_test_util_common.h net::URLRequestContextStorage storage_; storage_ 24 net/tools/balsa/simple_buffer.cc : storage_(new char[kInitialSimpleBufferSize]), storage_ 37 net/tools/balsa/simple_buffer.cc storage_ = new char[size]; storage_ 41 net/tools/balsa/simple_buffer.cc delete[] storage_; storage_ 95 net/tools/balsa/simple_buffer.cc memcpy(storage_ + write_idx_, bytes, size); storage_ 106 net/tools/balsa/simple_buffer.cc *ptr = storage_ + write_idx_; storage_ 116 net/tools/balsa/simple_buffer.cc *ptr = storage_ + read_idx_; storage_ 154 net/tools/balsa/simple_buffer.cc memmove(storage_, read_ptr, read_size); storage_ 178 net/tools/balsa/simple_buffer.cc delete[] storage_; storage_ 179 net/tools/balsa/simple_buffer.cc storage_ = new_storage; storage_ 26 net/tools/balsa/simple_buffer.h iterator begin() { return storage_ + read_idx_; } storage_ 27 net/tools/balsa/simple_buffer.h const_iterator begin() const { return storage_ + read_idx_; } storage_ 29 net/tools/balsa/simple_buffer.h iterator end() { return storage_ + write_idx_; } storage_ 30 net/tools/balsa/simple_buffer.h const_iterator end() const { return storage_ + write_idx_; } storage_ 63 net/tools/balsa/simple_buffer.h char* tmp = storage_; storage_ 64 net/tools/balsa/simple_buffer.h storage_ = other->storage_; storage_ 65 net/tools/balsa/simple_buffer.h other->storage_ = tmp; storage_ 81 net/tools/balsa/simple_buffer.h char* storage_; storage_ 132 net/url_request/url_request_context_builder.cc return &storage_; storage_ 166 net/url_request/url_request_context_builder.cc URLRequestContextStorage storage_; storage_ 25 ppapi/cpp/dev/alarms_dev.cc : name_wrapper_(&storage_->name, NOT_OWNED), storage_ 26 ppapi/cpp/dev/alarms_dev.cc period_in_minutes_wrapper_(&storage_->period_in_minutes, NOT_OWNED) { storage_ 30 ppapi/cpp/dev/alarms_dev.cc : name_wrapper_(&storage_->name, NOT_OWNED), storage_ 31 ppapi/cpp/dev/alarms_dev.cc period_in_minutes_wrapper_(&storage_->period_in_minutes, NOT_OWNED) { storage_ 36 ppapi/cpp/dev/alarms_dev.cc : name_wrapper_(&storage_->name, NOT_OWNED), storage_ 37 ppapi/cpp/dev/alarms_dev.cc period_in_minutes_wrapper_(&storage_->period_in_minutes, NOT_OWNED) { storage_ 42 ppapi/cpp/dev/alarms_dev.cc : storage_(storage, NOT_OWNED), storage_ 43 ppapi/cpp/dev/alarms_dev.cc name_wrapper_(&storage_->name, NOT_OWNED), storage_ 44 ppapi/cpp/dev/alarms_dev.cc period_in_minutes_wrapper_(&storage_->period_in_minutes, NOT_OWNED) { storage_ 51 ppapi/cpp/dev/alarms_dev.cc return operator=(*other.storage_); storage_ 55 ppapi/cpp/dev/alarms_dev.cc if (storage_.get() == &other) storage_ 59 ppapi/cpp/dev/alarms_dev.cc storage_->scheduled_time = other.scheduled_time; storage_ 74 ppapi/cpp/dev/alarms_dev.cc return storage_->scheduled_time; storage_ 78 ppapi/cpp/dev/alarms_dev.cc storage_->scheduled_time = value; storage_ 98 ppapi/cpp/dev/alarms_dev.cc return storage_.get(); storage_ 105 ppapi/cpp/dev/alarms_dev.cc return storage_.get(); storage_ 114 ppapi/cpp/dev/alarms_dev.cc : when_wrapper_(&storage_->when, NOT_OWNED), storage_ 115 ppapi/cpp/dev/alarms_dev.cc delay_in_minutes_wrapper_(&storage_->delay_in_minutes, NOT_OWNED), storage_ 116 ppapi/cpp/dev/alarms_dev.cc period_in_minutes_wrapper_(&storage_->period_in_minutes, NOT_OWNED) { storage_ 120 ppapi/cpp/dev/alarms_dev.cc : when_wrapper_(&storage_->when, NOT_OWNED), storage_ 121 ppapi/cpp/dev/alarms_dev.cc delay_in_minutes_wrapper_(&storage_->delay_in_minutes, NOT_OWNED), storage_ 122 ppapi/cpp/dev/alarms_dev.cc period_in_minutes_wrapper_(&storage_->period_in_minutes, NOT_OWNED) { storage_ 128 ppapi/cpp/dev/alarms_dev.cc : when_wrapper_(&storage_->when, NOT_OWNED), storage_ 129 ppapi/cpp/dev/alarms_dev.cc delay_in_minutes_wrapper_(&storage_->delay_in_minutes, NOT_OWNED), storage_ 130 ppapi/cpp/dev/alarms_dev.cc period_in_minutes_wrapper_(&storage_->period_in_minutes, NOT_OWNED) { storage_ 137 ppapi/cpp/dev/alarms_dev.cc : storage_(storage, NOT_OWNED), storage_ 138 ppapi/cpp/dev/alarms_dev.cc when_wrapper_(&storage_->when, NOT_OWNED), storage_ 139 ppapi/cpp/dev/alarms_dev.cc delay_in_minutes_wrapper_(&storage_->delay_in_minutes, NOT_OWNED), storage_ 140 ppapi/cpp/dev/alarms_dev.cc period_in_minutes_wrapper_(&storage_->period_in_minutes, NOT_OWNED) { storage_ 148 ppapi/cpp/dev/alarms_dev.cc return operator=(*other.storage_); storage_ 153 ppapi/cpp/dev/alarms_dev.cc if (storage_.get() == &other) storage_ 212 ppapi/cpp/dev/alarms_dev.cc return storage_.get(); storage_ 220 ppapi/cpp/dev/alarms_dev.cc return storage_.get(); storage_ 70 ppapi/cpp/dev/alarms_dev.h internal::MayOwnPtr<PP_Alarms_Alarm_Dev> storage_; storage_ 120 ppapi/cpp/dev/alarms_dev.h internal::MayOwnPtr<PP_Alarms_AlarmCreateInfo_Dev> storage_; storage_ 89 ppapi/cpp/dev/array_dev.h Array(CArrayType* storage, NotOwned) : storage_(storage, NOT_OWNED) { storage_ 93 ppapi/cpp/dev/array_dev.h Array(const Array<T>& other) { DeepCopy(*other.storage_); } storage_ 98 ppapi/cpp/dev/array_dev.h return operator=(*other.storage_); storage_ 102 ppapi/cpp/dev/array_dev.h if (storage_.get() == &other) storage_ 111 ppapi/cpp/dev/array_dev.h uint32_t size() const { return storage_->size; } storage_ 114 ppapi/cpp/dev/array_dev.h PP_DCHECK(storage_->size == wrappers_.size()); storage_ 115 ppapi/cpp/dev/array_dev.h PP_DCHECK(index < storage_->size); storage_ 116 ppapi/cpp/dev/array_dev.h PP_DCHECK(wrappers_[index]->ToStruct() == storage_->elements + index); storage_ 121 ppapi/cpp/dev/array_dev.h PP_DCHECK(storage_->size == wrappers_.size()); storage_ 122 ppapi/cpp/dev/array_dev.h PP_DCHECK(index < storage_->size); storage_ 123 ppapi/cpp/dev/array_dev.h PP_DCHECK(wrappers_[index]->ToStruct() == storage_->elements + index); storage_ 134 ppapi/cpp/dev/array_dev.h internal::ArrayAllocator::Free(storage_->elements); storage_ 135 ppapi/cpp/dev/array_dev.h storage_->elements = NULL; storage_ 137 ppapi/cpp/dev/array_dev.h storage_->size = size; storage_ 139 ppapi/cpp/dev/array_dev.h storage_->elements = static_cast<CType*>( storage_ 149 ppapi/cpp/dev/array_dev.h return storage_.get(); storage_ 156 ppapi/cpp/dev/array_dev.h storage_->size = other.size; storage_ 158 ppapi/cpp/dev/array_dev.h if (storage_->size > 0) { storage_ 159 ppapi/cpp/dev/array_dev.h storage_->elements = static_cast<CType*>( storage_ 160 ppapi/cpp/dev/array_dev.h internal::ArrayAllocator::Alloc(storage_->size, sizeof(CType))); storage_ 165 ppapi/cpp/dev/array_dev.h for (size_t i = 0; i < storage_->size; ++i) storage_ 181 ppapi/cpp/dev/array_dev.h uint32_t size = storage_->size; storage_ 187 ppapi/cpp/dev/array_dev.h wrappers_.push_back(new T(&storage_->elements[i], NOT_OWNED)); storage_ 190 ppapi/cpp/dev/array_dev.h internal::MayOwnPtr<CArrayType> storage_; storage_ 32 ppapi/cpp/dev/optional_dev.h : storage_(storage, NOT_OWNED) { storage_ 35 ppapi/cpp/dev/optional_dev.h Optional(const Optional<double>& other) { *storage_ = *other.storage_; } storage_ 38 ppapi/cpp/dev/optional_dev.h return operator=(*other.storage_); storage_ 42 ppapi/cpp/dev/optional_dev.h if (storage_.get() == &other) storage_ 45 ppapi/cpp/dev/optional_dev.h *storage_ = other; storage_ 49 ppapi/cpp/dev/optional_dev.h bool is_set() const { return PP_ToBool(storage_->is_set); } storage_ 50 ppapi/cpp/dev/optional_dev.h void unset() { storage_->is_set = PP_FALSE; } storage_ 54 ppapi/cpp/dev/optional_dev.h return storage_->value; storage_ 58 ppapi/cpp/dev/optional_dev.h storage_->value = value; storage_ 59 ppapi/cpp/dev/optional_dev.h storage_->is_set = PP_TRUE; storage_ 62 ppapi/cpp/dev/optional_dev.h const PP_Optional_Double_Dev* ToCInput() const { return storage_.get(); } storage_ 64 ppapi/cpp/dev/optional_dev.h PP_Optional_Double_Dev* StartRawUpdate() { return storage_.get(); } storage_ 68 ppapi/cpp/dev/optional_dev.h internal::MayOwnPtr<PP_Optional_Double_Dev> storage_; storage_ 17 ppapi/cpp/dev/string_wrapper_dev.cc *storage_ = Var(value).Detach(); storage_ 21 ppapi/cpp/dev/string_wrapper_dev.cc : storage_(storage, NOT_OWNED) { storage_ 22 ppapi/cpp/dev/string_wrapper_dev.cc PP_DCHECK(storage_->type == PP_VARTYPE_STRING || storage_ 23 ppapi/cpp/dev/string_wrapper_dev.cc storage_->type == PP_VARTYPE_UNDEFINED); storage_ 29 ppapi/cpp/dev/string_wrapper_dev.cc *storage_ = Var(*other.storage_).Detach(); storage_ 38 ppapi/cpp/dev/string_wrapper_dev.cc return operator=(*other.storage_); storage_ 42 ppapi/cpp/dev/string_wrapper_dev.cc if (storage_.get() == &other) storage_ 45 ppapi/cpp/dev/string_wrapper_dev.cc Var auto_release(PASS_REF, *storage_); storage_ 47 ppapi/cpp/dev/string_wrapper_dev.cc *storage_ = Var(other).Detach(); storage_ 52 ppapi/cpp/dev/string_wrapper_dev.cc PP_DCHECK(storage_->type == PP_VARTYPE_STRING || storage_ 53 ppapi/cpp/dev/string_wrapper_dev.cc storage_->type == PP_VARTYPE_UNDEFINED); storage_ 54 ppapi/cpp/dev/string_wrapper_dev.cc return storage_->type == PP_VARTYPE_STRING; storage_ 58 ppapi/cpp/dev/string_wrapper_dev.cc Var auto_release(PASS_REF, *storage_); storage_ 59 ppapi/cpp/dev/string_wrapper_dev.cc *storage_ = PP_MakeUndefined(); storage_ 64 ppapi/cpp/dev/string_wrapper_dev.cc Var var(*storage_); storage_ 74 ppapi/cpp/dev/string_wrapper_dev.cc Var auto_release(PASS_REF, *storage_); storage_ 75 ppapi/cpp/dev/string_wrapper_dev.cc *storage_ = Var(value).Detach(); storage_ 80 ppapi/cpp/dev/string_wrapper_dev.cc return storage_.get(); storage_ 84 ppapi/cpp/dev/string_wrapper_dev.cc PP_DCHECK(storage_->type == PP_VARTYPE_STRING || storage_ 85 ppapi/cpp/dev/string_wrapper_dev.cc storage_->type == PP_VARTYPE_UNDEFINED); storage_ 88 ppapi/cpp/dev/string_wrapper_dev.cc StringWrapper::StringWrapper() : storage_(std::string()) { storage_ 91 ppapi/cpp/dev/string_wrapper_dev.cc StringWrapper::StringWrapper(const std::string& value) : storage_(value) { storage_ 95 ppapi/cpp/dev/string_wrapper_dev.cc : storage_(storage, NOT_OWNED) { storage_ 96 ppapi/cpp/dev/string_wrapper_dev.cc if (!storage_.is_set()) storage_ 97 ppapi/cpp/dev/string_wrapper_dev.cc storage_.set(std::string()); storage_ 101 ppapi/cpp/dev/string_wrapper_dev.cc : storage_(other.storage_) { storage_ 108 ppapi/cpp/dev/string_wrapper_dev.cc storage_ = other.storage_; storage_ 114 ppapi/cpp/dev/string_wrapper_dev.cc storage_ = other; storage_ 119 ppapi/cpp/dev/string_wrapper_dev.cc return storage_.StartRawUpdate(); storage_ 123 ppapi/cpp/dev/string_wrapper_dev.cc storage_.EndRawUpdate(); storage_ 124 ppapi/cpp/dev/string_wrapper_dev.cc if (!storage_.is_set()) storage_ 125 ppapi/cpp/dev/string_wrapper_dev.cc storage_.set(std::string()); storage_ 44 ppapi/cpp/dev/string_wrapper_dev.h const PP_Var& ToVar() const { return *storage_; } storage_ 51 ppapi/cpp/dev/string_wrapper_dev.h MayOwnPtr<PP_Var> storage_; storage_ 75 ppapi/cpp/dev/string_wrapper_dev.h std::string get() const { return storage_.get(); } storage_ 76 ppapi/cpp/dev/string_wrapper_dev.h void set(const std::string& value) { return storage_.set(value); } storage_ 78 ppapi/cpp/dev/string_wrapper_dev.h const PP_Var& ToVar() const { return storage_.ToVar(); } storage_ 87 ppapi/cpp/dev/string_wrapper_dev.h OptionalStringWrapper storage_; storage_ 59 ppapi/cpp/dev/to_c_type_converter_dev.h explicit ToCTypeConverter(double object) : storage_(object) {} storage_ 63 ppapi/cpp/dev/to_c_type_converter_dev.h double ToCInput() const { return storage_; } storage_ 70 ppapi/cpp/dev/to_c_type_converter_dev.h double storage_; storage_ 84 remoting/base/url_request_context.cc : storage_(this) { storage_ 86 remoting/base/url_request_context.cc storage_.set_host_resolver( storage_ 88 remoting/base/url_request_context.cc storage_.set_proxy_service(net::ProxyService::CreateUsingSystemProxyResolver( storage_ 90 remoting/base/url_request_context.cc storage_.set_cert_verifier(net::CertVerifier::CreateDefault()); storage_ 91 remoting/base/url_request_context.cc storage_.set_ssl_config_service(new net::SSLConfigServiceDefaults); storage_ 92 remoting/base/url_request_context.cc storage_.set_http_auth_handler_factory( storage_ 94 remoting/base/url_request_context.cc storage_.set_http_server_properties( storage_ 97 remoting/base/url_request_context.cc storage_.set_transport_security_state(new net::TransportSecurityState); storage_ 110 remoting/base/url_request_context.cc storage_.set_http_transaction_factory( storage_ 112 remoting/base/url_request_context.cc storage_.set_net_log(net_log.release()); storage_ 35 remoting/base/url_request_context.h net::URLRequestContextStorage storage_; storage_ 282 sync/notifier/sync_system_resources.cc storage_(new SyncStorage(state_writer, internal_scheduler_.get())), storage_ 318 sync/notifier/sync_system_resources.cc return storage_.get(); storage_ 229 sync/notifier/sync_system_resources.h scoped_ptr<SyncStorage> storage_; storage_ 21 third_party/libaddressinput/chromium/chrome_storage_impl_unittest.cc storage_(store_.get()), storage_ 22 third_party/libaddressinput/chromium/chrome_storage_impl_unittest.cc runner_(&storage_) {} storage_ 27 third_party/libaddressinput/chromium/chrome_storage_impl_unittest.cc ChromeStorageImpl storage_; storage_ 158 third_party/libaddressinput/chromium/cpp/src/retriever.cc storage_(storage.Pass()), storage_ 162 third_party/libaddressinput/chromium/cpp/src/retriever.cc assert(storage_ != NULL); storage_ 181 third_party/libaddressinput/chromium/cpp/src/retriever.cc storage_->Get(key, storage_ 220 third_party/libaddressinput/chromium/cpp/src/retriever.cc storage_->Put(key, downloaded_data.Pass()); storage_ 93 third_party/libaddressinput/chromium/cpp/src/retriever.h scoped_ptr<Storage> storage_; storage_ 31 third_party/libaddressinput/chromium/cpp/test/fake_storage_test.cc FakeStorageTest() : storage_(), runner_(&storage_) {} storage_ 34 third_party/libaddressinput/chromium/cpp/test/fake_storage_test.cc FakeStorage storage_; storage_ 60 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc : storage_(NULL), storage_ 77 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc storage_ = new FakeStorage; storage_ 81 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc scoped_ptr<Storage>(storage_))); storage_ 92 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc FakeStorage* storage_; // Owned by |retriever_|. storage_ 192 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc storage_->Put(kKey, make_scoped_ptr(new std::string(kEmptyData))); storage_ 201 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc storage_->Put(kKey, storage_ 210 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc storage_->Put(kKey, Wrap(kEmptyData, kEmptyDataChecksum, "0")); storage_ 220 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc storage_->Put(kKey, storage_ 230 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc EXPECT_EQ(data_, storage_->SynchronousGet(kKey).substr(0, data_.size())); storage_ 244 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc storage_->SynchronousGet(not_a_key).substr(0, sizeof kEmptyData - 1)); storage_ 249 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc EXPECT_EQ("", storage_->SynchronousGet(not_a_key)); storage_ 258 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc EXPECT_EQ("", storage_->SynchronousGet(not_a_key)); storage_ 262 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc storage_ = new FakeStorage; storage_ 265 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc scoped_ptr<Storage>(storage_)); storage_ 266 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc storage_->Put(kKey, Wrap(kEmptyData, kEmptyDataChecksum, "0")); storage_ 275 third_party/libaddressinput/chromium/cpp/test/retriever_test.cc storage_->Put( storage_ 25 third_party/libaddressinput/chromium/cpp/test/storage_test_runner.cc : storage_(storage), storage_ 57 third_party/libaddressinput/chromium/cpp/test/storage_test_runner.cc storage_->Get("key", BuildCallback()); storage_ 66 third_party/libaddressinput/chromium/cpp/test/storage_test_runner.cc storage_->Put("key", make_scoped_ptr(new std::string("value"))); storage_ 67 third_party/libaddressinput/chromium/cpp/test/storage_test_runner.cc storage_->Get("key", BuildCallback()); storage_ 76 third_party/libaddressinput/chromium/cpp/test/storage_test_runner.cc storage_->Put("key", make_scoped_ptr(new std::string("bad-value"))); storage_ 77 third_party/libaddressinput/chromium/cpp/test/storage_test_runner.cc storage_->Put("key", make_scoped_ptr(new std::string("good-value"))); storage_ 78 third_party/libaddressinput/chromium/cpp/test/storage_test_runner.cc storage_->Get("key", BuildCallback()); storage_ 46 third_party/libaddressinput/chromium/cpp/test/storage_test_runner.h Storage* storage_; // weak storage_ 539 ui/gfx/image/image.cc storage_ = new internal::ImageStorage(Image::kImageRepPNG); storage_ 546 ui/gfx/image/image.cc storage_ = new internal::ImageStorage(Image::kImageRepSkia); storage_ 556 ui/gfx/image/image.cc storage_ = new internal::ImageStorage(Image::kImageRepGdk); storage_ 565 ui/gfx/image/image.cc : storage_(new internal::ImageStorage(Image::kImageRepCocoaTouch)) { storage_ 574 ui/gfx/image/image.cc storage_ = new internal::ImageStorage(Image::kImageRepCocoa); storage_ 581 ui/gfx/image/image.cc Image::Image(const Image& other) : storage_(other.storage_) { storage_ 585 ui/gfx/image/image.cc storage_ = other.storage_; storage_ 744 ui/gfx/image/image.cc storage_->default_representation_color_space(); storage_ 896 ui/gfx/image/image.cc return storage_.get() && storage_->representations().count(type) != 0; storage_ 900 ui/gfx/image/image.cc if (!storage_.get()) storage_ 903 ui/gfx/image/image.cc return storage_->representations().size(); storage_ 929 ui/gfx/image/image.cc storage_.swap(other->storage_); storage_ 934 ui/gfx/image/image.cc if (storage_.get()) storage_ 935 ui/gfx/image/image.cc storage_->set_default_representation_color_space(color_space); storage_ 940 ui/gfx/image/image.cc CHECK(storage_.get()); storage_ 941 ui/gfx/image/image.cc RepresentationType default_type = storage_->default_representation_type(); storage_ 950 ui/gfx/image/image.cc CHECK(storage_.get()); storage_ 951 ui/gfx/image/image.cc RepresentationMap::iterator it = storage_->representations().find(rep_type); storage_ 952 ui/gfx/image/image.cc if (it == storage_->representations().end()) { storage_ 960 ui/gfx/image/image.cc CHECK(storage_.get()); storage_ 961 ui/gfx/image/image.cc storage_->representations().insert(std::make_pair(rep->type(), rep)); storage_ 207 ui/gfx/image/image.h scoped_refptr<internal::ImageStorage> storage_; storage_ 186 ui/gfx/image/image_skia.cc ImageSkia::ImageSkia() : storage_(NULL) { storage_ 190 ui/gfx/image/image_skia.cc : storage_(new internal::ImageSkiaStorage(source, size)) { storage_ 197 ui/gfx/image/image_skia.cc : storage_(new internal::ImageSkiaStorage(source, scale)) { storage_ 199 ui/gfx/image/image_skia.cc if (!storage_->has_source()) storage_ 200 ui/gfx/image/image_skia.cc storage_ = NULL; storage_ 211 ui/gfx/image/image_skia.cc ImageSkia::ImageSkia(const ImageSkia& other) : storage_(other.storage_) { storage_ 215 ui/gfx/image/image_skia.cc storage_ = other.storage_; storage_ 253 ui/gfx/image/image_skia.cc std::vector<gfx::ImageSkiaRep>& reps = storage_->image_reps(); storage_ 261 ui/gfx/image/image_skia.cc copy->storage_->DetachFromThread(); storage_ 266 ui/gfx/image/image_skia.cc return storage_.get() == other.storage_.get(); storage_ 281 ui/gfx/image/image_skia.cc storage_->image_reps().push_back(image_rep); storage_ 290 ui/gfx/image/image_skia.cc ImageSkiaReps& image_reps = storage_->image_reps(); storage_ 292 ui/gfx/image/image_skia.cc storage_->FindRepresentation(scale, false); storage_ 302 ui/gfx/image/image_skia.cc ImageSkiaReps::iterator it = storage_->FindRepresentation(scale, false); storage_ 303 ui/gfx/image/image_skia.cc return (it != storage_->image_reps().end() && it->scale() == scale); storage_ 312 ui/gfx/image/image_skia.cc ImageSkiaReps::iterator it = storage_->FindRepresentation(scale, true); storage_ 313 ui/gfx/image/image_skia.cc if (it == storage_->image_reps().end()) storage_ 320 ui/gfx/image/image_skia.cc CHECK(storage_.get()); storage_ 321 ui/gfx/image/image_skia.cc storage_->SetReadOnly(); storage_ 326 ui/gfx/image/image_skia.cc CHECK(storage_.get()); storage_ 329 ui/gfx/image/image_skia.cc if (storage_.get()) storage_ 330 ui/gfx/image/image_skia.cc storage_->DeleteSource(); storage_ 331 ui/gfx/image/image_skia.cc storage_->SetReadOnly(); storage_ 336 ui/gfx/image/image_skia.cc return !storage_.get() || (storage_->read_only() && !storage_->has_source()); storage_ 340 ui/gfx/image/image_skia.cc return isNull() ? 0 : storage_->size().width(); storage_ 348 ui/gfx/image/image_skia.cc return isNull() ? 0 : storage_->size().height(); storage_ 357 ui/gfx/image/image_skia.cc ImageSkiaReps internal_image_reps = storage_->image_reps(); storage_ 375 ui/gfx/image/image_skia.cc if (storage_.get() && storage_->has_source()) { storage_ 378 ui/gfx/image/image_skia.cc storage_->FindRepresentation(*it, true); storage_ 385 ui/gfx/image/image_skia.cc storage_ = NULL; storage_ 388 ui/gfx/image/image_skia.cc storage_ = new internal::ImageSkiaStorage( storage_ 390 ui/gfx/image/image_skia.cc storage_->image_reps().push_back(image_rep); storage_ 406 ui/gfx/image/image_skia.cc ImageSkiaReps::iterator it = storage_->FindRepresentation(1.0f, true); storage_ 407 ui/gfx/image/image_skia.cc if (it != storage_->image_reps().end()) storage_ 413 ui/gfx/image/image_skia.cc return !storage_.get() || storage_->CanRead(); storage_ 417 ui/gfx/image/image_skia.cc return !storage_.get() || storage_->CanModify(); storage_ 421 ui/gfx/image/image_skia.cc if (storage_.get()) storage_ 422 ui/gfx/image/image_skia.cc storage_->DetachFromThread(); storage_ 125 ui/gfx/image/image_skia.h bool isNull() const { return storage_.get() == NULL; } storage_ 170 ui/gfx/image/image_skia.h scoped_refptr<internal::ImageSkiaStorage> storage_; storage_ 26 webkit/browser/appcache/appcache.cc storage_->working_set()->AddCache(this); storage_ 36 webkit/browser/appcache/appcache.cc storage_->working_set()->RemoveCache(this); storage_ 107 webkit/browser/appcache/appcache.cc DCHECK(storage_->service()->handler_factory()); storage_ 109 webkit/browser/appcache/appcache.cc storage_->service()->handler_factory()-> storage_ 200 webkit/browser/appcache/appcache.h AppCacheStorage* storage_; storage_ 48 webkit/browser/appcache/appcache_group.cc storage_(storage), storage_ 50 webkit/browser/appcache/appcache_group.cc storage_->working_set()->AddGroup(this); storage_ 66 webkit/browser/appcache/appcache_group.cc storage_->working_set()->RemoveGroup(this); storage_ 67 webkit/browser/appcache/appcache_group.cc storage_->DeleteResponses(manifest_url_, newly_deletable_response_ids_); storage_ 131 webkit/browser/appcache/appcache_group.cc storage_->DeleteResponses(manifest_url_, newly_deletable_response_ids_); storage_ 140 webkit/browser/appcache/appcache_group.cc storage_->DeleteResponses(manifest_url_, *response_ids); storage_ 162 webkit/browser/appcache/appcache_group.cc update_job_ = new AppCacheUpdateJob(storage_->service(), this); storage_ 142 webkit/browser/appcache/appcache_group.h AppCacheStorage* storage_; storage_ 53 webkit/browser/appcache/appcache_host.cc storage_(service->storage()), storage_ 148 webkit/browser/appcache/appcache_host.h AppCacheStorage* storage() const { return storage_; } storage_ 265 webkit/browser/appcache/appcache_host.h AppCacheStorage* storage_; storage_ 59 webkit/browser/appcache/appcache_response.cc storage_->working_set()->AddResponseInfo(this); storage_ 63 webkit/browser/appcache/appcache_response.cc storage_->working_set()->RemoveResponseInfo(this); storage_ 53 webkit/browser/appcache/appcache_response.h AppCacheStorage* storage_; storage_ 438 webkit/browser/appcache/appcache_service.cc : storage_(storage.Pass()) {} storage_ 465 webkit/browser/appcache/appcache_service.cc storage_.reset(); storage_ 471 webkit/browser/appcache/appcache_service.cc DCHECK(!storage_.get()); storage_ 477 webkit/browser/appcache/appcache_service.cc storage_.reset(storage); storage_ 514 webkit/browser/appcache/appcache_service.cc old_storage_ref(new AppCacheStorageReference(storage_.Pass())); storage_ 65 webkit/browser/appcache/appcache_service.h AppCacheStorage* storage() const { return storage_.get(); } storage_ 72 webkit/browser/appcache/appcache_service.h scoped_ptr<AppCacheStorage> storage_; storage_ 195 webkit/browser/appcache/appcache_service.h AppCacheStorage* storage() const { return storage_.get(); } storage_ 224 webkit/browser/appcache/appcache_service.h scoped_ptr<AppCacheStorage> storage_; storage_ 95 webkit/browser/appcache/appcache_service_unittest.cc service_->storage_.reset(new MockAppCacheStorage(service_.get())); storage_ 108 webkit/browser/appcache/appcache_service_unittest.cc service_->storage_.reset(new MockAppCacheStorage(service_.get())); storage_ 47 webkit/browser/appcache/appcache_storage.cc : storage_(storage), storage_ 52 webkit/browser/appcache/appcache_storage.cc storage_->pending_info_loads_.insert( storage_ 63 webkit/browser/appcache/appcache_storage.cc storage_->CreateResponseReader(manifest_url_, group_id_, response_id_)); storage_ 70 webkit/browser/appcache/appcache_storage.cc storage_->pending_info_loads_.erase(response_id_); storage_ 73 webkit/browser/appcache/appcache_storage.cc info = new AppCacheResponseInfo(storage_, manifest_url_, storage_ 255 webkit/browser/appcache/appcache_storage.h AppCacheStorage* storage_; storage_ 137 webkit/browser/appcache/appcache_storage_impl.cc : storage_(storage), database_(storage->database_), storage_ 170 webkit/browser/appcache/appcache_storage_impl.cc AppCacheStorageImpl* storage_; storage_ 183 webkit/browser/appcache/appcache_storage_impl.cc DCHECK(storage_); storage_ 185 webkit/browser/appcache/appcache_storage_impl.cc if (!storage_->database_) storage_ 188 webkit/browser/appcache/appcache_storage_impl.cc if (storage_->db_thread_->PostTask( storage_ 191 webkit/browser/appcache/appcache_storage_impl.cc storage_->scheduled_database_tasks_.push_back(this); storage_ 200 webkit/browser/appcache/appcache_storage_impl.cc storage_ = NULL; storage_ 233 webkit/browser/appcache/appcache_storage_impl.cc if (storage_) { storage_ 235 webkit/browser/appcache/appcache_storage_impl.cc DCHECK(storage_->scheduled_database_tasks_.front() == this); storage_ 236 webkit/browser/appcache/appcache_storage_impl.cc storage_->scheduled_database_tasks_.pop_front(); storage_ 246 webkit/browser/appcache/appcache_storage_impl.cc if (storage_) { storage_ 248 webkit/browser/appcache/appcache_storage_impl.cc storage_->Disable(); storage_ 249 webkit/browser/appcache/appcache_storage_impl.cc storage_->DeleteAndStartOver(); storage_ 305 webkit/browser/appcache/appcache_storage_impl.cc storage_->last_group_id_ = last_group_id_; storage_ 306 webkit/browser/appcache/appcache_storage_impl.cc storage_->last_cache_id_ = last_cache_id_; storage_ 307 webkit/browser/appcache/appcache_storage_impl.cc storage_->last_response_id_ = last_response_id_; storage_ 308 webkit/browser/appcache/appcache_storage_impl.cc storage_->last_deletable_response_rowid_ = last_deletable_response_rowid_; storage_ 310 webkit/browser/appcache/appcache_storage_impl.cc if (!storage_->is_disabled()) { storage_ 311 webkit/browser/appcache/appcache_storage_impl.cc storage_->usage_map_.swap(usage_map_); storage_ 316 webkit/browser/appcache/appcache_storage_impl.cc storage_->weak_factory_.GetWeakPtr()), storage_ 320 webkit/browser/appcache/appcache_storage_impl.cc if (storage_->service()->quota_client()) storage_ 321 webkit/browser/appcache/appcache_storage_impl.cc storage_->service()->quota_client()->NotifyAppCacheReady(); storage_ 426 webkit/browser/appcache/appcache_storage_impl.cc DCHECK(storage_ && cache && group); storage_ 428 webkit/browser/appcache/appcache_storage_impl.cc (*cache) = storage_->working_set_.GetCache(cache_record_.cache_id); storage_ 440 webkit/browser/appcache/appcache_storage_impl.cc storage_->NotifyStorageAccessed(group_record_.origin); storage_ 444 webkit/browser/appcache/appcache_storage_impl.cc (*cache) = new AppCache(storage_, cache_record_.cache_id); storage_ 452 webkit/browser/appcache/appcache_storage_impl.cc (*group) = storage_->working_set_.GetGroup(group_record_.manifest_url); storage_ 464 webkit/browser/appcache/appcache_storage_impl.cc storage_, group_record_.manifest_url, storage_ 480 webkit/browser/appcache/appcache_storage_impl.cc storage_->GetPendingForeignMarkingsForCache(cache->get()->cache_id(), &urls); storage_ 487 webkit/browser/appcache/appcache_storage_impl.cc storage_->NotifyStorageAccessed(group_record_.origin); storage_ 525 webkit/browser/appcache/appcache_storage_impl.cc storage_->pending_cache_loads_.erase(cache_id_); storage_ 528 webkit/browser/appcache/appcache_storage_impl.cc if (success_ && !storage_->is_disabled()) { storage_ 567 webkit/browser/appcache/appcache_storage_impl.cc storage_->pending_group_loads_.erase(manifest_url_); storage_ 570 webkit/browser/appcache/appcache_storage_impl.cc if (!storage_->is_disabled()) { storage_ 575 webkit/browser/appcache/appcache_storage_impl.cc group = storage_->working_set_.GetGroup(manifest_url_); storage_ 578 webkit/browser/appcache/appcache_storage_impl.cc new AppCacheGroup(storage_, manifest_url_, storage_->NewGroupId()); storage_ 632 webkit/browser/appcache/appcache_storage_impl.cc if (storage_->service()->quota_manager_proxy()) { storage_ 634 webkit/browser/appcache/appcache_storage_impl.cc storage_->service()->quota_manager_proxy()->quota_manager(); storage_ 638 webkit/browser/appcache/appcache_storage_impl.cc if (storage_->service()->special_storage_policy() && storage_ 639 webkit/browser/appcache/appcache_storage_impl.cc storage_->service()->special_storage_policy()->IsStorageUnlimited( storage_ 647 webkit/browser/appcache/appcache_storage_impl.cc storage_->pending_quota_queries_.insert(this); storage_ 655 webkit/browser/appcache/appcache_storage_impl.cc if (storage_) { storage_ 660 webkit/browser/appcache/appcache_storage_impl.cc storage_->pending_quota_queries_.erase(this); storage_ 769 webkit/browser/appcache/appcache_storage_impl.cc storage_->UpdateUsageMapAndNotify( storage_ 1086 webkit/browser/appcache/appcache_storage_impl.cc storage_->CallOnMainResponseFound( storage_ 1116 webkit/browser/appcache/appcache_storage_impl.cc DCHECK(storage_->pending_foreign_markings_.front().first == entry_url_ && storage_ 1117 webkit/browser/appcache/appcache_storage_impl.cc storage_->pending_foreign_markings_.front().second == cache_id_); storage_ 1118 webkit/browser/appcache/appcache_storage_impl.cc storage_->pending_foreign_markings_.pop_front(); storage_ 1189 webkit/browser/appcache/appcache_storage_impl.cc if (!storage_->is_disabled()) { storage_ 1190 webkit/browser/appcache/appcache_storage_impl.cc storage_->UpdateUsageMapAndNotify(origin_, new_origin_usage_); storage_ 1196 webkit/browser/appcache/appcache_storage_impl.cc storage_->working_set()->RemoveGroup(group_.get()); storage_ 1238 webkit/browser/appcache/appcache_storage_impl.cc storage_->StartDeletingResponses(response_ids_); storage_ 428 webkit/browser/appcache/appcache_update_job.cc storage_->CreateResponseWriter(manifest_url_, storage_ 465 webkit/browser/appcache/appcache_update_job.cc storage_->LoadResponseInfo(manifest_url_, group_->group_id(), storage_ 506 webkit/browser/appcache/appcache_update_job.cc storage_->MakeGroupObsolete(group_, this, response_code); // async storage_ 579 webkit/browser/appcache/appcache_update_job.cc inprogress_cache_ = new AppCache(storage_, storage_->NewCacheId()); storage_ 897 webkit/browser/appcache/appcache_update_job.cc storage_->StoreGroupAndNewestCache(group_, newest_cache.get(), this); storage_ 997 webkit/browser/appcache/appcache_update_job.cc if (old_storage_ref->storage() == storage_) storage_ 1009 webkit/browser/appcache/appcache_update_job.cc if (service_->storage() == storage_) { storage_ 1028 webkit/browser/appcache/appcache_update_job.cc storage_->CreateResponseReader(manifest_url_, storage_ 1312 webkit/browser/appcache/appcache_update_job.cc storage_->LoadResponseInfo(manifest_url_, group_->group_id(), storage_ 1473 webkit/browser/appcache/appcache_update_job.cc storage_->CancelDelegateCallbacks(this); storage_ 1499 webkit/browser/appcache/appcache_update_job.cc storage_->DoomResponses(manifest_url_, stored_response_ids_); storage_ 1522 webkit/browser/appcache/appcache_update_job.cc storage_->DoomResponses(manifest_url_, duplicate_response_ids_); storage_ 1559 webkit/browser/appcache/appcache_update_job.cc storage_->CancelDelegateCallbacks(this); storage_ 334 webkit/browser/appcache/appcache_update_job.h AppCacheStorage* storage_; storage_ 40 webkit/browser/appcache/appcache_url_request_job.cc storage_(storage), storage_ 47 webkit/browser/appcache/appcache_url_request_job.cc DCHECK(storage_); storage_ 67 webkit/browser/appcache/appcache_url_request_job.cc storage_ = NULL; // not needed storage_ 74 webkit/browser/appcache/appcache_url_request_job.cc storage_ = NULL; // not needed storage_ 126 webkit/browser/appcache/appcache_url_request_job.cc storage_->LoadResponseInfo( storage_ 139 webkit/browser/appcache/appcache_url_request_job.cc if (!storage_->service()->handler_factory()) { storage_ 155 webkit/browser/appcache/appcache_url_request_job.cc storage_->LoadCache(cache_id_, this); storage_ 190 webkit/browser/appcache/appcache_url_request_job.cc handler_source_reader_.reset(storage_->CreateResponseReader( storage_ 233 webkit/browser/appcache/appcache_url_request_job.cc storage_ = NULL; storage_ 261 webkit/browser/appcache/appcache_url_request_job.cc storage_ = NULL; storage_ 266 webkit/browser/appcache/appcache_url_request_job.cc if (storage_) storage_ 267 webkit/browser/appcache/appcache_url_request_job.cc storage_->CancelDelegateCallbacks(this); storage_ 276 webkit/browser/appcache/appcache_url_request_job.cc reader_.reset(storage_->CreateResponseReader( storage_ 284 webkit/browser/appcache/appcache_url_request_job.cc if (storage_->service()->storage() == storage_) { storage_ 290 webkit/browser/appcache/appcache_url_request_job.cc storage_->service()->CheckAppCacheResponse(manifest_url_, cache_id_, storage_ 341 webkit/browser/appcache/appcache_url_request_job.cc if (storage_->service()->storage() == storage_) { storage_ 342 webkit/browser/appcache/appcache_url_request_job.cc storage_->service()->CheckAppCacheResponse(manifest_url_, cache_id_, storage_ 368 webkit/browser/appcache/appcache_url_request_job.cc if (storage_) { storage_ 369 webkit/browser/appcache/appcache_url_request_job.cc storage_->CancelDelegateCallbacks(this); storage_ 370 webkit/browser/appcache/appcache_url_request_job.cc storage_ = NULL; storage_ 152 webkit/browser/appcache/appcache_url_request_job.h AppCacheStorage* storage_; storage_ 22 webkit/browser/appcache/mock_appcache_service.h storage_.reset(new MockAppCacheStorage(this));