Searched refs:kKey (Results 1 - 25 of 25) sorted by relevance

/external/chromium_org/third_party/libaddressinput/src/cpp/test/
H A Dvalidating_storage_test.cc41 const char kKey[] = "key"; member in namespace:__anon12607
81 storage_.Put(kKey, new std::string(kValidatedData));
82 storage_.Get(kKey, *data_ready_);
85 EXPECT_EQ(kKey, key_);
90 storage_.Put(kKey, new std::string(kEmptyData));
91 storage_.Get(kKey, *data_ready_);
94 EXPECT_EQ(kKey, key_);
99 storage_.Get(kKey, *data_ready_);
102 EXPECT_EQ(kKey, key_);
107 storage_.Put(kKey, ne
[all...]
H A Dnull_storage_test.cc45 static const char kKey[]; member in class:__anon12588::NullStorageTest
61 const char NullStorageTest::kKey[] = "foo"; member in class:__anon12588::NullStorageTest
66 storage_.Put(kKey, new std::string("bar"));
70 storage_.Get(kKey, *data_ready_);
72 EXPECT_EQ(kKey, key_);
H A Dretriever_test.cc45 const char kKey[] = "data/CA/AB--fr"; member in namespace:__anon12595
87 retriever_.Retrieve(kKey, *data_ready_);
90 EXPECT_EQ(kKey, key_);
96 retriever_.Retrieve(kKey, *data_ready_);
97 retriever_.Retrieve(kKey, *data_ready_);
100 EXPECT_EQ(kKey, key_);
119 bad_retriever.Retrieve(kKey, *data_ready_);
122 EXPECT_EQ(kKey, key_);
155 resilient_retriever.Retrieve(kKey, *data_ready_);
158 EXPECT_EQ(kKey, key
[all...]
H A Dtestdata_source_test.cc152 static const std::string kKey = "data"; local
153 source_.Get(kKey, *data_ready_);
156 EXPECT_EQ(kKey, key_);
157 EXPECT_TRUE(DataIsValid(data_, kKey));
/external/chromium_org/sql/
H A Dmeta_table_unittest.cc130 const char kKey[] = "String Key"; local
140 EXPECT_FALSE(meta_table.GetValue(kKey, &value));
142 EXPECT_TRUE(meta_table.SetValue(kKey, kFirstValue));
143 EXPECT_TRUE(meta_table.GetValue(kKey, &value));
153 EXPECT_TRUE(meta_table.GetValue(kKey, &value));
156 EXPECT_TRUE(meta_table.SetValue(kKey, kSecondValue));
165 EXPECT_TRUE(meta_table.GetValue(kKey, &value));
171 const char kKey[] = "Int Key"; local
181 EXPECT_FALSE(meta_table.GetValue(kKey, &value));
183 EXPECT_TRUE(meta_table.SetValue(kKey, kFirstValu
212 const char kKey[] = "Int Key"; local
253 const char kKey[] = "String Key"; local
[all...]
/external/chromium_org/extensions/browser/api/storage/
H A Dstorage_api_unittest.cc92 const char kKey[] = "key"; local
97 RunSetFunction(kKey, kValue);
98 EXPECT_TRUE(RunGetFunction(kKey, &result));
114 batch.Put(kKey, "[{(.*+\"\'\\");
116 EXPECT_TRUE(leveldb_store->Get(kKey)->IsCorrupted());
120 RunSetFunction(kKey, kValue);
121 EXPECT_TRUE(RunGetFunction(kKey, &result));
/external/chromium_org/content/common/dom_storage/
H A Ddom_storage_map_unittest.cc14 const base::string16 kKey(ASCIIToUTF16("key"));
18 (kKey.size() + kValue.size()) * sizeof(base::char16);
36 EXPECT_TRUE(map->GetItem(kKey).is_null());
37 EXPECT_FALSE(map->RemoveItem(kKey, &old_value));
46 EXPECT_TRUE(map->SetItem(kKey, kValue, &old_nullable_value));
49 EXPECT_EQ(kKey, map->Key(0).string());
51 EXPECT_EQ(kValue, map->GetItem(kKey).string());
54 EXPECT_TRUE(map->RemoveItem(kKey, &old_value));
59 EXPECT_TRUE(map->SetItem(kKey, kValue, &old_nullable_value));
67 EXPECT_EQ(kKey, ma
88 const base::string16 kKey = ASCIIToUTF16("test_key"); local
[all...]
/external/chromium_org/content/renderer/dom_storage/
H A Ddom_storage_cached_area_unittest.cc123 kKey(base::ASCIIToUTF16("key")),
130 const base::string16 kKey; member in class:content::DOMStorageCachedAreaTest
172 cached_area->ApplyMutation(base::NullableString16(kKey, false),
182 EXPECT_TRUE(cached_area->SetItem(kConnectionId, kKey, kValue, kPageUrl));
184 EXPECT_EQ(kKey, cached_area->GetKey(kConnectionId, 0).string());
185 EXPECT_EQ(kValue, cached_area->GetItem(kConnectionId, kKey).string());
186 cached_area->RemoveItem(kConnectionId, kKey, kPageUrl);
218 EXPECT_TRUE(cached_area->GetItem(kConnectionId, kKey).is_null());
233 EXPECT_TRUE(cached_area->SetItem(kConnectionId, kKey, kValue, kPageUrl));
239 EXPECT_EQ(kKey, mock_proxy
[all...]
/external/chromium_org/base/prefs/
H A Dscoped_user_pref_update_unittest.cc29 static const char kKey[]; member in class:ScopedUserPrefUpdateTest
38 const char ScopedUserPrefUpdateTest::kKey[] = "key"; member in class:ScopedUserPrefUpdateTest
44 expected_dictionary.SetString(kKey, kValue);
51 value->SetString(kKey, kValue);
/external/chromium_org/chrome/browser/download/
H A Ddownload_status_updater.cc30 return item->GetUserData(kKey) != NULL;
34 item->RemoveUserData(kKey);
38 item->SetUserData(kKey, this);
42 static const char kKey[]; member in class:__anon3594::WasInProgressData
46 const char WasInProgressData::kKey[] = member in class:__anon3594::WasInProgressData
H A Ddownload_history.cc61 base::SupportsUserData::Data* data = item->GetUserData(kKey);
67 const base::SupportsUserData::Data* data = item->GetUserData(kKey);
75 item->SetUserData(kKey, this);
102 static const char kKey[]; member in class:__anon3581::DownloadHistoryData
111 const char DownloadHistoryData::kKey[] = member in class:__anon3581::DownloadHistoryData
H A Ddownload_item_model.cc70 static const char kKey[]; member in class:__anon3583::DownloadItemModelData
74 const char DownloadItemModelData::kKey[] = "DownloadItemModelData key"; member in class:__anon3583::DownloadItemModelData
79 return static_cast<const DownloadItemModelData*>(download->GetUserData(kKey));
86 static_cast<DownloadItemModelData*>(download->GetUserData(kKey));
89 download->SetUserData(kKey, data);
/external/chromium_org/content/browser/dom_storage/
H A Ddom_storage_context_impl_unittest.cc31 kKey(ASCIIToUTF16("key")),
38 const base::string16 kKey; member in class:content::DOMStorageContextImplTest
108 OpenStorageArea(kOrigin)->SetItem(kKey, kValue, &old_value));
139 OpenStorageArea(kOrigin)->SetItem(kKey, kValue, &old_value));
141 OpenStorageArea(kSessionOnlyOrigin)->SetItem(kKey, kValue, &old_value));
158 OpenStorageArea(kSessionOnlyOrigin)->SetItem(kKey, kValue, &old_value));
213 const base::string16 kKey(ASCIIToUTF16("foo"));
216 area->SetItem(kKey, kValue, &old_nullable_value);
234 read_value = area->GetItem(kKey);
257 read_value = area->GetItem(kKey);
[all...]
H A Ddom_storage_area_unittest.cc29 kKey(ASCIIToUTF16("key")),
36 const base::string16 kKey; member in class:content::DOMStorageAreaTest
62 const base::string16 kKey(ASCIIToUTF16("key"));
67 EXPECT_EQ(kValue, values[kKey].string());
87 EXPECT_TRUE(area->SetItem(kKey, kValue, &old_nullable_value));
96 EXPECT_EQ(area->GetItem(kKey).string(), copy->GetItem(kKey).string());
101 EXPECT_TRUE(area->RemoveItem(kKey, &old_value));
105 EXPECT_TRUE(area->SetItem(kKey, kValue, &old_nullable_value));
120 EXPECT_TRUE(area->GetItem(kKey)
[all...]
/external/chromium_org/components/nacl/loader/
H A Dnacl_validation_query_unittest.cc18 const char kKey[] = "bogus key for HMAC..."; member in namespace:__anon6613
104 query1.reset(new TestQuery(kKey, kVersion));
105 query2.reset(new TestQuery(kKey, kVersion));
272 query2.reset(new TestQuery(kKey, kVersionAlt));
/external/chromium_org/chrome/browser/browsing_data/
H A Dbrowsing_data_remover_unittest.cc647 static const void* kKey; member in struct:TestingDomainReliabilityServiceFactoryUserData
651 const void* TestingDomainReliabilityServiceFactoryUserData::kKey = member in class:TestingDomainReliabilityServiceFactoryUserData
652 &TestingDomainReliabilityServiceFactoryUserData::kKey;
656 const void* kKey = TestingDomainReliabilityServiceFactoryUserData::kKey; local
660 context->GetUserData(kKey));
685 const void* kKey = TestingDomainReliabilityServiceFactoryUserData::kKey; local
691 EXPECT_FALSE(profile_->GetUserData(kKey));
692 profile_->SetUserData(kKey, dat
[all...]
/external/chromium_org/chrome/browser/extensions/api/downloads/
H A Ddownloads_api.cc579 base::SupportsUserData::Data* data = download_item->GetUserData(kKey);
585 download_item->RemoveUserData(kKey);
599 download_item->SetUserData(kKey, this);
783 static const char kKey[]; member in class:extensions::__anon3692::ExtensionDownloadsEventRouterData
866 const char ExtensionDownloadsEventRouterData::kKey[] = member in class:extensions::__anon3692::ExtensionDownloadsEventRouterData
968 const char DownloadedByExtension::kKey[] = member in class:extensions::DownloadedByExtension
973 base::SupportsUserData::Data* data = item->GetUserData(kKey);
984 item->SetUserData(kKey, this);
H A Ddownloads_api.h85 static const char kKey[]; member in class:extensions::DownloadedByExtension
/external/chromium_org/chrome/common/extensions/api/identity/
H A Dextension_manifests_auth_unittest.cc81 ext_manifest->SetString(keys::kKey, kExtensionKey);
107 ext_manifest.SetString(keys::kKey, kExtensionKey);
/external/chromium_org/chrome/browser/ui/views/omnibox/
H A Domnibox_view_views.cc72 static const char kKey[]; member in struct:__anon5312::OmniboxState
90 const char OmniboxState::kKey[] = "OmniboxState"; member in class:__anon5312::OmniboxState
199 tab->SetUserData(OmniboxState::kKey, new OmniboxState(
207 web_contents->GetUserData(&OmniboxState::kKey));
/external/chromium_org/extensions/common/
H A Dmanifest_constants.cc63 const char kKey[] = "key"; member in namespace:extensions::manifest_keys
H A Dmanifest_constants.h72 extern const char kKey[];
/external/chromium_org/chrome/browser/chromeos/input_method/
H A Dinput_method_manager_impl_unittest.cc801 const std::string kKey = "key"; local
804 kKey, "label", false, false));
807 manager_->ActivateInputMethodMenuItem(kKey);
808 EXPECT_EQ(kKey, mock_engine_handler_->last_activated_property());
812 EXPECT_EQ(kKey, mock_engine_handler_->last_activated_property());
/external/chromium_org/content/renderer/
H A Dv8_value_converter_impl_unittest.cc684 const char kKey[] = "key"; local
691 leaf->Set(v8::String::NewFromUtf8(isolate_, kKey), new_object);
706 ASSERT_TRUE(current_as_object->Get(kKey, &current)) << i;
/external/chromium_org/chrome/browser/sync_file_system/
H A Dsync_file_system_service.cc684 extension->manifest()->HasKey(extensions::manifest_keys::kKey)) {

Completed in 1349 milliseconds