OLD | NEW |
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/macros.h" | 10 #include "base/macros.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 InfoMap* info_map() override; // shared | 59 InfoMap* info_map() override; // shared |
60 QuotaService* quota_service() override; // shared | 60 QuotaService* quota_service() override; // shared |
61 AppSorting* app_sorting() override; // shared | 61 AppSorting* app_sorting() override; // shared |
62 | 62 |
63 void RegisterExtensionWithRequestContexts( | 63 void RegisterExtensionWithRequestContexts( |
64 const Extension* extension, | 64 const Extension* extension, |
65 const base::Closure& callback) override; | 65 const base::Closure& callback) override; |
66 | 66 |
67 void UnregisterExtensionWithRequestContexts( | 67 void UnregisterExtensionWithRequestContexts( |
68 const std::string& extension_id, | 68 const std::string& extension_id, |
69 const UnloadedExtensionInfo::Reason reason) override; | 69 const UnloadedExtensionReason reason) override; |
70 | 70 |
71 const OneShotEvent& ready() const override; | 71 const OneShotEvent& ready() const override; |
72 ContentVerifier* content_verifier() override; // shared | 72 ContentVerifier* content_verifier() override; // shared |
73 std::unique_ptr<ExtensionSet> GetDependentExtensions( | 73 std::unique_ptr<ExtensionSet> GetDependentExtensions( |
74 const Extension* extension) override; | 74 const Extension* extension) override; |
75 void InstallUpdate(const std::string& extension_id, | 75 void InstallUpdate(const std::string& extension_id, |
76 const base::FilePath& temp_dir) override; | 76 const base::FilePath& temp_dir) override; |
77 | 77 |
78 private: | 78 private: |
79 friend class ExtensionSystemSharedFactory; | 79 friend class ExtensionSystemSharedFactory; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 Profile* profile_; | 159 Profile* profile_; |
160 | 160 |
161 Shared* shared_; | 161 Shared* shared_; |
162 | 162 |
163 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); | 163 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); |
164 }; | 164 }; |
165 | 165 |
166 } // namespace extensions | 166 } // namespace extensions |
167 | 167 |
168 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_ | 168 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_IMPL_H_ |
OLD | NEW |