Home
last modified time | relevance | path

Searched refs:expected_prefix (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/file_system_provider/operations/
Dget_metadata.cc51 const std::string expected_prefix = "data:"; in ConvertRequestValueToFileInfo() local
53 params->metadata.thumbnail.get()->substr(0, expected_prefix.size()); in ConvertRequestValueToFileInfo()
59 if (expected_prefix != thumbnail_prefix) in ConvertRequestValueToFileInfo()
/external/chromium_org/net/cert/
Dct_serialization_unittest.cc87 std::string expected_prefix("\0\0\0\x2\xCE", 5); in TEST_F() local
90 EXPECT_EQ(expected_prefix, encoded.substr(0, 5)); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/drive/
Dresource_metadata_storage.cc125 const leveldb::Slice expected_prefix(kIdEntryKeyPrefix, in IsIdEntryKey() local
127 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()
/external/chromium_org/chrome/browser/safe_browsing/
Dprotocol_manager_unittest.cc102 const std::string& expected_prefix) { in ValidateUpdateFetcherRequest() argument
110 EXPECT_EQ(GURL(expected_prefix + "/downloads?client=unittest&appver=1.0" in ValidateUpdateFetcherRequest()