Chromium Code Reviews| Index: chrome/browser/extensions/extension_prefs.h |
| diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h |
| index 22a00b154a4d0c42121f7192739ff812d15ec2ea..b52047b21ec59501e4c920732881d90275396b1f 100644 |
| --- a/chrome/browser/extensions/extension_prefs.h |
| +++ b/chrome/browser/extensions/extension_prefs.h |
| @@ -371,12 +371,12 @@ class ExtensionPrefs : public ExtensionScopedPrefs, |
| // |
| // IMPORTANT: you probably want to use ExtensionService::IsIncognitoEnabled |
|
Yoyo Zhou
2013/10/15 21:25:49
Comment needs to be updated.
benwells
2013/10/17 06:56:55
Done.
|
| // instead of this method. |
| - bool IsIncognitoEnabled(const std::string& extension_id); |
| + bool IsIncognitoEnabled(const std::string& extension_id) const; |
| void SetIsIncognitoEnabled(const std::string& extension_id, bool enabled); |
| // Returns true if the user has chosen to allow this extension to inject |
| // scripts into pages with file URLs. |
|
Yoyo Zhou
2013/10/15 21:25:49
Probably should have a similar comment.
benwells
2013/10/17 06:56:55
Done.
|
| - bool AllowFileAccess(const std::string& extension_id); |
| + bool AllowFileAccess(const std::string& extension_id) const; |
| void SetAllowFileAccess(const std::string& extension_id, bool allow); |
| bool HasAllowFileAccessSetting(const std::string& extension_id) const; |