HomeSort by relevance Sort by last modified time
    Searched refs:origins (Results 1 - 25 of 103) sorted by null

1 2 3 4 5

  /external/chromium_org/chrome/browser/sync_file_system/local/
local_origin_change_observer.h 20 virtual void OnChangesAvailableInOrigins(const std::set<GURL>& origins) = 0;
  /external/chromium_org/content/browser/appcache/
chrome_appcache_service_unittest.cc 140 std::set<GURL> origins; local
141 appcache_helper.GetOriginsWithCaches(appcache_service, &origins);
142 ASSERT_EQ(3UL, origins.size());
143 ASSERT_TRUE(origins.find(kProtectedManifestURL.GetOrigin()) != origins.end());
144 ASSERT_TRUE(origins.find(kNormalManifestURL.GetOrigin()) != origins.end());
145 ASSERT_TRUE(origins.find(kSessionOnlyManifestURL.GetOrigin()) !=
146 origins.end());
173 std::set<GURL> origins; local
213 std::set<GURL> origins; local
    [all...]
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
StandaloneAwQuotaManagerBridgeTest.java 18 AwQuotaManagerBridge.Origins origins = AwQuotaManagerBridgeTestUtil.getOrigins(this); local
19 assertEquals(origins.mOrigins.length, 0);
AwQuotaManagerBridgeTest.java 238 AwQuotaManagerBridge.Origins origins = AwQuotaManagerBridgeTestUtil.getOrigins(this); local
239 assertEquals(origins.mOrigins.length, origins.mUsages.length);
240 assertEquals(origins.mOrigins.length, origins.mQuotas.length);
242 for (int i = 0; i < origins.mOrigins.length; ++i) {
243 assertEquals(origins.mUsages[i], getUsageForOrigin(origins.mOrigins[i]));
244 assertEquals(origins.mQuotas[i], getQuotaForOrigin(origins.mOrigins[i]))
    [all...]
  /frameworks/webview/chromium/java/com/android/webview/chromium/
WebStorageAdapter.java 39 mQuotaManagerBridge.getOrigins(new ValueCallback<AwQuotaManagerBridge.Origins>() {
41 public void onReceiveValue(AwQuotaManagerBridge.Origins origins) {
43 for (int i = 0; i < origins.mOrigins.length; ++i) {
44 Origin origin = new Origin(origins.mOrigins[i], origins.mQuotas[i],
45 origins.mUsages[i]) {
49 originsMap.put(origins.mOrigins[i], origin);
  /external/chromium_org/chrome/browser/extensions/api/messaging/
native_messaging_test_util.cc 39 scoped_ptr<base::ListValue> origins(new base::ListValue());
40 origins->AppendString(base::StringPrintf("chrome-extension://%s/",
42 manifest->Set("allowed_origins", origins.release());
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/
AwQuotaManagerBridgeTestUtil.java 31 private AwQuotaManagerBridge.Origins mOrigins;
33 public void notifyCalled(AwQuotaManagerBridge.Origins origins) {
34 mOrigins = origins;
38 public AwQuotaManagerBridge.Origins getOrigins() {
44 public static AwQuotaManagerBridge.Origins getOrigins(AwTestBase awTestBase)
54 new ValueCallback<AwQuotaManagerBridge.Origins>() {
56 public void onReceiveValue(AwQuotaManagerBridge.Origins origins) {
57 callbackHelper.notifyCalled(origins);
    [all...]
  /external/chromium_org/webkit/browser/quota/
quota_database_unittest.cc 158 // Test that unlimited origins are exluded from eviction, but
159 // protected origins are not excluded.
206 std::set<GURL> origins; local
208 kStorageTypeTemporary, &origins, base::Time()));
209 EXPECT_TRUE(origins.empty());
215 // Report last mod time for the test origins.
224 kStorageTypeTemporary, &origins, base::Time()));
225 EXPECT_EQ(3U, origins.size());
226 EXPECT_EQ(1U, origins.count(kOrigin1));
227 EXPECT_EQ(1U, origins.count(kOrigin2))
    [all...]
mock_quota_manager_unittest.cc 64 void GotModifiedOrigins(const std::set<GURL>& origins, StorageType type) {
65 origins_ = origins;
90 const std::set<GURL>& origins() const { function in class:quota::MockQuotaManagerTest
192 EXPECT_TRUE(origins().empty());
200 EXPECT_EQ(1UL, origins().size());
201 EXPECT_EQ(1UL, origins().count(kOrigin1));
202 EXPECT_EQ(0UL, origins().count(kOrigin2));
210 EXPECT_EQ(2UL, origins().size());
211 EXPECT_EQ(1UL, origins().count(kOrigin1));
212 EXPECT_EQ(1UL, origins().count(kOrigin2))
    [all...]
  /external/chromium_org/webkit/browser/fileapi/
sandbox_prioritized_origin_database_unittest.cc 28 // Add two origins.
40 std::vector<SandboxOriginDatabaseInterface::OriginRecord> origins; local
41 database.ListAllOrigins(&origins);
42 ASSERT_EQ(2U, origins.size());
43 EXPECT_TRUE(origins[0].origin == kOrigin1 ||
44 origins[1].origin == kOrigin1);
45 EXPECT_TRUE(origins[0].origin == kOrigin2 ||
46 origins[1].origin == kOrigin2);
47 EXPECT_NE(origins[0].path, origins[1].path)
    [all...]
sandbox_origin_database_unittest.cc 29 FILE_PATH_LITERAL("Origins");
49 // Empty strings aren't valid origins.
152 std::vector<SandboxOriginDatabase::OriginRecord> origins; local
155 EXPECT_TRUE(database.ListAllOrigins(&origins));
156 EXPECT_TRUE(origins.empty());
157 origins.clear();
168 EXPECT_TRUE(database.ListAllOrigins(&origins));
169 EXPECT_EQ(origins.size(), 1UL);
170 EXPECT_EQ(origins[0].origin, origin0);
171 EXPECT_EQ(origins[0].path, path0)
    [all...]
sandbox_origin_database_interface.h 43 // Lists all origins in this database.
44 virtual bool ListAllOrigins(std::vector<OriginRecord>* origins) = 0;
file_system_quota_util.h 48 std::set<GURL>* origins) = 0;
52 std::set<GURL>* origins) = 0;
sandbox_isolated_origin_database.cc 50 std::vector<OriginRecord>* origins) {
51 origins->push_back(OriginRecord(origin_, origin_directory_));
  /external/chromium_org/content/browser/indexed_db/
indexed_db_quota_client_unittest.cc 156 void OnGetOriginsComplete(const std::set<GURL>& origins) {
157 origins_ = origins;
200 std::set<GURL> origins = GetOriginsForHost(&client, kTemp, kOriginA.host()); local
201 EXPECT_TRUE(origins.empty());
204 origins = GetOriginsForHost(&client, kTemp, kOriginA.host());
205 EXPECT_EQ(origins.size(), 1ul);
206 EXPECT_TRUE(origins.find(kOriginA) != origins.end());
209 origins = GetOriginsForHost(&client, kTemp, kOriginA.host());
210 EXPECT_EQ(origins.size(), 2ul)
225 std::set<GURL> origins = GetOriginsForType(&client, kTemp); local
    [all...]
indexed_db_context_impl.cc 55 std::vector<GURL>* origins,
69 origins->push_back(webkit_database::GetOriginFromIdentifier(origin_id));
82 std::vector<GURL> origins; local
84 GetAllOriginsAndPaths(indexeddb_path, &origins, &file_paths);
85 DCHECK_EQ(origins.size(), file_paths.size());
88 for (std::vector<GURL>::const_iterator iter = origins.begin();
89 iter != origins.end();
121 // Prime our cache of origins with existing databases so we can
131 std::vector<GURL> origins; local
136 origins.push_back(*iter)
143 std::vector<GURL> origins = GetAllOrigins(); local
167 std::vector<GURL> origins = GetAllOrigins(); local
563 std::vector<GURL> origins; local
    [all...]
  /external/chromium_org/webkit/browser/database/
database_quota_client_unittest.cc 195 void OnGetOriginsComplete(const std::set<GURL>& origins) {
196 origins_ = origins;
234 std::set<GURL> origins = GetOriginsForHost(&client, kTemp, kOriginA.host()); local
235 EXPECT_TRUE(origins.empty());
238 origins = GetOriginsForHost(&client, kTemp, kOriginA.host());
239 EXPECT_EQ(origins.size(), 1ul);
240 EXPECT_TRUE(origins.find(kOriginA) != origins.end());
243 origins = GetOriginsForHost(&client, kTemp, kOriginA.host());
244 EXPECT_EQ(origins.size(), 2ul)
260 std::set<GURL> origins = GetOriginsForType(&client, kTemp); local
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/permissions/
permissions_api_helpers.cc 62 permissions->origins.reset(new std::vector<std::string>());
65 permissions->origins->push_back(i->GetAsString());
131 URLPatternSet origins; local
132 if (permissions.origins.get()) {
133 for (std::vector<std::string>::iterator it = permissions.origins->begin();
134 it != permissions.origins->end(); ++it) {
147 origins.AddPattern(origin);
152 new PermissionSet(apis, manifest_permissions, origins, URLPatternSet()));
  /external/chromium_org/webkit/browser/appcache/
appcache_quota_client_unittest.cc 145 void OnGetOriginsComplete(const std::set<GURL>& origins) {
147 origins_ = origins;
229 std::set<GURL> origins = GetOriginsForHost(client, kTemp, kOriginA.host()); local
230 EXPECT_TRUE(origins.empty());
236 origins = GetOriginsForHost(client, kTemp, kOriginA.host());
237 EXPECT_EQ(2ul, origins.size());
238 EXPECT_TRUE(origins.find(kOriginA) != origins.end());
239 EXPECT_TRUE(origins.find(kOriginB) != origins.end())
262 std::set<GURL> origins = GetOriginsForType(client, kTemp); local
    [all...]
appcache_test_helper.h 26 std::set<GURL>* origins);
appcache_test_helper.cc 56 std::set<GURL>* origins) {
58 origins_ = origins;
  /packages/apps/Browser/src/com/android/browser/
SystemAllowGeolocationOrigins.java 111 // Remove the origins in the last read value
114 // Add the origins in the new value
122 * @param setting A space-separated list of origins.
123 * @return A mutable set of origins.
126 HashSet<String> origins = new HashSet<String>(); local
130 origins.add(origin);
134 return origins;
153 * Gets the current system setting for default allowed geolocation origins.
155 * @return The default allowed origins. Returns {@code ""} if not set.
164 * Adds geolocation permissions for the given origins
    [all...]
  /external/chromium_org/content/browser/fileapi/
file_system_quota_client_unittest.cc 213 void OnGetOrigins(const std::set<GURL>& origins) {
214 origins_ = origins;
433 std::set<GURL> origins = GetOriginsForType(quota_client.get(), kTemporary); local
434 EXPECT_EQ(2U, origins.size());
435 EXPECT_TRUE(origins.find(GURL(kDummyURL1)) != origins.end());
436 EXPECT_TRUE(origins.find(GURL(kDummyURL2)) != origins.end());
437 EXPECT_TRUE(origins.find(GURL(kDummyURL3)) == origins.end())
456 std::set<GURL> origins = GetOriginsForHost( local
479 std::set<GURL> origins = GetOriginsForType(quota_client.get(), kTemporary); local
    [all...]
  /external/skia/gm/
bigblurs.cpp 53 const SkPoint origins[] = { variable
77 for (int k = 0; k < (int)SK_ARRAY_COUNT(origins); ++k) {
87 canvas->translate(desiredX-origins[k].fX,
88 desiredY-origins[k].fY);
  /external/compiler-rt/lib/msan/
msan_linux.cc 52 Printf("Origins : %p %p\n", kOriginsBeg, kOriginsEnd);
72 void *origins = MmapFixedNoReserve(kOriginsBeg, kOriginsEnd - kOriginsBeg); local
73 if (origins != (void*)kOriginsBeg) return false;

Completed in 362 milliseconds

1 2 3 4 5