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

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

Issue 2166513002: Create --disable-extensions-except switch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Patch 2 Code Review Created 4 years, 5 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_system_impl.h
diff --git a/chrome/browser/extensions/extension_system_impl.h b/chrome/browser/extensions/extension_system_impl.h
index 5cd96a310ff1c93fcefe1abbea79f166005cdf8e..16258ae5f3d04cdc297a390bff509fcddeeed79c 100644
--- a/chrome/browser/extensions/extension_system_impl.h
+++ b/chrome/browser/extensions/extension_system_impl.h
@@ -7,6 +7,7 @@
#include <string>
+#include "base/command_line.h"
#include "base/macros.h"
#include "build/build_config.h"
#include "extensions/browser/extension_system.h"
@@ -138,6 +139,9 @@ class ExtensionSystemImpl : public ExtensionSystem {
#endif
OneShotEvent ready_;
+ void LoadExtensionsFromCommandLineFlag(
Devlin 2016/07/27 17:01:00 Two notes here: If we were to add this method, we
catmullings 2016/08/04 22:59:31 Moved this definition to extension_service.h.
catmullings 2016/08/04 22:59:31 Done.
+ const base::CommandLine* command_line,
+ const char* switch_name);
};
Profile* profile_;

Powered by Google App Engine
This is Rietveld 408576698