/external/chromium_org/webkit/browser/fileapi/ |
sandbox_isolated_origin_database_unittest.cc | 22 std::string kOrigin("origin"); 23 SandboxIsolatedOriginDatabase database(kOrigin, dir.path(), 26 EXPECT_TRUE(database.HasOriginPath(kOrigin)); 33 EXPECT_TRUE(database.HasOriginPath(kOrigin)); 34 EXPECT_TRUE(database.GetPathForOrigin(kOrigin, &path1)); 35 EXPECT_TRUE(database.GetPathForOrigin(kOrigin, &path2));
|
sandbox_origin_database_unittest.cc | 253 const std::string kOrigin("piyo.example.org"); 254 EXPECT_FALSE(database->HasOriginPath(kOrigin)); 255 EXPECT_TRUE(database->GetPathForOrigin(kOrigin, &path)); 257 EXPECT_TRUE(database->HasOriginPath(kOrigin)); 282 const std::string kOrigin = "foo.example.com"; 287 EXPECT_FALSE(database->HasOriginPath(kOrigin)); 288 EXPECT_TRUE(database->GetPathForOrigin(kOrigin, &path)); 290 EXPECT_TRUE(database->GetPathForOrigin(kOrigin, &path));
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
remote_to_local_syncer_unittest.cc | 215 const GURL kOrigin("chrome-extension://example"); 217 const std::string app_root = CreateRemoteFolder(sync_root, kOrigin.host()); 219 RegisterApp(kOrigin.host(), app_root); 230 AppendExpectedChange(URL(kOrigin, "folder1"), 233 AppendExpectedChange(URL(kOrigin, "file1"), 236 AppendExpectedChange(URL(kOrigin, "folder1/folder2"), 239 AppendExpectedChange(URL(kOrigin, "folder1/file2"), 250 const GURL kOrigin("chrome-extension://example"); 252 const std::string app_root = CreateRemoteFolder(sync_root, kOrigin.host()); 254 RegisterApp(kOrigin.host(), app_root) [all...] |
local_to_remote_syncer_unittest.cc | 236 const GURL kOrigin("chrome-extension://example"); 238 const std::string app_root = CreateRemoteFolder(sync_root, kOrigin.host()); 240 RegisterApp(kOrigin.host(), app_root); 245 URL(kOrigin, "file1"))); 249 URL(kOrigin, "folder"))); 253 URL(kOrigin, "folder/file2"))); 264 const GURL kOrigin("chrome-extension://example"); 266 const std::string app_root = CreateRemoteFolder(sync_root, kOrigin.host()); 268 RegisterApp(kOrigin.host(), app_root); 274 URL(kOrigin, "folder1/folder2/file"))) [all...] |
conflict_resolver_unittest.cc | 228 const GURL kOrigin("chrome-extension://example"); 230 const std::string app_root = CreateRemoteFolder(sync_root, kOrigin.host()); 232 RegisterApp(kOrigin.host(), app_root); 239 const GURL kOrigin("chrome-extension://example"); 241 const std::string app_root = CreateRemoteFolder(sync_root, kOrigin.host()); 243 RegisterApp(kOrigin.host(), app_root); 265 const GURL kOrigin("chrome-extension://example"); 267 const std::string app_root = CreateRemoteFolder(sync_root, kOrigin.host()); 269 RegisterApp(kOrigin.host(), app_root); 291 const GURL kOrigin("chrome-extension://example") [all...] |
metadata_db_migration_util_unittest.cc | 51 const GURL kOrigin("chrome-extension://example"); 56 kOrigin, kFile, &serialized_url)); 61 EXPECT_EQ(kOrigin, origin);
|
/external/chromium_org/webkit/browser/fileapi/quota/ |
quota_backend_impl_unittest.cc | 20 const char kOrigin[] = "http://example.com"; 146 InitializeForOriginAndType(GURL(kOrigin), type); 151 backend_->ReserveQuota(GURL(kOrigin), type, kDelta1, 158 backend_->ReserveQuota(GURL(kOrigin), type, kDelta2, 168 InitializeForOriginAndType(GURL(kOrigin), type); 173 backend_->ReserveQuota(GURL(kOrigin), type, kDelta, 183 InitializeForOriginAndType(GURL(kOrigin), type); 188 backend_->ReserveQuota(GURL(kOrigin), type, kDelta, 198 InitializeForOriginAndType(GURL(kOrigin), type); 204 backend_->ReleaseReservedQuota(GURL(kOrigin), type, kSize) [all...] |
quota_reservation_manager_unittest.cc | 21 const char kOrigin[] = "http://example.com"; 38 EXPECT_EQ(GURL(kOrigin), origin); 50 EXPECT_EQ(GURL(kOrigin), origin); 58 EXPECT_EQ(GURL(kOrigin), origin); 158 GURL origin(kOrigin); 210 GURL origin(kOrigin); 277 GURL origin(kOrigin);
|
/external/chromium_org/content/browser/fileapi/ |
plugin_private_file_system_backend_unittest.cc | 26 const GURL kOrigin("http://www.example.com"); 77 kOrigin, kType, filesystem_id1, kPlugin1, 87 kOrigin, kType, filesystem_id2, kPlugin1, 94 GetIsolatedFileSystemRootURIString(kOrigin, filesystem_id1, kRootName)); 111 kOrigin, kType, filesystem_id1, kPlugin1, 120 kOrigin, kType, filesystem_id2, kPlugin2, 128 GetIsolatedFileSystemRootURIString(kOrigin, filesystem_id1, kRootName)); 138 GetIsolatedFileSystemRootURIString(kOrigin, filesystem_id2, kRootName));
|
sandbox_file_system_backend_delegate_unittest.cc | 23 const GURL kOrigin("http://foo/"); 25 kOrigin, kFileSystemTypeTemporary, base::FilePath::FromUTF8Unsafe(path));
|
file_system_operation_impl_write_unittest.cc | 40 const GURL kOrigin("http://example.com"); 114 kOrigin, kFileSystemType, path); 266 kOrigin, FileSystemTypeToQuotaStorageType(kFileSystemType), 10);
|
/external/chromium_org/content/browser/dom_storage/ |
dom_storage_context_impl_unittest.cc | 28 : kOrigin(GURL("http://dom_storage/")), 35 const GURL kOrigin; 107 OpenStorageArea(kOrigin)->SetItem(kKey, kValue, &old_value)); 118 EXPECT_EQ(kOrigin, infos[0].origin); 124 EXPECT_EQ(kOrigin, infos[0].origin); 138 OpenStorageArea(kOrigin)->SetItem(kKey, kValue, &old_value)); 146 VerifySingleOriginRemains(kOrigin); 176 DOMStorageArea* area = dom_namespace->OpenStorageArea(kOrigin); 191 DOMStorageArea* cloned_area = cloned_dom_namespace->OpenStorageArea(kOrigin); 211 DOMStorageArea* area = dom_namespace->OpenStorageArea(kOrigin); [all...] |
dom_storage_area_unittest.cc | 27 : kOrigin(GURL("http://dom_storage/")), 34 const GURL kOrigin; 76 new DOMStorageArea(1, std::string(), kOrigin, NULL, NULL)); 83 EXPECT_EQ(kOrigin, area->origin()); 92 EXPECT_EQ(kOrigin, copy->origin()); 130 DOMStorageArea::DatabaseFileNameFromOrigin(kOrigin)); 135 new DOMStorageArea(kOrigin, base::FilePath(), NULL)); 145 new DOMStorageArea(kSessionStorageNamespaceId, std::string(), kOrigin, 162 kOrigin, 209 kOrigin, [all...] |
/external/chromium_org/webkit/browser/appcache/ |
appcache_storage_unittest.cc | 117 const GURL kOrigin("http://origin/"); 125 service.storage()->UpdateUsageMapAndNotify(kOrigin, 0); 128 service.storage()->UpdateUsageMapAndNotify(kOrigin, 10); 131 EXPECT_EQ(kOrigin, mock_proxy->last_notified_origin()); 134 service.storage()->UpdateUsageMapAndNotify(kOrigin, 100); 137 EXPECT_EQ(kOrigin, mock_proxy->last_notified_origin()); 140 service.storage()->UpdateUsageMapAndNotify(kOrigin, 0); 143 EXPECT_EQ(kOrigin, mock_proxy->last_notified_origin()); 156 service.storage()->usage_map_[kOrigin] = 5000; 160 EXPECT_EQ(kOrigin, mock_proxy->last_notified_origin()) [all...] |
appcache_service_unittest.cc | 87 : kOrigin("http://hello/"), 88 kManifestUrl(kOrigin.Resolve("manifest")), 171 const GURL kOrigin; 185 service_->DeleteAppCachesForOrigin(kOrigin, deletion_callback_); 194 service_->DeleteAppCachesForOrigin(kOrigin, deletion_callback_); 207 mock_manifest_1.manifest_url = kOrigin.Resolve("manifest1"); 208 mock_manifest_2.manifest_url = kOrigin.Resolve("manifest2"); 209 mock_manifest_3.manifest_url = kOrigin.Resolve("manifest3"); 214 info->infos_by_origin[kOrigin] = info_vector; 216 service_->DeleteAppCachesForOrigin(kOrigin, deletion_callback_) [all...] |
appcache_database_unittest.cc | 284 const GURL kOrigin(kManifestUrl.GetOrigin()); 297 EXPECT_TRUE(db.FindGroupsForOrigin(kOrigin, &records)); 303 record.origin = kOrigin; 316 EXPECT_EQ(kOrigin, record.origin); 326 EXPECT_EQ(kOrigin, record.origin); 333 record.manifest_url = kOrigin; 334 record.origin = kOrigin; 340 EXPECT_TRUE(db.FindGroupForManifestUrl(kOrigin, &record)); 342 EXPECT_EQ(kOrigin, record.manifest_url); 343 EXPECT_EQ(kOrigin, record.origin) [all...] |
/external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/ |
drive_file_sync_service_sync_unittest.cc | 379 const GURL kOrigin("chrome-extension://example"); 381 RegisterOrigin(kOrigin); 382 AddOrUpdateLocalFile(kOrigin, base::FilePath(FPL("file")), "abcde"); 389 const GURL kOrigin("chrome-extension://example"); 400 sync_root_folder_id, kOrigin.host(), &origin_root_folder_id)); 402 RegisterOrigin(kOrigin); 414 const GURL kOrigin("chrome-extension://example"); 417 RegisterOrigin(kOrigin); 418 AddOrUpdateLocalFile(kOrigin, kPath, "abcde"); 421 VerifyConsistencyForOrigin(kOrigin); [all...] |
/external/chromium_org/chrome/browser/sync_file_system/ |
syncable_file_system_util_unittest.cc | 31 const char kOrigin[] = "http://www.example.com/"; 45 const GURL root = GetSyncableFileSystemRootURI(GURL(kOrigin)); 56 const FileSystemURL url = CreateSyncableFileSystemURL(GURL(kOrigin), path); 72 GURL(kOrigin), base::FilePath(kPath));
|
sync_file_system_service_unittest.cc | 47 const char kOrigin[] = "http://example.com"; 126 GURL(kOrigin), 167 RegisterOrigin(GURL(kOrigin), _)).Times(1); 177 GURL(kOrigin), 209 RegisterOrigin(GURL(kOrigin), _)) 222 GURL(kOrigin),
|
/external/chromium_org/content/renderer/dom_storage/ |
dom_storage_cached_area_unittest.cc | 122 kOrigin("http://dom_storage/"), 129 const GURL kOrigin; 168 new DOMStorageCachedArea(kNamespaceId, kOrigin, mock_proxy_.get()); 170 EXPECT_EQ(kOrigin, cached_area->origin()); 178 EXPECT_EQ(kOrigin, cached_area->origin()); 193 new DOMStorageCachedArea(kNamespaceId, kOrigin, mock_proxy_.get()); 228 new DOMStorageCachedArea(kNamespaceId, kOrigin, mock_proxy_.get()); 283 new DOMStorageCachedArea(kNamespaceId, kOrigin, mock_proxy_.get()); 306 new DOMStorageCachedArea(kNamespaceId, kOrigin, mock_proxy_.get()); 328 new DOMStorageCachedArea(kNamespaceId, kOrigin, mock_proxy_.get()) [all...] |
/external/chromium_org/webkit/browser/database/ |
database_tracker_unittest.cc | 457 const GURL kOrigin(kOrigin1Url); 459 webkit_database::GetIdentifierFromOrigin(kOrigin); 483 EXPECT_TRUE(test_quota_proxy->WasAccessNotified(kOrigin)); 490 EXPECT_TRUE(test_quota_proxy->WasModificationNotified(kOrigin, 10)); 495 EXPECT_TRUE(test_quota_proxy->WasModificationNotified(kOrigin, 90)); 499 EXPECT_TRUE(test_quota_proxy->WasAccessNotified(kOrigin)); 502 EXPECT_TRUE(test_quota_proxy->WasModificationNotified(kOrigin, -100)); 511 EXPECT_TRUE(test_quota_proxy->WasAccessNotified(kOrigin)); 518 EXPECT_TRUE(test_quota_proxy->WasModificationNotified(kOrigin, 100)); 524 EXPECT_FALSE(test_quota_proxy->WasModificationNotified(kOrigin, -100)) [all...] |
/external/chromium_org/content/browser/renderer_host/pepper/ |
quota_reservation_unittest.cc | 23 const char kOrigin[] = "http://example.com"; 92 GURL(kOrigin), kType, MakeFilePath(file_name)); 154 GURL origin(kOrigin); 195 GURL origin(kOrigin);
|
/external/chromium/net/http/ |
http_request_headers.h | 71 static const char kOrigin[];
|
/frameworks/compile/mclinker/tools/mcld/include/alone/Support/ |
LinkerConfig.h | 64 kOrigin = 1 << 14, ///< -z origin
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
media_file_validator_browsertest.cc | 30 const char kOrigin[] = "http://foo"; 120 GURL(kOrigin), fileapi::kFileSystemTypeTest, 138 GURL(kOrigin), dest_fsid, "dest_fs/");
|