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

Side by Side Diff: chrome/browser/extensions/extension_service.h

Issue 1583573002: Remove unused ExtensionService::shared_module_policy_provider_. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove include Created 4 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SERVICE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/gtest_prod_util.h" 15 #include "base/gtest_prod_util.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
18 #include "base/memory/weak_ptr.h" 18 #include "base/memory/weak_ptr.h"
19 #include "base/strings/string16.h" 19 #include "base/strings/string16.h"
20 #include "chrome/browser/extensions/blacklist.h" 20 #include "chrome/browser/extensions/blacklist.h"
21 #include "chrome/browser/extensions/extension_management.h" 21 #include "chrome/browser/extensions/extension_management.h"
22 #include "chrome/browser/extensions/pending_extension_manager.h" 22 #include "chrome/browser/extensions/pending_extension_manager.h"
23 #include "content/public/browser/notification_observer.h" 23 #include "content/public/browser/notification_observer.h"
24 #include "content/public/browser/notification_registrar.h" 24 #include "content/public/browser/notification_registrar.h"
25 #include "extensions/browser/crx_file_info.h" 25 #include "extensions/browser/crx_file_info.h"
26 #include "extensions/browser/external_provider_interface.h" 26 #include "extensions/browser/external_provider_interface.h"
27 #include "extensions/browser/install_flag.h" 27 #include "extensions/browser/install_flag.h"
28 #include "extensions/browser/management_policy.h"
29 #include "extensions/browser/process_manager.h" 28 #include "extensions/browser/process_manager.h"
30 #include "extensions/browser/uninstall_reason.h" 29 #include "extensions/browser/uninstall_reason.h"
31 #include "extensions/common/extension.h" 30 #include "extensions/common/extension.h"
32 #include "extensions/common/extension_set.h" 31 #include "extensions/common/extension_set.h"
33 #include "extensions/common/manifest.h" 32 #include "extensions/common/manifest.h"
34 #include "sync/api/string_ordinal.h" 33 #include "sync/api/string_ordinal.h"
35 34
36 #if !defined(ENABLE_EXTENSIONS) 35 #if !defined(ENABLE_EXTENSIONS)
37 #error "Extensions must be enabled" 36 #error "Extensions must be enabled"
38 #endif 37 #endif
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 714
716 // The manager for extensions that were externally installed that is 715 // The manager for extensions that were externally installed that is
717 // responsible for prompting the user about suspicious extensions. 716 // responsible for prompting the user about suspicious extensions.
718 scoped_ptr<extensions::ExternalInstallManager> external_install_manager_; 717 scoped_ptr<extensions::ExternalInstallManager> external_install_manager_;
719 718
720 // Sequenced task runner for extension related file operations. 719 // Sequenced task runner for extension related file operations.
721 scoped_refptr<base::SequencedTaskRunner> file_task_runner_; 720 scoped_refptr<base::SequencedTaskRunner> file_task_runner_;
722 721
723 scoped_ptr<extensions::ExtensionActionStorageManager> 722 scoped_ptr<extensions::ExtensionActionStorageManager>
724 extension_action_storage_manager_; 723 extension_action_storage_manager_;
725 scoped_ptr<extensions::ManagementPolicy::Provider>
726 shared_module_policy_provider_;
727 724
728 // The SharedModuleService used to check for import dependencies. 725 // The SharedModuleService used to check for import dependencies.
729 scoped_ptr<extensions::SharedModuleService> shared_module_service_; 726 scoped_ptr<extensions::SharedModuleService> shared_module_service_;
730 727
731 base::ObserverList<extensions::UpdateObserver, true> update_observers_; 728 base::ObserverList<extensions::UpdateObserver, true> update_observers_;
732 729
733 // Migrates app data when upgrading a legacy packaged app to a platform app 730 // Migrates app data when upgrading a legacy packaged app to a platform app
734 scoped_ptr<extensions::AppDataMigrator> app_data_migrator_; 731 scoped_ptr<extensions::AppDataMigrator> app_data_migrator_;
735 732
736 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 733 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
(...skipping 15 matching lines...) Expand all
752 GreylistUnknownDontChange); 749 GreylistUnknownDontChange);
753 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 750 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
754 ManagementPolicyProhibitsEnableOnInstalled); 751 ManagementPolicyProhibitsEnableOnInstalled);
755 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 752 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
756 BlockAndUnblockBlacklistedExtension); 753 BlockAndUnblockBlacklistedExtension);
757 754
758 DISALLOW_COPY_AND_ASSIGN(ExtensionService); 755 DISALLOW_COPY_AND_ASSIGN(ExtensionService);
759 }; 756 };
760 757
761 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 758 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698