HomeSort by relevance Sort by last modified time
    Searched refs:kKey (Results 1 - 19 of 19) sorted by null

  /external/chromium_org/content/common/dom_storage/
dom_storage_map_unittest.cc 12 const base::string16 kKey(ASCIIToUTF16("key"));
16 (kKey.size() + kValue.size()) * sizeof(char16);
34 EXPECT_TRUE(map->GetItem(kKey).is_null());
35 EXPECT_FALSE(map->RemoveItem(kKey, &old_value));
44 EXPECT_TRUE(map->SetItem(kKey, kValue, &old_nullable_value));
47 EXPECT_EQ(kKey, map->Key(0).string());
49 EXPECT_EQ(kValue, map->GetItem(kKey).string());
52 EXPECT_TRUE(map->RemoveItem(kKey, &old_value));
57 EXPECT_TRUE(map->SetItem(kKey, kValue, &old_nullable_value));
65 EXPECT_EQ(kKey, map->Key(0).string())
    [all...]
  /external/chromium_org/content/renderer/dom_storage/
dom_storage_cached_area_unittest.cc 116 kKey(ASCIIToUTF16("key")),
123 const base::string16 kKey;
165 cached_area->ApplyMutation(base::NullableString16(kKey, false),
175 EXPECT_TRUE(cached_area->SetItem(kConnectionId, kKey, kValue, kPageUrl));
177 EXPECT_EQ(kKey, cached_area->GetKey(kConnectionId, 0).string());
178 EXPECT_EQ(kValue, cached_area->GetItem(kConnectionId, kKey).string());
179 cached_area->RemoveItem(kConnectionId, kKey, kPageUrl);
211 EXPECT_TRUE(cached_area->GetItem(kConnectionId, kKey).is_null());
226 EXPECT_TRUE(cached_area->SetItem(kConnectionId, kKey, kValue, kPageUrl));
232 EXPECT_EQ(kKey, mock_proxy_->observed_key_)
    [all...]
  /external/chromium/chrome/browser/prefs/
scoped_user_pref_update_unittest.cc 27 static const char kKey[];
36 const char ScopedUserPrefUpdateTest::kKey[] = "key";
42 expected_dictionary.SetString(kKey, kValue);
49 value->SetString(kKey, kValue);
  /external/chromium_org/chrome/browser/prefs/
scoped_user_pref_update_unittest.cc 31 static const char kKey[];
40 const char ScopedUserPrefUpdateTest::kKey[] = "key";
46 expected_dictionary.SetString(kKey, kValue);
53 value->SetString(kKey, kValue);
  /external/chromium_org/chrome/browser/download/
download_status_updater.cc 31 return item->GetUserData(kKey) != NULL;
35 item->RemoveUserData(kKey);
39 item->SetUserData(kKey, this);
43 static const char kKey[];
47 const char WasInProgressData::kKey[] =
download_item_model.cc 60 static const char kKey[];
72 const char DownloadItemModelData::kKey[] = "DownloadItemModelData key";
77 return static_cast<const DownloadItemModelData*>(download->GetUserData(kKey));
84 static_cast<DownloadItemModelData*>(download->GetUserData(kKey));
87 download->SetUserData(kKey, data);
download_history.cc 61 base::SupportsUserData::Data* data = item->GetUserData(kKey);
68 item->SetUserData(kKey, this);
90 static const char kKey[];
98 const char DownloadHistoryData::kKey[] =
  /external/chromium_org/content/browser/dom_storage/
dom_storage_area_unittest.cc 28 kKey(ASCIIToUTF16("key")),
35 const base::string16 kKey;
61 const base::string16 kKey(ASCIIToUTF16("key"));
66 EXPECT_EQ(kValue, values[kKey].string());
86 EXPECT_TRUE(area->SetItem(kKey, kValue, &old_nullable_value));
95 EXPECT_EQ(area->GetItem(kKey).string(), copy->GetItem(kKey).string());
100 EXPECT_TRUE(area->RemoveItem(kKey, &old_value));
104 EXPECT_TRUE(area->SetItem(kKey, kValue, &old_nullable_value));
119 EXPECT_TRUE(area->GetItem(kKey).is_null())
    [all...]
dom_storage_context_impl_unittest.cc 28 kKey(ASCIIToUTF16("key")),
35 const base::string16 kKey;
106 OpenStorageArea(kOrigin)->SetItem(kKey, kValue, &old_value));
137 OpenStorageArea(kOrigin)->SetItem(kKey, kValue, &old_value));
139 OpenStorageArea(kSessionOnlyOrigin)->SetItem(kKey, kValue, &old_value));
156 OpenStorageArea(kSessionOnlyOrigin)->SetItem(kKey, kValue, &old_value));
211 const base::string16 kKey(ASCIIToUTF16("foo"));
214 area->SetItem(kKey, kValue, &old_nullable_value);
232 read_value = area->GetItem(kKey);
255 read_value = area->GetItem(kKey);
    [all...]
  /external/chromium_org/chromeos/dbus/ibus/
ibus_config_client_unittest.cc 27 const char kKey[] = "key";
341 SetStringValueHandler handler(kSection, kKey, value, HANDLER_SUCCESS);
348 client_->SetStringValue(kKey, kSection, value,
357 SetStringValueHandler handler(kSection, kKey, value, HANDLER_FAIL);
364 client_->SetStringValue(kKey, kSection, value,
373 SetIntValueHandler handler(kSection, kKey, value, HANDLER_SUCCESS);
380 client_->SetIntValue(kKey, kSection, value,
389 SetIntValueHandler handler(kSection, kKey, value, HANDLER_FAIL);
396 client_->SetIntValue(kKey, kSection, value,
405 SetBoolValueHandler handler(kSection, kKey, value, HANDLER_SUCCESS)
    [all...]
ibus_panel_service_unittest.cc 607 const char kKey[] = "key";
609 property.set_key(kKey);
611 PropertyVerifier response_expectation(kKey);
  /external/chromium_org/components/nacl/loader/
nacl_validation_query_unittest.cc 18 const char kKey[] = "bogus key for HMAC...";
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/ui/views/omnibox/
omnibox_view_views.cc 63 static const char kKey[];
74 const char OmniboxState::kKey[] = "OmniboxState";
310 location_bar_view_->GetWebContents()->GetUserData(&OmniboxState::kKey));
360 tab->SetUserData(OmniboxState::kKey, new OmniboxState(state, selection));
375 contents->GetUserData(&OmniboxState::kKey));
  /external/chromium_org/chrome/common/extensions/api/identity/
extension_manifests_auth_unittest.cc 81 ext_manifest->SetString(keys::kKey, kExtensionKey);
107 ext_manifest.SetString(keys::kKey, kExtensionKey);
  /external/chromium_org/chrome/browser/extensions/api/downloads/
downloads_api.h 80 static const char kKey[];
downloads_api.cc 579 base::SupportsUserData::Data* data = download_item->GetUserData(kKey);
585 download_item->RemoveUserData(kKey);
599 download_item->SetUserData(kKey, this);
763 static const char kKey[];
833 const char ExtensionDownloadsEventRouterData::kKey[] =
    [all...]
  /external/chromium_org/chrome/common/extensions/
extension_manifest_constants.cc 56 const char kKey[] = "key";
extension_manifest_constants.h 68 extern const char kKey[];
  /external/chromium_org/content/renderer/
v8_value_converter_impl_unittest.cc 648 const char kKey[] = "key";
655 leaf->Set(v8::String::New(kKey), new_object);
670 ASSERT_TRUE(current_as_object->Get(kKey, &current)) << i;

Completed in 484 milliseconds