| Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/website/Website.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/Website.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/Website.java
|
| index fcd442219c826a4211bea9c8e2d9236ad40637fb..158f979c03f37ce8323fd294a8f867c4ef3292ff 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/Website.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/Website.java
|
| @@ -265,6 +265,10 @@ public void setCookieInfo(CookieInfo info) {
|
| }
|
| }
|
|
|
| + public CookieInfo getCookieInfo() {
|
| + return mCookieInfo;
|
| + }
|
| +
|
| /**
|
| * Gets the permission that governs cookie preferences.
|
| */
|
| @@ -292,6 +296,10 @@ public void setGeolocationInfo(GeolocationInfo info) {
|
| }
|
| }
|
|
|
| + public GeolocationInfo getGeolocationInfo() {
|
| + return mGeolocationInfo;
|
| + }
|
| +
|
| /**
|
| * Returns what permission governs geolocation access.
|
| */
|
| @@ -319,6 +327,10 @@ public void setMidiInfo(MidiInfo info) {
|
| }
|
| }
|
|
|
| + public MidiInfo getMidiInfo() {
|
| + return mMidiInfo;
|
| + }
|
| +
|
| /**
|
| * Returns what permission governs MIDI usage access.
|
| */
|
| @@ -342,6 +354,10 @@ public void setPopupExceptionInfo(PopupExceptionInfo info) {
|
| mPopupExceptionInfo = info;
|
| }
|
|
|
| + public PopupExceptionInfo getPopupExceptionInfo() {
|
| + return mPopupExceptionInfo;
|
| + }
|
| +
|
| /**
|
| * Returns what permission governs Popup permission.
|
| */
|
| @@ -370,6 +386,10 @@ public void setProtectedMediaIdentifierInfo(ProtectedMediaIdentifierInfo info) {
|
| }
|
| }
|
|
|
| + public ProtectedMediaIdentifierInfo getProtectedMediaIdentifierInfo() {
|
| + return mProtectedMediaIdentifierInfo;
|
| + }
|
| +
|
| /**
|
| * Returns what permission governs Protected Media Identifier access.
|
| */
|
| @@ -394,6 +414,10 @@ public void setPushNotificationInfo(PushNotificationInfo info) {
|
| mPushNotificationInfo = info;
|
| }
|
|
|
| + public PushNotificationInfo getPushNotificationInfo() {
|
| + return mPushNotificationInfo;
|
| + }
|
| +
|
| /**
|
| * Returns what setting governs push notification access.
|
| */
|
| @@ -421,6 +445,10 @@ public void setVoiceAndVideoCaptureInfo(VoiceAndVideoCaptureInfo info) {
|
| }
|
| }
|
|
|
| + public VoiceAndVideoCaptureInfo getVoiceAndVideoCaptureInfo() {
|
| + return mVoiceAndVideoCaptureInfo;
|
| + }
|
| +
|
| /**
|
| * Returns what setting governs voice capture access.
|
| */
|
| @@ -492,10 +520,18 @@ public void setLocalStorageInfo(LocalStorageInfo info) {
|
| mLocalStorageInfo = info;
|
| }
|
|
|
| + public LocalStorageInfo getLocalStorageInfo() {
|
| + return mLocalStorageInfo;
|
| + }
|
| +
|
| public void addStorageInfo(StorageInfo info) {
|
| mStorageInfo.add(info);
|
| }
|
|
|
| + public List<StorageInfo> getStorageInfo() {
|
| + return new ArrayList<StorageInfo>(mStorageInfo);
|
| + }
|
| +
|
| public void clearAllStoredData(final StoredDataClearedCallback callback) {
|
| if (mLocalStorageInfo != null) {
|
| mLocalStorageInfo.clear();
|
|
|