Home
last modified time | relevance | path

Searched refs:change_flags (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/chrome/browser/extensions/
Dextension_special_storage_policy.cc116 int change_flags = 0; in GrantRightsForExtension() local
120 change_flags |= SpecialStoragePolicy::STORAGE_PROTECTED; in GrantRightsForExtension()
128 change_flags |= SpecialStoragePolicy::STORAGE_UNLIMITED; in GrantRightsForExtension()
138 if (change_flags) { in GrantRightsForExtension()
140 change_flags); in GrantRightsForExtension()
156 int change_flags = 0; in RevokeRightsForExtension() local
160 change_flags |= SpecialStoragePolicy::STORAGE_PROTECTED; in RevokeRightsForExtension()
168 change_flags |= SpecialStoragePolicy::STORAGE_UNLIMITED; in RevokeRightsForExtension()
178 if (change_flags) { in RevokeRightsForExtension()
180 change_flags); in RevokeRightsForExtension()
[all …]
Dextension_special_storage_policy_unittest.cc39 int change_flags) OVERRIDE { in OnGranted() argument
42 EXPECT_EQ(expected_change_flags_, change_flags); in OnGranted()
47 int change_flags) OVERRIDE { in OnRevoked() argument
50 EXPECT_EQ(expected_change_flags_, change_flags); in OnRevoked()
60 int change_flags) { in ExpectGrant() argument
63 expected_change_flags_ = change_flags; in ExpectGrant()
67 int change_flags) { in ExpectRevoke() argument
70 expected_change_flags_ = change_flags; in ExpectRevoke()
363 int change_flags[] = { in TEST_F() local
370 ASSERT_EQ(arraysize(apps), arraysize(change_flags)); in TEST_F()
[all …]
Dextension_special_storage_policy.h77 void NotifyGranted(const GURL& origin, int change_flags);
78 void NotifyRevoked(const GURL& origin, int change_flags);
/external/chromium_org/webkit/browser/quota/
Dspecial_storage_policy.cc23 void SpecialStoragePolicy::NotifyGranted(const GURL& origin, int change_flags) { in NotifyGranted() argument
25 FOR_EACH_OBSERVER(Observer, observers_, OnGranted(origin, change_flags)); in NotifyGranted()
28 void SpecialStoragePolicy::NotifyRevoked(const GURL& origin, int change_flags) { in NotifyRevoked() argument
30 FOR_EACH_OBSERVER(Observer, observers_, OnRevoked(origin, change_flags)); in NotifyRevoked()
Dspecial_storage_policy.h35 virtual void OnGranted(const GURL& origin, int change_flags) = 0;
36 virtual void OnRevoked(const GURL& origin, int change_flags) = 0;
77 void NotifyGranted(const GURL& origin, int change_flags);
78 void NotifyRevoked(const GURL& origin, int change_flags);
Dusage_tracker.h172 virtual void OnGranted(const GURL& origin, int change_flags) OVERRIDE;
173 virtual void OnRevoked(const GURL& origin, int change_flags) OVERRIDE;
Dusage_tracker.cc637 int change_flags) { in OnGranted() argument
639 if (change_flags & SpecialStoragePolicy::STORAGE_UNLIMITED) { in OnGranted()
654 int change_flags) { in OnRevoked() argument
656 if (change_flags & SpecialStoragePolicy::STORAGE_UNLIMITED) { in OnRevoked()
/external/chromium_org/content/public/test/
Dmock_special_storage_policy.h76 void NotifyGranted(const GURL& origin, int change_flags) { in NotifyGranted() argument
77 SpecialStoragePolicy::NotifyGranted(origin, change_flags); in NotifyGranted()
80 void NotifyRevoked(const GURL& origin, int change_flags) { in NotifyRevoked() argument
81 SpecialStoragePolicy::NotifyRevoked(origin, change_flags); in NotifyRevoked()
/external/chromium_org/build/mac/
Dmake_more_helpers.sh53 local change_flags="$(dirname "${0}")/change_mach_o_flags.py"
54 "${change_flags}" ${flags} "${helper_feature_exe}"