| Index: chrome/browser/android/preferences/pref_service_bridge.h
|
| diff --git a/chrome/browser/android/preferences/pref_service_bridge.h b/chrome/browser/android/preferences/pref_service_bridge.h
|
| index 656a0fece0d6ceaf990dffe96279d0912284badf..3ce46d84a6da1e28ba70d7b683b6a33cc8578ff5 100644
|
| --- a/chrome/browser/android/preferences/pref_service_bridge.h
|
| +++ b/chrome/browser/android/preferences/pref_service_bridge.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <jni.h>
|
| #include <string>
|
| +#include <vector>
|
|
|
| #include "components/content_settings/core/common/content_settings.h"
|
|
|
| @@ -22,10 +23,10 @@ class PrefServiceBridge {
|
| const std::string& locale,
|
| std::string* accept_languages);
|
|
|
| - // Return the corresponding Android permission associated with the
|
| - // ContentSettingsType specified (or an empty string if no permission exists).
|
| - static std::string GetAndroidPermissionForContentSetting(
|
| - ContentSettingsType content_type);
|
| + // Populate the list of corresponding Android permissions associated with the
|
| + // ContentSettingsType specified.
|
| + static void GetAndroidPermissionsForContentSetting(
|
| + ContentSettingsType content_type, std::vector<std::string>* out);
|
| };
|
|
|
| #endif // CHROME_BROWSER_ANDROID_PREFERENCES_PREF_SERVICE_BRIDGE_H_
|
|
|