| Index: chrome/browser/chromeos/platform_keys/platform_keys_service.h
|
| diff --git a/chrome/browser/chromeos/platform_keys/platform_keys_service.h b/chrome/browser/chromeos/platform_keys/platform_keys_service.h
|
| index 982971aa9a08292f6865701373cc224a188f68d9..6ae674523c7d775cac3ff85c83f419f95599211c 100644
|
| --- a/chrome/browser/chromeos/platform_keys/platform_keys_service.h
|
| +++ b/chrome/browser/chromeos/platform_keys/platform_keys_service.h
|
| @@ -48,6 +48,12 @@ class PlatformKeysService : public KeyedService {
|
| extensions::StateStore* state_store);
|
| ~PlatformKeysService() override;
|
|
|
| + // Disables the checks whether an extension is allowed to use the signing
|
| + // function of a key or not.
|
| + // TODO(pneubeck): Remove this once a GrantSignPermission(extendion_id,
|
| + // public_key) is implemented.
|
| + void DisablePermissionCheckForTesting();
|
| +
|
| // If the generation was successful, |public_key_spki_der| will contain the
|
| // DER encoding of the SubjectPublicKeyInfo of the generated key and
|
| // |error_message| will be empty. If it failed, |public_key_spki_der| will be
|
| @@ -186,6 +192,7 @@ class PlatformKeysService : public KeyedService {
|
|
|
| content::BrowserContext* browser_context_;
|
| extensions::StateStore* state_store_;
|
| + bool permission_check_disabled_;
|
| base::WeakPtrFactory<PlatformKeysService> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PlatformKeysService);
|
|
|