| OLD | NEW |
| 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_EXTERNAL_POLICY_LOADER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_POLICY_LOADER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_POLICY_LOADER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_POLICY_LOADER_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/extensions/external_loader.h" | 8 #include "chrome/browser/extensions/external_loader.h" |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "chrome/browser/api/prefs/pref_change_registrar.h" | 11 #include "base/prefs/public/pref_change_registrar.h" |
| 12 #include "content/public/browser/notification_observer.h" | 12 #include "content/public/browser/notification_observer.h" |
| 13 #include "content/public/browser/notification_registrar.h" | 13 #include "content/public/browser/notification_registrar.h" |
| 14 | 14 |
| 15 class Profile; | 15 class Profile; |
| 16 | 16 |
| 17 namespace extensions { | 17 namespace extensions { |
| 18 | 18 |
| 19 // A specialization of the ExternalProvider that uses | 19 // A specialization of the ExternalProvider that uses |
| 20 // prefs::kExtensionInstallForceList to look up which external extensions are | 20 // prefs::kExtensionInstallForceList to look up which external extensions are |
| 21 // registered. | 21 // registered. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 42 content::NotificationRegistrar notification_registrar_; | 42 content::NotificationRegistrar notification_registrar_; |
| 43 | 43 |
| 44 Profile* profile_; | 44 Profile* profile_; |
| 45 | 45 |
| 46 DISALLOW_COPY_AND_ASSIGN(ExternalPolicyLoader); | 46 DISALLOW_COPY_AND_ASSIGN(ExternalPolicyLoader); |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } // namespace extensions | 49 } // namespace extensions |
| 50 | 50 |
| 51 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_POLICY_LOADER_H_ | 51 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_POLICY_LOADER_H_ |
| OLD | NEW |