Searched refs:expected_prefix (Results 1 – 4 of 4) sorted by relevance
51 const std::string expected_prefix = "data:"; in ConvertRequestValueToFileInfo() local53 params->metadata.thumbnail.get()->substr(0, expected_prefix.size()); in ConvertRequestValueToFileInfo()59 if (expected_prefix != thumbnail_prefix) in ConvertRequestValueToFileInfo()
87 std::string expected_prefix("\0\0\0\x2\xCE", 5); in TEST_F() local90 EXPECT_EQ(expected_prefix, encoded.substr(0, 5)); in TEST_F()
125 const leveldb::Slice expected_prefix(kIdEntryKeyPrefix, in IsIdEntryKey() local127 if (key.size() < 2 + expected_prefix.size()) in IsIdEntryKey()129 const leveldb::Slice key_substring(key.data() + 1, expected_prefix.size()); in IsIdEntryKey()131 key_substring.compare(expected_prefix) == 0 && in IsIdEntryKey()132 key[expected_prefix.size() + 1] == kDBKeyDelimeter; in IsIdEntryKey()
102 const std::string& expected_prefix) { in ValidateUpdateFetcherRequest() argument110 EXPECT_EQ(GURL(expected_prefix + "/downloads?client=unittest&appver=1.0" in ValidateUpdateFetcherRequest()