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

Side by Side 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, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/command_line.h"
10 #include "base/macros.h" 11 #include "base/macros.h"
11 #include "build/build_config.h" 12 #include "build/build_config.h"
12 #include "extensions/browser/extension_system.h" 13 #include "extensions/browser/extension_system.h"
13 #include "extensions/common/one_shot_event.h" 14 #include "extensions/common/one_shot_event.h"
14 15
15 class Profile; 16 class Profile;
16 class ValueStore; 17 class ValueStore;
17 18
18 namespace extensions { 19 namespace extensions {
19 20
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 132
132 std::unique_ptr<UninstallPingSender> uninstall_ping_sender_; 133 std::unique_ptr<UninstallPingSender> uninstall_ping_sender_;
133 134
134 #if defined(OS_CHROMEOS) 135 #if defined(OS_CHROMEOS)
135 std::unique_ptr<chromeos::DeviceLocalAccountManagementPolicyProvider> 136 std::unique_ptr<chromeos::DeviceLocalAccountManagementPolicyProvider>
136 device_local_account_management_policy_provider_; 137 device_local_account_management_policy_provider_;
137 std::unique_ptr<InstallGate> kiosk_app_update_install_gate_; 138 std::unique_ptr<InstallGate> kiosk_app_update_install_gate_;
138 #endif 139 #endif
139 140
140 OneShotEvent ready_; 141 OneShotEvent ready_;
142 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.
143 const base::CommandLine* command_line,
144 const char* switch_name);
141 }; 145 };
142 146
143 Profile* profile_; 147 Profile* profile_;
144 148
145 Shared* shared_; 149 Shared* shared_;
146 150
147 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); 151 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl);
148 }; 152 };
149 153
150 } // namespace extensions 154 } // namespace extensions
151 155
152 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_ 156 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698