Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4126)

Unified Diff: chrome/browser/extensions/extension_prefs.h

Issue 25366003: Moved some functions off ExtensionService into a new file extension_util. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Windows compile Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698