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

12

/external/chromium_org/mojo/shell/
H A Dswitches.cc28 const char kOrigin[] = "origin"; member in namespace:switches
H A Dswitches.h16 extern const char kOrigin[];
/external/chromium_org/content/browser/fileapi/
H A Dsandbox_isolated_origin_database_unittest.cc24 std::string kOrigin("origin");
25 SandboxIsolatedOriginDatabase database(kOrigin, dir.path(),
28 EXPECT_TRUE(database.HasOriginPath(kOrigin));
35 EXPECT_TRUE(database.HasOriginPath(kOrigin));
36 EXPECT_TRUE(database.GetPathForOrigin(kOrigin, &path1));
37 EXPECT_TRUE(database.GetPathForOrigin(kOrigin, &path2));
H A Dplugin_private_file_system_backend_unittest.cc31 const GURL kOrigin("http://www.example.com");
82 kOrigin,
95 kOrigin,
105 kOrigin, filesystem_id1, kRootName));
122 kOrigin,
134 kOrigin,
145 kOrigin, filesystem_id1, kRootName));
155 kOrigin, filesystem_id2, kRootName));
H A Dsandbox_file_system_backend_delegate_unittest.cc25 const GURL kOrigin("http://foo/");
27 kOrigin,
H A Dsandbox_origin_database_unittest.cc250 const std::string kOrigin("piyo.example.org");
251 EXPECT_FALSE(database->HasOriginPath(kOrigin));
252 EXPECT_TRUE(database->GetPathForOrigin(kOrigin, &path));
254 EXPECT_TRUE(database->HasOriginPath(kOrigin));
279 const std::string kOrigin = "foo.example.com"; local
284 EXPECT_FALSE(database->HasOriginPath(kOrigin));
285 EXPECT_TRUE(database->GetPathForOrigin(kOrigin, &path));
287 EXPECT_TRUE(database->GetPathForOrigin(kOrigin, &path));
H A Dfile_system_operation_impl_write_unittest.cc43 const GURL kOrigin("http://example.com");
118 kOrigin, kFileSystemType, path);
270 kOrigin, FileSystemTypeToQuotaStorageType(kFileSystemType), 10);
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Dremote_to_local_syncer_unittest.cc255 const GURL kOrigin("chrome-extension://example");
257 const std::string app_root = CreateRemoteFolder(sync_root, kOrigin.host());
259 RegisterApp(kOrigin.host(), app_root);
270 AppendExpectedChange(URL(kOrigin, "folder1"),
273 AppendExpectedChange(URL(kOrigin, "file1"),
276 AppendExpectedChange(URL(kOrigin, "folder1/folder2"),
279 AppendExpectedChange(URL(kOrigin, "folder1/file2"),
289 const GURL kOrigin("chrome-extension://example");
291 const std::string app_root = CreateRemoteFolder(sync_root, kOrigin.host());
293 RegisterApp(kOrigin
[all...]
H A Dlocal_to_remote_syncer_unittest.cc269 const GURL kOrigin("chrome-extension://example");
271 const std::string app_root = CreateRemoteFolder(sync_root, kOrigin.host());
273 RegisterApp(kOrigin.host(), app_root);
278 URL(kOrigin, "file1")));
282 URL(kOrigin, "folder")));
286 URL(kOrigin, "folder/file2")));
300 const GURL kOrigin("chrome-extension://example");
302 const std::string app_root = CreateRemoteFolder(sync_root, kOrigin.host());
304 RegisterApp(kOrigin.host(), app_root);
310 URL(kOrigin, "folder
[all...]
H A Dconflict_resolver_unittest.cc286 const GURL kOrigin("chrome-extension://example");
288 const std::string app_root = CreateRemoteFolder(sync_root, kOrigin.host());
290 RegisterApp(kOrigin.host(), app_root);
297 const GURL kOrigin("chrome-extension://example");
299 const std::string app_root = CreateRemoteFolder(sync_root, kOrigin.host());
301 RegisterApp(kOrigin.host(), app_root);
323 const GURL kOrigin("chrome-extension://example");
325 const std::string app_root = CreateRemoteFolder(sync_root, kOrigin.host());
327 RegisterApp(kOrigin.host(), app_root);
349 const GURL kOrigin("chrom
[all...]
/external/chromium_org/content/browser/quota/
H A Dquota_backend_impl_unittest.cc27 const char kOrigin[] = "http://example.com"; member in namespace:content::__anon7283
160 InitializeForOriginAndType(GURL(kOrigin), type);
167 backend_->ReserveQuota(GURL(kOrigin), type, kDelta1,
175 backend_->ReserveQuota(GURL(kOrigin), type, kDelta2,
186 InitializeForOriginAndType(GURL(kOrigin), type);
193 backend_->ReserveQuota(GURL(kOrigin), type, kDelta,
204 InitializeForOriginAndType(GURL(kOrigin), type);
211 backend_->ReserveQuota(GURL(kOrigin), type, kDelta,
222 InitializeForOriginAndType(GURL(kOrigin), type);
228 backend_->ReleaseReservedQuota(GURL(kOrigin), typ
[all...]
H A Dquota_reservation_manager_unittest.cc27 const char kOrigin[] = "http://example.com"; member in namespace:content::__anon7286
56 EXPECT_EQ(GURL(kOrigin), origin);
68 EXPECT_EQ(GURL(kOrigin), origin);
76 EXPECT_EQ(GURL(kOrigin), origin);
221 reservation_manager()->CreateReservation(GURL(kOrigin), kType);
262 reservation_manager()->CreateReservation(GURL(kOrigin), kType);
296 reservation_manager()->CreateReservation(GURL(kOrigin), kType);
301 reservation_manager()->CreateReservation(GURL(kOrigin), kType);
342 reservation_manager()->CreateReservation(GURL(kOrigin), kType);
346 reservation_manager()->CreateReservation(GURL(kOrigin), kTyp
[all...]
/external/chromium_org/content/browser/dom_storage/
H A Ddom_storage_context_impl_unittest.cc30 : kOrigin(GURL("http://dom_storage/")),
37 const GURL kOrigin; member in class:content::DOMStorageContextImplTest
108 OpenStorageArea(kOrigin)->SetItem(kKey, kValue, &old_value));
119 EXPECT_EQ(kOrigin, infos[0].origin);
125 EXPECT_EQ(kOrigin, infos[0].origin);
139 OpenStorageArea(kOrigin)->SetItem(kKey, kValue, &old_value));
147 VerifySingleOriginRemains(kOrigin);
177 DOMStorageArea* area = dom_namespace->OpenStorageArea(kOrigin);
192 DOMStorageArea* cloned_area = cloned_dom_namespace->OpenStorageArea(kOrigin);
212 DOMStorageArea* area = dom_namespace->OpenStorageArea(kOrigin);
[all...]
H A Ddom_storage_area_unittest.cc28 : kOrigin(GURL("http://dom_storage/")),
35 const GURL kOrigin; member in class:content::DOMStorageAreaTest
77 new DOMStorageArea(1, std::string(), kOrigin, NULL, NULL));
84 EXPECT_EQ(kOrigin, area->origin());
93 EXPECT_EQ(kOrigin, copy->origin());
131 DOMStorageArea::DatabaseFileNameFromOrigin(kOrigin));
136 new DOMStorageArea(kOrigin, base::FilePath(), NULL));
146 new DOMStorageArea(kSessionStorageNamespaceId, std::string(), kOrigin,
163 kOrigin,
210 kOrigin,
[all...]
/external/chromium_org/content/browser/appcache/
H A Dappcache_storage_unittest.cc117 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_prox
[all...]
H A Dappcache_service_unittest.cc86 : kOrigin("http://hello/"),
87 kManifestUrl(kOrigin.Resolve("manifest")),
170 const GURL kOrigin; member in class:content::AppCacheServiceImplTest
184 service_->DeleteAppCachesForOrigin(kOrigin, deletion_callback_);
193 service_->DeleteAppCachesForOrigin(kOrigin, deletion_callback_);
206 mock_manifest_1.manifest_url = kOrigin.Resolve("manifest1");
207 mock_manifest_2.manifest_url = kOrigin.Resolve("manifest2");
208 mock_manifest_3.manifest_url = kOrigin.Resolve("manifest3");
213 info->infos_by_origin[kOrigin] = info_vector;
215 service_->DeleteAppCachesForOrigin(kOrigin, deletion_callback
[all...]
H A Dappcache_database_unittest.cc317 const GURL kOrigin(kManifestUrl.GetOrigin());
330 EXPECT_TRUE(db.FindGroupsForOrigin(kOrigin, &records));
336 record.origin = kOrigin;
349 EXPECT_EQ(kOrigin, record.origin);
359 EXPECT_EQ(kOrigin, record.origin);
366 record.manifest_url = kOrigin;
367 record.origin = kOrigin;
373 EXPECT_TRUE(db.FindGroupForManifestUrl(kOrigin, &record));
375 EXPECT_EQ(kOrigin, record.manifest_url);
376 EXPECT_EQ(kOrigin, recor
[all...]
/external/chromium_org/chrome/browser/sync_file_system/
H A Dsyncable_file_system_util_unittest.cc30 const char kOrigin[] = "http://www.example.com/"; member in namespace:sync_file_system::__anon4897
44 const GURL root = GetSyncableFileSystemRootURI(GURL(kOrigin));
55 const FileSystemURL url = CreateSyncableFileSystemURL(GURL(kOrigin), path);
71 GURL(kOrigin), base::FilePath(kPath));
H A Dsync_file_system_service_unittest.cc51 const char kOrigin[] = "http://example.com"; member in namespace:sync_file_system::__anon4893
136 GURL(kOrigin),
179 RegisterOrigin(GURL(kOrigin), _)).Times(1);
189 GURL(kOrigin),
221 RegisterOrigin(GURL(kOrigin), _))
234 GURL(kOrigin),
/external/chromium_org/mojo/shell/desktop/
H A Dmojo_main.cc65 if (command_line.HasSwitch(switches::kOrigin)) {
67 GURL(command_line.GetSwitchValueASCII(switches::kOrigin)));
/external/chromium_org/content/renderer/dom_storage/
H A Ddom_storage_cached_area_unittest.cc122 kOrigin("http://dom_storage/"),
129 const GURL kOrigin; member in class:content::DOMStorageCachedAreaTest
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
[all...]
/external/chromium_org/content/browser/
H A Ddatabase_tracker_unittest.cc454 const GURL kOrigin(kOrigin1Url);
455 const std::string kOriginId = storage::GetIdentifierFromOrigin(kOrigin);
479 EXPECT_TRUE(test_quota_proxy->WasAccessNotified(kOrigin));
486 EXPECT_TRUE(test_quota_proxy->WasModificationNotified(kOrigin, 10));
491 EXPECT_TRUE(test_quota_proxy->WasModificationNotified(kOrigin, 90));
495 EXPECT_TRUE(test_quota_proxy->WasAccessNotified(kOrigin));
498 EXPECT_TRUE(test_quota_proxy->WasModificationNotified(kOrigin, -100));
507 EXPECT_TRUE(test_quota_proxy->WasAccessNotified(kOrigin));
514 EXPECT_TRUE(test_quota_proxy->WasModificationNotified(kOrigin, 100));
520 EXPECT_FALSE(test_quota_proxy->WasModificationNotified(kOrigin,
[all...]
/external/chromium_org/chrome/browser/extensions/api/file_handlers/
H A Dmime_util_unittest.cc25 const char kOrigin[] = "chrome-extension://cmalghjoncmjoeakimpfhojhpgemgaje"; member in namespace:extensions::app_file_handler_util::__anon3711
45 GURL(kOrigin), storage::kFileSystemTypeNativeLocal, local_path);
/external/chromium_org/content/browser/renderer_host/pepper/
H A Dquota_reservation_unittest.cc23 const char kOrigin[] = "http://example.com"; member in namespace:content::__anon7362
91 GURL(kOrigin), kType, MakeFilePath(file_name));
150 GURL origin(kOrigin);
191 GURL origin(kOrigin);
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Dmedia_file_validator_browsertest.cc30 const char kOrigin[] = "http://foo"; member in namespace:__anon4238
120 GURL(kOrigin),
142 GURL(kOrigin), dest_fsid, "dest_fs/");

Completed in 354 milliseconds

12