Index: chrome/browser/extensions/permissions_updater.h |
diff --git a/chrome/browser/extensions/permissions_updater.h b/chrome/browser/extensions/permissions_updater.h |
index f22cdc668bb779a23dbfc435c42943c0e748a2a0..a60d7d2e449a6229f3d98516a8913063ebf7d02d 100644 |
--- a/chrome/browser/extensions/permissions_updater.h |
+++ b/chrome/browser/extensions/permissions_updater.h |
@@ -27,7 +27,14 @@ class PermissionSet; |
// and notifies interested parties of the changes. |
class PermissionsUpdater { |
public: |
+ enum InitFlag { |
+ INIT_FLAG_NONE = 0, |
+ INIT_FLAG_TRANSIENT = 1 << 0, |
+ }; |
+ |
explicit PermissionsUpdater(content::BrowserContext* browser_context); |
+ explicit PermissionsUpdater(content::BrowserContext* browser_context, |
Devlin
2014/09/11 21:18:53
This doesn't need explicit anymore :)
gpdavis
2014/09/12 00:11:54
Ah, okay, we just need explicit for single paramet
Devlin
2014/09/12 00:26:46
Right. This stack overflow question does a good j
gpdavis
2014/09/12 00:30:57
Yep, I found that with a quick google search :) J
|
+ InitFlag init_flag); |
~PermissionsUpdater(); |
// Adds the set of |permissions| to the |extension|'s active permission set |
@@ -86,6 +93,8 @@ class PermissionsUpdater { |
// The associated BrowserContext. |
content::BrowserContext* browser_context_; |
+ |
+ InitFlag init_flag_; |
Devlin
2014/09/11 21:18:53
Comment.
gpdavis
2014/09/12 00:11:54
Done.
|
}; |
} // namespace extensions |