| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_COMPONENT_LOADER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/gtest_prod_util.h" |
| 11 #include "base/file_path.h" | 12 #include "base/file_path.h" |
| 12 #include "base/values.h" | 13 #include "base/values.h" |
| 13 #include "chrome/browser/prefs/pref_change_registrar.h" | 14 #include "chrome/browser/prefs/pref_change_registrar.h" |
| 14 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
| 15 #include "testing/gtest/include/gtest/gtest_prod.h" | |
| 16 | 16 |
| 17 class Extension; | 17 class Extension; |
| 18 class ExtensionServiceInterface; | 18 class ExtensionServiceInterface; |
| 19 class PrefService; | 19 class PrefService; |
| 20 | 20 |
| 21 namespace extensions { | 21 namespace extensions { |
| 22 | 22 |
| 23 // For registering, loading, and unloading component extensions. | 23 // For registering, loading, and unloading component extensions. |
| 24 class ComponentLoader : public content::NotificationObserver { | 24 class ComponentLoader : public content::NotificationObserver { |
| 25 public: | 25 public: |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 // List of registered component extensions (see Extension::Location). | 119 // List of registered component extensions (see Extension::Location). |
| 120 typedef std::vector<ComponentExtensionInfo> RegisteredComponentExtensions; | 120 typedef std::vector<ComponentExtensionInfo> RegisteredComponentExtensions; |
| 121 RegisteredComponentExtensions component_extensions_; | 121 RegisteredComponentExtensions component_extensions_; |
| 122 | 122 |
| 123 PrefChangeRegistrar pref_change_registrar_; | 123 PrefChangeRegistrar pref_change_registrar_; |
| 124 }; | 124 }; |
| 125 | 125 |
| 126 } // namespace extensions | 126 } // namespace extensions |
| 127 | 127 |
| 128 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ | 128 #endif // CHROME_BROWSER_EXTENSIONS_COMPONENT_LOADER_H_ |
| OLD | NEW |